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

/*google font*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Montserrat:wght@300;400&display=swap');

/*main css*/


* {
   box-sizing: border-box;
}

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

body {
   background-color: #F3E9E7;
   color: white;
   font-family: 'Lato', sans-serif;
   /*font-family: 'Montserrat', sans-serif;*/
}

@font-face{
   font-family: 'shrikhand';
   src:url('../fonts/Shrikhand-Regular.ttf');
}

@font-face{
   font-family: recoleta;
   src:url(Recoleta-Regular.otf);
}


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

.title {
/*   width: 30%;*/
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%,-50%);
/*   border: 1px solid purple;*/
/*   background-color: rgba(255,255,255,0.5);*/
   color: whitesmoke;
/*   padding: 30px;*/
   font-family: 'shrikhand';
   font-size: 1.25em;
   text-align: center;
   text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.whitebox {
   width: 100%;
   background-color: whitesmoke;
}

.ledetext{
   background-color: whitesmoke;
   color: black;
   margin-top: 0px;
   padding: 70px 0px 10px 0px;
   max-width: 600px;
   margin: auto;

   font-family: Georgia, serif;
   font-size: 1.25em;
   text-align: justify;
   line-height: 1.75em;
   font-size: 1em;
}


.twopiece {
   display: grid;
   grid-template-columns: 3fr 3fr;
   background-color: whitesmoke;   
   color: black;
   grid-gap: 40px;
   padding: 20px 80px 0px 10px; 
}

.flipped {
   direction: rtl;
   padding: 20px 10px 0px 80px;
}

.sidepic img{
   position: sticky;
   top: 0;
/*   right: 10px;*/
/*   max-width: 75%;*/
/*   margin-left: 50px;*/
}

.sidepic iframe{
   position: sticky;
   top: 50px;
   padding: 0px 0px 0px 20px;
   height: 40%;

}

.sidetext {
   padding: 20px 20px 20px 20px;   
   font-size: 1.25em;
   font-family: Georgia, serif;
   text-align: justify;
   line-height: 1.75em;
   font-size: 1em;
   direction: ltr;
   padding-bottom: 100vh;
}

.lesswhite {
   padding-bottom: 20vh;
}

.map {
   width: 75%;
   margin: auto;
   padding: 10px;
   background-color: whitesmoke;
}

.mapbox{
   background-color: whitesmoke;
/*   max-width: 100%;*/
   padding: 20px 15px;
   display: none;
}


.custom-line{
   font-weight: bold; 
   color: #00a7c7; 
   font-size: 2.5em;
   font-family: 'shrikhand';
   text-align: center;
   letter-spacing: 2px;
   line-height: 1;
   font-weight: 300;
}

.credsbox{
   background-color: whitesmoke;
   font-size: .75em;
   color: gray;
}


.bigvideo {
   background-color: whitesmoke;
   padding: 20px 300px;
}

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

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

.scrolltext {
   margin: auto;
   width: 80%;
   color: white;
   padding-bottom: 100vh;
   margin-top: 1000px;
}

.italicize {
   font-style: italic;
}

.footer {
   background-color: whitesmoke;
   color: black;
   padding: 10px 30px;
}



/*media query for responsive design */


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

   .title {
      width: 90%;
      top: 40%;
   }

}



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

   .header {
      height: 100vh;
   }

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

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

   .sidetext {
      padding-bottom: 20px;
   }

   .twopiece, .flipped {
      padding: 20px 10px 0px 10px; 
   }

   .ledetext {
      padding: 10px 20px;
   }

   .title h1 {
      font-size: 4em;
   }

   .map {
      width: 75%;
   }


   .bigvideo {
      padding: 20px 100px;
   }

   .mapbox {
      display: block;
   }

}











