html {
    scroll-behavior: smooth;
  }

body {
  background: #7388dc;
  font-family: "Londrina Solid", "Didact Gothic", sans-serif;
  font-size:16px;
  color: white;
  }
  
a {
    color: #0783b9;
  }

.tiny {
  font-size: 9px;
  margin: 0 auto;
  text-align: center;
  }
  
/*Everything in the main box goes in this*/
.wrapper {
  width: 750px;
  border: 3px solid black;
  margin: 0 auto;
  top: 0px;
  }
  
.header {
  background: black;
  height: 300px;
  border-bottom: 3px solid black;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(rgb(0,0,0,0.7),rgb(0,0,0,0.7)), url("/img/headergif.gif"); /*Header image -- replace with your own!*/
  background-size:cover;
  }
  
/*This and the header-title class are deprecated now that this style uses a background image for the header div.*/
.header img {
  display: flexbox;
  opacity: 100;
  width: 50%;
  height: 15%;
  overflow: hidden;
  }


 /*If you want to use a smaller title or normal text, add .header p or .header h4 or whatever to the list*/
.header h2, .header h3, .header h1 {
  font-weight: bold;
  color: white;
  text-align: center;
  border: 0px solid white; /*approx centered*/
  opacity: 0.999999;
}

.profilepic {
  float: right;
  height: 300px;
  width: 300px;
}
.contactpic {
  height: 250px;
  width: 250px;
}

.links {
  background: black;
  padding: 10px;
  border-bottom: 3px solid black;
  }
  
.links a {
  color: white;
  padding: 3px;
  margin-left: 5px;
  margin-right:5px;
  text-decoration: none;
  font-size:17px;
  }

.years {
  font-size: 30px;
  position: relative;
  grid: auto-flow;
}

details {
  width: 620px;
}

details > summary {
  padding: 2px 6px;
  width: 6em;
  border: none;
  box-shadow: 3px 3px 4px black;
  cursor: pointer;
}

details > p {
  border-radius: 0 0 10px 10px;
  padding: 2px 6px;
  margin: 0;
  box-shadow: 3px 3px 4px black;
}

details:open > summary {
  background-color: #ccccff;
}

.roster-imgS {
    max-width: 80px;
    margin: 5px;
    border-radius: 30px;
    height: auto;
}
.rosterimgL {
        max-width: 100%;
        height: auto;
    }

.main {
  padding: 15px;
  margin: 0 auto;
  background: #222222;
  }
  .roostersoci {
    position: relative;
}

.scrolltop {
  animation-name: appear;
  animation-timeline: scroll(y);
}
@keyframes appear {
  0%{
    opacity: 0;
    display: none;
    position: fixed;
  }
  3%{
    opacity: 0;
    display: none;
  }
  3.5%{
    opacity: 1;
    display: block;
  }
  100%{
    opacity: 1;
    display: block;
    position: fixed;
  }
}
/*Prevent overflow of large images in main text areas.*/
.main img {
  max-width: 100%;
  height: auto;
  }
  
.footer {
  background: black;
  padding: 20px;
  padding-top:5px;
  padding-bottom:5px;
  border-top: 3px solid black;
  font-size:14px;
  }
  
  
/*For narrow screens*/
@media(max-width: 790px) {
  .wrapper {
    width: 95%;
    }
  .header h1, .header h2, .header h3 { /*Vertical centering gets wonky when the box is variable width*/
    margin: 20% 5% auto;
    }
  details > summary {
  padding: 2px 6px;
  width: 4em;
  border: none;
  box-shadow: 3px 3px 4px black;
  cursor: pointer;
}
  .roostersoci {
    float: left;
}
  .profilepic {
  float: right;
  height: auto;
  width: auto;
}
  .videop {
      position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    }
  .videop iframe{
      position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    }
 .rosterimgL {
        width: 55%;
        height: auto;
    }
  }  
@media only screen and (max-width: 790px) {
    .roster-imgS {
        max-width: 50px;
        margin: 1px;
        border-radius: 10px;
        height: auto;
    }

}


/*Mobile compatibility*/
@media(orientation: portrait) {
  .wrapper {
    width: 95%;}
  .header {
    height:230px;
    }
  .header h1, .header h2, .header h3 {
    margin: 8% 3% auto;
    }
  }