/* styles.css 
   Project: 
   Author: 
   Date: 
	
*/

/*google font*/

@import url('https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&family=Open+Sans&family=Raleway&family=Roboto&display=swap');

/*main css*/

* {
  box-sizing: border-box;
}

img, video {
  width: 100%;
  display: block;
}

audio {
  display: block;
}

/*link style*/

a {
  text-decoration: none;
  color: darkred;
}

a:visited {
  color: gray;
}

a:hover, a:active {
  color: darkgray;
} 

body, html {
  font-family: 'Lato', sans-serif; 
}

h1, h2, h3, .pullquote {
  font-family: 'Open Sans', sans-serif;

}

h1 {
  font: 30px verdana;
}

h4 {
  margin: auto;
  padding-top: 2%;
  font: 40px impact;
  text-align: center;
  padding-bottom: 50px;
  color: white;
}

header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: -1;
  background-color: black;
  /*max-height: 600px;*/
}

header img {
  /* this opacity makes the header image dark so you can read the headline text more easily. remove the opacity if you do not have your headline on top of the image.*/
  /*opacity: 0.6;*/
}

.title1 {
  position: absolute;
  width: 100%;
  top: 20%;
  color: white;
  text-align: center;
  padding: 3%;
  display: none;
}

.title1 h1 {
  font-size: 5.1em;
  margin-bottom: -4px;
}

.title1 h2 {
  font-size: 2em;
}

.title1 h3 {
  margin-top: 10%;
  font-size: 1.2em;
  font-style: italic;
}

.title2 {
  width: 100%;
  color: darkslategray;
  text-align: center;
  padding: 3% 10%;
}

.title2 h1 {
  font-size: 4.7em;
  margin-bottom: -4px;
}

.title2 h2 {
  font-size: 2em;
}

.title2 h3 {
  margin-top: 10%;
  margin-bottom: 0;
  font-size: 1.1em;
  font-style: italic;
}

.content {
  width: 80%;
  margin: auto;
  margin-bottom: 50px;
  background-color: white;
  overflow-x: hidden;
  font: 16px roboto;
  border: 1px solid black;
}

.maintext {
  max-width: 800px;
  margin: auto;
  color: darkslategray;
  font-size: 1.2em;
  line-height: 1.7em;
  text-align: justify;
/*  font-size: 1.4em;
  font-weight: 300;
  line-height: 1.8em*/;
  padding: 5%;
}

.maintext h2 {
  font-weight: bold;
  margin-top: 10%;
}

.footballmeansvideo {
  width: 80%;
  padding: 2%;
  margin: auto;
  border: 1px solid black;
  margin-bottom: 50px;
  background-color: white;
  position: relative;
  right: 2500px;
}

.pullquote {
  width: 50%;
  font-size: 1.4em;
  line-height: 1.6em;
  font-style: italic;
  text-align: left;
}

.name {
  font-size: 0.7em;
  text-align: center;
  line-height: 0.1em;
  padding-bottom: 30px;
}

.left {
  float: left;
  padding-right: 20px;
  margin-left: -40px;
}

.right {
  float: right;
  padding-left: 20px;
  margin-right: -40px;
}

.flourish-embed {
  border: 1px solid black;
}

.sidepic {
  width: 50%;
}

.sidepic audio {
  width: 100%;
  margin-top: 5px;
}

.sidecap {
  margin-top: 0px;
  font-size:  0.8em;
  text-align: center;
}

.sectionhead {
  text-align: center;
  color: darkslategray;
}

.bigphoto1 {
  position: relative;
  width: 60%;
  margin: auto;
  margin-bottom: 50px;
}

.bigphoto1 img {
  object-fit: cover;
  height: 100%;
  position: relative;
  left: 1000px;
}

.bigphoto2 {
  position: relative;
  width: 60%;
  margin: auto;
  margin-bottom: 50px;
}

.bigphoto2 img {
  object-fit: cover;
  height: 100%;
  position: relative;
  left: 1000px;
}

.photocaption {
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding-left: 1%;
  color: white;
  background-color: rgba(0,0,0,0.4);
}

.photocaption2 {
  width: 100%;
  position: absolute;
  bottom: 0px;
  text-align: center;
  padding-left: 1%;
  color: white;
  background-color: rgba(0,0,0,0.4);
}

.photogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 5px;
}

.gridpic {
  position: relative;
}

.gridpic .photocaption {
  display: none;
}

.cycle-slideshow {
  max-width: 700px;
  margin: auto;
}

.knightlab {
  max-width: 700px;
  margin: auto;
}

.googlemap {
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
  max-width: 700px;
  margin: auto;
}

.googlemap iframe {
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

.youtube {
  max-width: 700px;
  margin: auto;
}

.responsivecontainer {
  position: relative; 
  padding-bottom: 56.25%; 
  padding-top: 30px; 
  height: 0; 
  overflow: hidden;
}

.responsivecontainer iframe, .responsivecontainer object, .responsivecontainer embed { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
}

.clickhere {
  font-style: italic;
  font-size: 0.7em;
  text-align: right;
  padding-right: 1%;
}

.voxpop {
  max-width: 700px;
  margin: auto;
}

.voxgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 10px;
}

