/* 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');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@400;500&family=Coming+Soon&family=Libre+Baskerville:wght@700&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: #648164;
}

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

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

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

}


/*WHERRE WE START*/


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.5;
}

.headercaption {
  color: blanchedalmond;
  font-size: .7em;
  opacity: 0.5;
}

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

.title1 h1 {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 9em;
  text-shadow: -1px 0px 3px #FFFCF5;
  margin-top: -15px;
  margin-bottom: -4px;

}

/*.title1 h2 {
  font-size: 1em;
}

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

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

.title2 h1 {
  font-family:'Alegreya Sans', sans-serif; 
  font-size: 4.5em;
  margin-bottom: -10px;
  line-height: .9;
}

.title2 h2 {
  font-size: 1.5em;
  margin-top: 50px;
}

.title2 h3 {
  margin-top: 5%;
  margin-bottom: 0;
  font-family:'Alegreya Sans', sans-serif;
  font-size: 2em;
  font-style: italic;
}

.content {
  width: 100%;
  background-color: #FFFDF7;
  overflow-x: hidden;
}

.maintext {
  max-width: 680px;
  margin: auto;
  color: #324132;
  font-size: 1.3em;
  line-height: 1.49em;
  text-align: justify;
/*  font-size: 1.4em;
  font-weight: 300;
  line-height: 1.8em*/;
  padding: 1%;
}

.sectionhead {
  text-align: center;
  color: #4B614B;
  font-family:'Alegreya Sans', sans-serif;
  font-weight: bold;
  font-size: 3em;
  margin-top: 14%;
  margin-bottom: 6%;
}

.sectionhead2 {
  text-align: center;
  color: #4B614B;
  font-family:'Alegreya Sans', sans-serif;
  font-weight: bold;
  font-size: 3em;
  margin-top: 8%;
  margin-bottom: 1px;
}

.sectionhead3 {
  text-align: center;
  color: #4B614B;
  font-family:'Alegreya Sans', sans-serif;
  font-weight: bold;
  font-size: 3em;
  margin-top: 8%;
  margin-bottom: 6%;
}

.sectionhead4 {
  text-align: center;
  color: #4B614B;
  font-family:'Alegreya Sans', sans-serif;
  font-weight: bold;
  font-size: 3em;
  margin-top: 28%;
  margin-bottom: 8%;
}

.sectionheadtimeline {
  text-align: center;
  color: #4B614B;
  font-family:'Alegreya Sans', sans-serif;
  font-weight: bold;
  font-size: 2.4em;
  margin-top: 8%;
  margin-bottom: 8%;
}

.deerheartlongvideo {
  margin-top: 5%;
  margin-bottom: -4%;
}


.pullquote {
  width: 45%;
  margin-left: -50px;
  margin-top: -2%;
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 1.7em;
  line-height: 1.2em;
  font-style: italic;
  text-align: left;
  color: #648164;
}

.name {     /*for pull quote*/
  font-size: 0.7em;
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: bolder;
  text-align: center;
  line-height: 0.1em;
  padding-bottom: 20px;
  color: #648164;;
}

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

.sidepic {
  width: 64%;
  position: relative;
}

.photocaption {
  position: absolute;
  bottom: 0px;
  width: 100%;
  font-size: .6em;
  line-height: 7%;
  text-align: center;
  color: white;
  background-color: rgba(0,0,0,0.3);
}

.right {
  float: right;
  margin-left: 20px;
  margin-right: -70px;
  margin-bottom: 10px;
}

.sidepic2 {
  width: 72%;
  position: relative;
}

.photocaption2 {
  position: absolute;
  bottom: 0px;
  width: 100%;
  font-size: .6em;
  line-height: 7%;
  text-align: center;
  color: white;
  background-color: rgba(0,0,0,0.3);
}

/*.left {
  float: left;
  margin-left: -40px;
  margin-right: 20px;
  margin-bottom: 10px;
}*/

.sidepic3 {
  margin-left: -74px;
  margin-right: 15px;
  margin-bottom: 14px;
  float: left;
  width: 67%;
  position: relative;
}

.photocaption3 {
  position: absolute;
  bottom: 0px;
  width: 100%;
  font-size: .6em;
  line-height: 7%;
  text-align: center;
  color: white;
  background-color: rgba(0,0,0,0.3);
}

.photocaptionaudio {
  position: absolute;
  bottom: 0px;
  width: 100%;
  font-size: .6em;
  line-height: 7%;
  text-align: center;
  color: white;
  background-color: rgba(0,0,0,0.3);
}


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

.voxgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin: -70px;
  margin-top: 7.4%;
  grid-gap: 20px;
}

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

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

.headshot {
  margin: auto;
  position: relative;
  text-align: center;
  height: 250px;
}


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


.bigphoto {
  position: relative;
  height: 530px;
}

.bigphoto img {
  object-fit: cover;
  height: 100%;
}

.photocaption {
  position: absolute;
  bottom: 0px;
  width: 100%;
  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: 1000px;
  margin: auto;
  margin-bottom: 10%;
}

.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%;
  color: #648164;
}

.popup {
  cursor: pointer;
}

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

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* 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: #15471A;
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 1.3em;
  color: #FFFDF7;
  margin-top: 20px;
  line-height: 0.001px;
  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) {

  .title1 h1 {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 5.5em;
  text-shadow: -1px 0px 3px #FFFCF5;
  margin-top: -15px;
  margin-bottom: -4px;
}

  .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 {
    margin: 0px;
    padding: 10px;
  }

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

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

  .photocaption2 {
    width: 97%;
    margin-bottom: 1.4%;
  }

  .sidepic2 {
    width: 100%;
  }

  .photocaption3 {
    width: 97%;
    margin-bottom: 1.4%;
  }

  .sidepic3 {
    width: 100%;
  }

    .voxgrid {
    grid-template-columns: 1fr 1fr;
    margin: -24px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 7.4%;
    grid-gap: 10px;
  }

    .person audio {
    background-color: black;  
  }

  .headshot {
  margin: auto;
  position: relative;
  text-align: center;
  height: 400px;
}
  .popup {
    margin-bottom: 15px;
  }

  .popup .sidecap {
    display: none;
  }  

}


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

  .title1 {
    top: 8%;
  }

  .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;
  }

  .sectionhead {
    font-size: 2em;
  }

  .headercaption {
    font-size: .4em;
  }

  .sectionhead3 {
    font-size: 2em;
  }

  .sectionheadtimeline {
    font-size: 2.5em;
    line-height: 80%;
  }

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

  .right {
    float: inherit;

  }

   .photocaption2 {
    width: 94%;
    margin-bottom: 10px;
  }

  .sidepic2 {
    width: 100%;
  }

  .sidepic3 {
    width: 100%;
  }

    .photocaption3 {
    width: 100%;
    margin-bottom: 10px;
    font-size: .6em;
    line-height: 9%;
  }

  .voxgrid {
    grid-template-columns: 1fr 1fr;
    margin: -24px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 7.4%;
    grid-gap: 10px;
  }

  .person audio {
    background-color: black;  
  }

  .headshot {
  margin: auto;
  position: relative;
  text-align: center;
  height: 300px;
}

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

}











