/* styles.css 
   Project: 
   Author: 
   Date: 
	
   Helpful links: 
   	Web colors: 
   		https://en.wikipedia.org/wiki/Web_colors#X11_color_names
	Color picker tool:
		https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors/Color_picker_tool
		http://colorpicker.com

*/

/*@import url('https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&family=Open+Sans&family=Roboto&display=swap');
*/
* {
  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: 'Georgia', sans-serif; 
}

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

}

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

header video {
  /* 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.4;
}

@font-face {
  font-family: 'Serati';
  src: url('../Fonts/serati-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-size: 'Montserrat';
  src: url('../Fonts/Montserrat-Bold.ttf') format('truetype'),
       url('../Fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

.title1 h1 {
  font-size: 10em;
  margin-bottom: -4px;
  font-family: 'Serati', sans-serif;
  font-style: normal;
  display: inline-block;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.title1 h2 {
  font-size: 2em;
  margin: 8px;
  font-family: 'Serati',sans-serif;
  color: whitesmoke;
}

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

.title2 h1 {
  font-size: 4.7em;
  margin-bottom: -4px;
  font-family: 'Montserrat-Bold';
  color: black;

}

.title2 h2 {
  font-size: 2em;
  font-family: 'Montserrat-Regular';
}

.title2 h3 {
  margin-bottom: 0;
  font-size: 1.3em;
  font-style: italic;
}

.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #1f191a, transparent);
  width: 80%;
  margin: 30px auto;
}

.audio-story {
  max-width: 700px;
  margin: 20px auto 10px auto;
  padding: 20px;
  text-align: center;
  background-color: #e9e9e6;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.audio-story audio {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 0 auto 12px auto;
}

.audiocaption {
  font-size: 1.3em;
  font-style: bold;
  color: black;
  margin: 0;
}

.video-caption {
  font-family: 'Georgia';
  text-align: center;
  font-size: 1.4em;
  color: whitesmoke;
  margin-top: 5px;
}

.photo-caption {
  font-family: 'Georgia';
  text-align: center;
  font-size: 0.7em;
  color: slategray;
  margin-top: 5px;
}

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

.maintext {
  max-width: 640px;
  margin: auto;
  color: black;
  font-size: 1.2em;
  line-height: 1.5em;
  text-align: justify;
/*  font-size: 1.4em;
  font-weight: 300;
  line-height: 1.8em*/;
  padding: 1%;
}

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

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

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

.slideshow-title {
  text-align: center;
  font-family: 'Serati', sans-serif;
  font-size: 4em;
  color: #FFFFFF;
  letter-spacing: 2px;
  margin: 20px 0 10px;
  position: relative;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;

}

/* Slideshow container */
.slideshow-container {
  max-width: 900px;
  height: 500px;
  position: relative;
  margin: auto;
  overflow: hidden;
}

/* Hide the images by default */
.mySlides {
    display: block;
    position: relative;
}

.mySlides img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background-color: none;
    display: block;
    border-radius: 8px;
}

.bullets {
  position: relative;
}

.bullets::before {
  content:"";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  border-radius: 8px;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.slidetext {
  position: absolute;
  bottom: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 18px;
  padding: 12px;
  z-index: 2;
  color: white;
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: 'Montserrat-Regular';
}

.slidetext h3 {
  margin-top: 0;
  font-size: 200%;
  font-family: 'Montserrat-Bold';
}

.maintext ul {
  list-style-type: square;
  list-style-position: inside;
  margin-left: 1em;
}

.bullets:hover::before {
  opacity: 0;
}

.bullets:hover .slidetext {
  opacity: 1;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 12px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.6s ease;
  border-radius: 50%;
  z-index: 10;
}

/* Position the "next button" to the right */
.next {
  right: 10px;
}

.prev {
  left: 10px;
}

/* 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);
}

.logo-caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: whitesmoke;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  z-index: 10;
}
 
@-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;
  }  

}


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

}











