/* 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=Special+Gothic+Condensed+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Special+Gothic+Condensed+One&family=Special+Gothic+Expanded+One&display=swap');
/*main css*/

* {
  box-sizing: border-box;
}

.special-gothic-condensed-one-regular {
  font-family: "Special Gothic Condensed One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

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

audio {
  display: block;
}

/*link style*/

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

a:visited {
  color: gray;
}

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

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

h1, h2, h3, .pullquote {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 400;
  font-style: normal;

}

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%;
  left: 50%;
  transform: translateX(-50%);
  top: 20%;
  color: white;
  text-align: center;
  padding: 3%;
}


.title1 h1 {
  font-size: 4.1em;
  margin-bottom: -4px;
  color: maroon;
    text-shadow:
    -0.5px -0.5px 0 white,
     0.5px -0.5px 0 white,
    -0.5px  0.5px 0 white,
     0.5px  0.5px 0 white;
}

.title1 h2 {
  font-size: 1.5em;
  color: white;
  text-shadow:
    -0.5px -0.5px 0 maroon,
     0.5px -0.5px 0 maroon,
    -0.5px  0.5px 0 maroon,
     0.5px  0.5px 0 maroon;

}

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

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


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

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

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

.content {
/*  border: 3px solid orange;*/
  width: 100%;
  background-color: maroon;
}

.scrollcontainer {
  border-bottom: 1px solid maroon;
/*  padding: 1px;*/
}

.backcontent {
  width: 100%;
  position: sticky;
  top: 0px;
  height: 100vh;
  background-color: black;
  z-index: -1;
}

.backcontent img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.scrollingtext {
  padding: 20px;
  width: 50%;
  margin: 0 auto 5%;
  font-size: 1.2em;
  line-height: 1.4em;
  text-align: justify-all;
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
}

.scrollingtext h3 {
  text-align: center;
  font-style: italic;
}


.forward-link {
  display: block;
  width: 100vw;
  text-align: center;
  font-size: 1.5rem;
  margin: 0;
  padding: 20px 0;
  text-decoration: none;
  color: #ffffff; 
  background-color: #000000; 
}

.forward-link:hover {
  background-color: #333;
  cursor: pointer;
}
.maintext {
  max-width: 800px;
  margin: auto;
  color: white;
  font-size: 1.2em;
  line-height: 1.7em;
  text-align: justify-all;;
  padding: 1%;
}

.bethtext {
  max-width: 900px;
  margin: auto;
  color: white;
  font-size: 1.2em;
  line-height: 1.7em;
  text-align: justify-all;
  padding: 1%;
}

.housingtext {
  max-width: 900px;
  margin: auto;
  color: black;
  font-size: 1.2em;
  line-height: 1.7em;
  text-align: justify-all;
  padding: 1%;
}


.hurricanecontent {
  width: 100%;
  background-color: darkblue;

}

.advocontent {
  width: 100%;
  min-height: 100vh; 
  background-color: rebeccapurple;

}


.mauicontent {
  width: 100%;
  background-color: darkred;

}

.seriescontent {
  width: 100%;
  background-color: black;

}

.housingcontent {
  width: 100%;
  background-color: crimson;

}

.livingcontent {
  width: 100%;
  background-color: firebrick;

}

.topphotocaption{

   max-width: 900px;
  margin: auto;
  color: black;
  font-size: 1.2em;
  line-height: 1.7em;
  text-align: justify;
  text-align: center;
  padding: 1%
}

    .thumbail-credit {
    margin: auto;
    color: orange;
    font-size: 3px;
    text-align: right;
    }

    .thumbnail-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(640px, 1fr));
      gap: 40px;
      justify-content: center;
      max-width: 1400px;
      margin: 0 auto;
    }

    .thumbnail,.thumbnail1 {
      background-color: #000;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      border-radius: 10px;
      overflow: hidden;
      text-decoration: none;
      text-color: maroon;
      transition: transform 0.2s ease;
    }


    .thumbnail1 {
      background-color: #fff;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      border-radius: 10px;
      overflow: hidden;
      text-decoration: none;
      text-color: maroon;
      transition: transform 0.2s ease;
    }

    .thumbnail:hover {
      transform: scale(1.02);
    }

    .thumbnail1:hover {
      transform: scale(1.02);
    }

    .thumbnail img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    .thumbnail-content {
      padding: 20px;
    }

    .thumbnail h3 {
      margin: 0 0 10px;
      font-size: 22px;
      color: white;
    }

    .thumbnail p {
      font-size: 16px;
      color: white;
    }

.thumbnail-content p strong {
  margin-top: 12px;
  padding: 6px 12px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  background-color: maroon;
  border-radius: 6px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

     .thumbnail1 h3 {
      margin: 0 0 10px;
      font-size: 22px;
      color: black;
    }

    .thumbnail1 p {
      font-size: 16px;
      color: black;
    }

ul {
  list-style-type: none; /* Removes bullet points */
  padding-left: 0; /* Optional: removes left indent */
}
    @media (max-width: 700px) {
      .thumbnail-container {
        grid-template-columns: 1fr;
      }
    }

.h3 {
   color: #2c5162;
   font-family: Ranchers;
   font-size: 2.8em;
   text-align: center;
}

p {
   font-family: Lato;
   font-size: 1.1em;
}



.infographic {
   max-width: 80%;
   margin: auto;
}




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

.floatingpic {
  width: 40%;
}

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

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

.floatingcap2 {
  margin-top: 25px;
  text-align: center; 
  font-size: 0.8em;
  font-style: italic;
  color: white;   
  background: rgba(0, 0, 0, 0.5); 
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  position: absolute;
  right: 10px; 
}

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

.bigphoto {
  position:relative;
}

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

.sidebyside {
  display: flex;
}

.photoleft {
    flex-direction: row;
}

.photoright {
    flex-direction: row-reverse;
}

.sidephoto {
  flex: 2;
}

.sidecaption {
  flex: 1;
  background-color: black;
  color: white;
  font-size: 1.2em;
  display: grid;
  align-items: center;
  text-align: center;
  padding: 20px 40px;
}

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

.slidewrapper {
  position: relative;
}

.slides {
  position: sticky;
  position: -webkit-sticky;
  top: 0px;
  z-index: -1;
}

.bottomcredit {
  position: absolute;
  right: 0px;
  bottom: 0px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 10px;
  color: white;
}

.backgroundimage {
  height: 100vh;
  position: sticky;
  position: -webkit-sticky;
  top: 0px;
  z-index: -1;
}

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

.textbox {
  max-width: 640px;
  margin: 100vh auto;
  background-color: white;
  color: darkslategray;  
  padding: 20px;
}

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

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

.slideshow {
/*  border: 2px solid turquoise;*/
  padding-bottom: 40px;

}

.slideaudio {
  margin: 30px 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: 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;
  }

  .scrollingtext {
    width: 80%;
  }

}


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

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

  .popup {
    margin-bottom: 15px;
  }

  .popup .floatingcap {
    display: none;
  }  

  .scrollingtext {
    width: 80%;
  }

}


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

  .sidebyside {
    display: block;
  }

  .sidecaption {
    font-size: 1em;
    padding: 10px 20px;
  }

  .textbox {
    margin: 100vh 20px;
  }

  .scrollingtext {
    width: 80%;
  }

}