.person {
  border-radius: 5px;
  box-shadow: 2px 3px 3px lightslategrey;
  overflow: hidden;
}

.person audio {
  width: 100%;
  display: block;
}

.headshot {
  position: relative;
  text-align: center;

}

.popup {
  cursor: pointer;
}

.x {
  width: 95%;
  background-color: #21573d;
  background-size: 78px 78px;
  background-image:  repeating-linear-gradient(0deg, #ffffff, #ffffff 3.9000000000000004px, #21573d 3.9000000000000004px, #21573d);
}

.button {
  font: 25px courier new;
  cursor: pointer;
}

.positionbuttons {
  margin: 1% 10%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  overflow: scroll;
}

.quarterbacks {
  border: 1px solid black;
  width: 85%;
  margin: auto;
  margin-bottom: 50px;
  padding: 2%;
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap: 10px;
  align-items: center;
  background-color: ghostwhite;
  border-radius: 5px;
}

.position {
  border: 1px solid black;
  width: 85%;
  margin: auto;
  margin-bottom: 50px;
  padding: 2%;
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap: 10px;
  align-items: center;
  background-color: ghostwhite;
  border-radius: 5px;
}

.players {
  border: 1px solid gray;
}

.details {
  border: 1px solid gray;
  height: 100%;
  background-color: #e8e8e8;
  overflow: scroll;
}

.item {
  border: .5px solid gray;
  padding: 10px;
  font: 18px courier new;
  cursor: pointer;
}

.item:hover {
  background-color: lightblue;
  /*transform: scale(1.01);*/
}

.profile {
  border: 1px solid gray;
  font: 16px courier new;
  padding: 10px;
  width: 95%;
  margin: 10px 10px;
  box-shadow: 2px 2px 2px;
  background-color: ghostwhite;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 5px;
  /*position: relative;
  overflow: hidden;*/
}

.measurables {
  margin: 2%;
}

.athleteimg {
  align-self: center;
  margin-left: 150px;
  background-color: #e5e5f7;
  opacity: 0.8;
  background-size: 52px 52px;
  background-image:  repeating-linear-gradient(0deg, #444cf7, #444cf7 2.6px, #e5e5f7 2.6px, #e5e5f7);
}

.profile img {
  width: 100%;
  /*margin-left: 65%;*/
  border: 2px solid gray;
  /*position: absolute;*/
}

.bottomstuff {
  width: 95%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.trait {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 5px;
  width: 95%;
  margin: 10px 5%;
}

.trait img {
  width: 100%;
  border: 1px solid gray;
  box-shadow: 2px 2px 2px;
  border-radius: 5%;
}

.description {
  width: 95%;
  border: 1px solid gray;
  box-shadow: 2px 2px 2px;
  background-color: ghostwhite;
  border-radius: 5px;
  margin-left: 5%;
  overflow: scroll;
}

.description p {
  font: 18px courier new;
  padding: 5%;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.slidetext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 12px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dots {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  text-align: center;
}

.active, .dot:hover {
  background-color: #717171;
}

 
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


/*footer */

footer {
  background-color: black;
  color: white;
  padding: 1%;
  text-align: right;
}

/*popup modal*/

.overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: scroll;
  display: none;
  z-index:  10;
}

.modal {
  width: 70%;
  margin: 2% auto;
}

.closer {
  position: absolute;
  right: 1vh;
  top:  1vh;
  width: 10%;
  cursor: pointer;
}

/*media query for responsive design */

@media only screen and (max-width: 900px) {

  .title1 {
    top: 5%;
  }

  .title1 h1 {
    font-size: 3.5em;
  }

  .title1 h2 {
    font-size: 1.5em
  }

  .title1 h3 {
    font-size: 1.1em;
  }

}


@media only screen and (max-width: 800px) {

  .pullquote {
    width: 100%;
    margin: 0px;
    padding: 0px;
    text-align: center;
    display: none; /* remove this line if you want the pullquotes to display on mobile*/ 
  }

  .left, .right {
    margin: 0px;
    padding: 10px;
  }

  .sidepic {
    width:  100%;
    margin: 0px;
    padding:  0px;
  }

  .popup {
    margin-bottom: 15px;
  }

  .popup .sidecap {
    display: none;
  }

  .trait {
    display: grid;
    grid-template-columns: 1fr;
  } 

  .description {
    padding: 1%;
  }

  .content {
    width: 98%;
  }

  .footballmeansvideo {
    width: 98%;
  }

}


@media only screen and (max-width: 640px) {

  .title1 {
    top: 1%;
  }

  .title1 h1 {
    font-size: 3em;
  }

  .title1 h2 {
    display: none;
  }

  .title1 h3 {
    font-size: 0.9em;
  }

  .title2 h1 {
    font-size: 2em;
  }

  .title2 h2 {
    font-size: 1.3em;
  }

  .title2 h3 {
    font-size: 1em;
  }

  .maintext {
    font-size: 1.4em;
    line-height: 1.6em;
    text-align: left;
    margin: 0px 15px;
  }

  .voxgrid {
    grid-template-columns: 1fr 1fr;
  }

  .person audio {
    background-color: black;  
  }

  .modal {
    width: 97%;
    margin: 10% auto;
  }

}











