/* 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

*/

* {
   box-sizing: border-box;
}

img {
   /*width: 100%;*/
   display: block;
}

 video {
    background: brown;
    object-fit: cover;
   width: 100vw;
   height: 100vh;
}

body {
   margin: 0;
   background-color: white;
   /*font-family: 'Lato', sans-serif; */
   font-family: 'Quicksand', sans-serif;
   object-fit: cover;
   width: 100vw;
   height: 100vh;
   overflow-x: hidden;
   /*font-family: 'Montserrat', sans-serif;*/
}


.video-header {
   background-color: rgba(0, 0, 0, .55);
   filter: brightness(.75);
  position: relative;
  text-align: center;
  z-index: -1
}

  .viewport-header {
   /*border: 5px solid red;*/
   position: absolute;
   width: 100vw;
   height: 100vh;
   top: 0;
   left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1

  }

  .viewport-header h1 {
    margin-top: -7.5%;
   color:seashell; 
   font-size:10vw;
   text-transform: uppercase;
   font-weight: 1800;
   letter-spacing: 20px;
   text-align:center;
  animation: fadeIn ease 12.75s reverse;
  background-color: rgba(3, 219, 252, 0.4);
   background-image: url(https://media1.giphy.com/media/3ohs7VL5s6gbaheYko/giphy.gif?cid=ecf05e47s1t9vcb1zywn01szqi6b35wxnynpyt3yqtr073sf&rid=giphy.gif&ct=g);
   background-size: cover;
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  }

@keyframes fadeIn {
   0% {
      opacity: 0;
      font-size: 6em;
      color: seashell;
      margin-top: -7.5%;*/
      }
   100% {
      opacity: 1;
      font-size: 8.5em;
      color: seashell;
   }
}

.subhead {
  position: absolute;
  width: 1000px;
  height: auto;
  left: 50%;
  margin-left: -500px;
  top: 57.5%;
  z-index: 1;
  overflow: visible;
  animation: invisible 15s;
}

.subhead h2{
  color: aquamarine;
   font-size:2vw;
   font-style: italic;
}

.scrolldown {
  /*border: 5px solid pink;*/
  position: absolute;
  width: 200px;
  height: auto;
  left: 50%;
  margin-left: -100px;
  top: 80%;
  z-index: 1;
  overflow: visible;
  animation: invisible 14s;
}

.scrolldown h5{
   font-size:1em;
}

.scrolldown h3{
   font-size:1.5em;
   margin-top: -30px;
   animation: pulse 2.5s ease infinite alternate;
   animation-delay: 13s;
}

@keyframes invisible {
  0% {
    opacity: 0;
  }

  90% { 
    opacity: 0; 
  }

  100% {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    opacity: .3;
    font-size: 1.5em;
  }

  50% {
    opacity: 1;
    font-size: 2em;
  }
  
   100% {
    opacity: .3;
    font-size: 1.5em;
  }
}

  .scrolldown h3, h5 {
    color:seashell; 
   text-align:center;
  }


.bigimage {
   /*border: 3px solid red;*/
   position: sticky;
   width: 100%;
   height: 100vh;
   top: 0px;
   z-index: -1;
}

.bigimage img {
   /*border: 3px solid red;*/
   position: sticky;
   width: 100%;
   height: 100vh;
   top: 0px;
   z-index: -1;
}

.textbox {
   background-color: rgba(250, 240, 230, 1);
   width: 40%;
   margin-left: 10%;
    margin-top: 200px;
   padding: 80px 40px;
   line-height: 1.5em;
   box-shadow: 2px 2px 8px black;
}

.textone, .textfour, {
  margin-top: -1000px;
  margin-left: 10%;
}

.texttwo, .textfive, .texteight {
   margin-left: 55%;
   padding-bottom: 1%;
   margin-bottom:4%;
  
}

.textsix, .textseven, .textnine{
   margin-left: 10%;
   margin-bottom: 200px;
}



/*.maintext {
  position: sticky;
  top: 0px;
  z-index: -1;
  background-color: white;
   background-repeat: no-repeat;
   background-size: cover;
   padding: 100px 200px;
}
*/
.textthree {
  z-index: 1;
   padding-top: 100px;
   width: 100%;
   margin: auto;
}

.textthree p {
   width: 640px;
   margin: auto;
   line-height: 1.5;
}


.slidetext {
  position: sticky;
  top: 0px;
  z-index: -1;
  background-image: url("../img/torrey.jpg");
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 800px;
   color: white;
   left: -140%;
   background-color: rgba(0,0,0, .7);
   padding: 30px;
   line-height: 2.3;
   box-shadow: 2px 2px 8px black;
}

.slidetext p {
  top: 50px;
   width: 100%;
   text-align: justify;
   margin: auto;
   text-shadow: 3px 3px black;
}



.grid {
/*  background: seashell;*/
  background: white;
  padding: 4em 2em;
  display: grid;
  grid-gap: 2em;
  align-items: center;
  display: flex;
}

.grid img {
  width: 40vw;
}
  
.from-left {
 /* background-color: white;*/
/*border: 5px solid orange;*/
/*position: relative;*/
flex: 2;
/*left: -240%;*/
opacity: 0;
/*box-shadow: 2px 2px 8px black; */
}


.from-right {
/*border: 5px solid aqua;*/
/*background-color: white;*/
padding: 2%;
position: relative;
flex: 4;
/*left: 240%;*/
opacity: 0;
/*box-shadow: 2px 2px 8px black; */
}

.explainer {
  border: 5px solid white;
  z-index: 1;
  background-color: white;
  height: 100%;
  width: 100%;
  padding-bottom: 5%;
}

.poster {
  display: none;
}

.explainer h1 {
  padding-top: 5%;
  text-align: center;
}

.explainer video {
  position: relative;
  width: 640px;
  height: 640px;
  display: block;
  margin: auto;
}

/*
.quiz {
  margin: auto;
  height: 800px;
  width: 80%;
  overflow:hidden;
}*/

.shimmer {
  color: rgba(255,255,255,0.1);
  background: -webkit-gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff));
  background: -moz-gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff));
  background: gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff));
  -webkit-background-size: 125px 100%;
  -moz-background-size: 125px 100%;
  background-size: 30px 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-animation-name: shimmer;
  -moz-animation-name: shimmer;
  animation-name: shimmer;
  -webkit-animation-duration: 4s;
  -moz-animation-duration: 4s;
  animation-duration: 4s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-color: #222;
 }

 @-moz-keyframes shimmer {
  0% {
    background-position: top left;
  }
  100% {
    background-position: top right;
  }
}
@-webkit-keyframes shimmer {
  0% {
    background-position: top left;
  }
  100% {
    background-position: top right;
  }
}
@-o-keyframes shimmer {
  0% {
    background-position: top left;
  }
 100% {
    background-position: top right;
  }
}
@keyframes shimmer {
  0% {
    background-position: top left;
  }
  100% {
    background-position: top right;
  }
}

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




/*media query for responsive design */

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

.slidetext, .style p {
  font-size:.65em;
}

 .viewport-header h1 {
    margin-top: -7.5%;
    margin-left: -86px;
   color:seashell; 
   font-size:4.3em;
   text-transform: uppercase;
   font-weight: 1800;
   letter-spacing: 20px;
   text-align:center;
  animation: fadeIn ease 12.75s reverse;
  background-color: rgba(3, 219, 252, 0.4);
   background-image: url(https://media1.giphy.com/media/3ohs7VL5s6gbaheYko/giphy.gif?cid=ecf05e47s1t9vcb1zywn01szqi6b35wxnynpyt3yqtr073sf&rid=giphy.gif&ct=g);
   background-size: cover;
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  }

@keyframes fadeIn {
   0% {
      opacity: 0;
      font-size: 4.3em;
      color: seashell;
      margin-top: -7.5%;
      margin-left: -86px;
      }
   100% {
      opacity: 1;
      font-size: 4.3em;
      color: seashell;
   }
}

.subhead {
  position: absolute;
  width: 90%;
  height: auto;
  left: 50%;
  margin-left: -400px;
  top: 57.5%;
  z-index: 1;
  overflow: visible;
  animation: invisible 15s;
}

.subhead h2{
  color: aquamarine;
   font-size:2vw;
   font-style: italic;
}

.scrolldown {
  /*border: 5px solid pink;*/
  position: absolute;
  width: 200px;
  height: auto;
  left: 50%;
  margin-left: -150px;
  top: 80%;
  z-index: 1;
  overflow: visible;
  animation: invisible 14s;
}

.scrolldown h5{
   font-size:1em;
}

.scrolldown h3{
   font-size:1.5em;
   margin-top: -30px;
   animation: pulse 2.5s ease infinite alternate;
   animation-delay: 13s;
}

@keyframes invisible {
  0% {
    opacity: 0;
  }

  90% { 
    opacity: 0; 
  }

  100% {
    opacity: 1;
  }
}

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

.slidetext, .style p {
  font-size:.65em;
}

.video-header {
   background-color: rgba(0, 0, 0, .55);
   filter: brightness(.75);
  position: relative;
  text-align: center;
  z-index: -1
}

  .viewport-header {
   /*border: 5px solid red;*/
   position: absolute;
   width: 100vw;
   height: 100vh;
   top: 0;
   left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1

  }

  .viewport-header h1 {
    margin-top: -47.5%;
   color:seashell; 
   font-size:3em;
   text-transform: uppercase;
   font-weight: 1800;
   letter-spacing: 20px;
   text-align:center;
  animation: fadeIn ease 12.75s reverse;
  background-color: rgba(3, 219, 252, 0.4);
   background-image: url(https://media1.giphy.com/media/3ohs7VL5s6gbaheYko/giphy.gif?cid=ecf05e47s1t9vcb1zywn01szqi6b35wxnynpyt3yqtr073sf&rid=giphy.gif&ct=g);
   background-size: cover;
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  }

@keyframes fadeIn {
   0% {
      opacity: 0;
      font-size: 3em;
      color: seashell;
      margin-top: -47.5%;
      }
   100% {
      opacity: 1;
      font-size: 3.8em;
      color: seashell;
   }
}

.subhead {
  position: absolute;
  width: 750px;
  height: auto;
  left: 50%;
  margin-left: -500px;
  top: 57.5%;
  z-index: 1;
  overflow: visible;
  animation: invisible 15s;
}

.subhead h2{
  color: aquamarine;
   font-size:1.5vw;
   font-style: italic;
}

.scrolldown {
  display: none;
  /*border: 5px solid pink;*/
  position: absolute;
  width: 200px;
  height: auto;
  left: 50%;
  margin-left: -100px;
  top: 80%;
  z-index: 1;
  overflow: visible;
  animation: invisible 14s;
}

.scrolldown h5{
   font-size:.75em;
}

.scrolldown h3{
   font-size:.5em;
   margin-top: -30px;
   animation: pulse 2.5s ease infinite alternate;
   animation-delay: 13s;
}

@keyframes invisible {
  0% {
    opacity: 0;
  }

  90% { 
    opacity: 0; 
  }

  100% {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    opacity: .3;
    font-size: .5em;
  }

  50% {
    opacity: 1;
    font-size: .3em;
  }
  
   100% {
    opacity: .3;
    font-size: .5em;
  }
}

  .scrolldown h3, h5 {
    color:seashell; 
   text-align:center;
  }

}


.bigimage {
   /*border: 3px solid red;*/
   position: sticky;
   width: 100%;
   height: 100vh;
   top: 0px;
   z-index: -1;
}

.bigimage img {
   /*border: 3px solid red;*/
   position: sticky;
   width: 100%;
   height: 100vh;
   top: 0px;
   z-index: -1;
}

.textbox {
   background-color: rgba(250, 240, 230, 1);
   width: 48%;
   margin-left: 2%;
    margin-top: 200px;
   /*padding: 40px 20px;*/
   line-height: 1.5em;
   box-shadow: 2px 2px 8px black;
}

.textone, .textfour, {
  margin-top: -500px;
  margin-left: 2%;
}

.texttwo, .textfive, .texteight {
   margin-left: 50%;
   padding-bottom: 1%;
   margin-bottom:4%;
  
}


.textthree {
  z-index: 1;
   padding-top: 100px;
   width: 100%;
   margin: auto;
}

.textthree p {
   width: 600px;
   margin: auto;
   line-height: 1.5;
}


.slidetext {
  position: sticky;
  top: 0px;
  z-index: -1;
  background-image: url("../img/torrey.jpg");
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 800px;
   color: white;
   left: -140%;
   background-color: rgba(0,0,0, .7);
   /*padding: 30px;*/
   line-height: 2.3;
   box-shadow: 2px 2px 8px black;
}

.slidetext p {
  top: 50px;
   width: 100%;
   text-align: justify;
   margin: auto;
   text-shadow: 3px 3px black;
}



.grid {
/*  background: seashell;*/
  background: white;
  padding: 4em 2em;
  display: grid;
  grid-gap: 2em;
  align-items: center;
  display: flex;
}

.grid img {
  width: 40vw;
}
  
.from-left {
 /* background-color: white;*/
/*border: 5px solid orange;*/
/*position: relative;*/
flex: 2;
/*left: -240%;*/
opacity: 0;
/*box-shadow: 2px 2px 8px black; */
}


.from-right {
/*border: 5px solid aqua;*/
/*background-color: white;*/
padding: 2%;
position: relative;
flex: 4;
/*left: 240%;*/
opacity: 0;
/*box-shadow: 2px 2px 8px black; */
}

.explainer {
  border: 5px solid white;
  z-index: 1;
  background-color: white;
  height: 100%;
  width: 100%;
  padding-bottom: 5%;
}

.explainer h1 {
  padding-top: 5%;
  text-align: center;
}

.explainer video {
  position: relative;
  width: 600px;
  height: 600px;
  display: block;
  margin: auto;
}

/*.quiz {
  display: block;
/ margin: auto;
  height: 1600px;
  width: 100%;
  overflow: visible;
}*/


@media only screen and (max-width: 425px) {
video {
  overflow-x: hidden;
    background: brown;
    object-fit: cover;
   width: 100%;
/*   height: 100%;*/
}

body {
   margin: 0;
   background-color: white;
   /*font-family: 'Lato', sans-serif; */
   font-family: 'Quicksand', sans-serif;
   object-fit: cover;
   max-width: 100%;
   height: 100%;
   overflow-x: hidden;
   /*font-family: 'Montserrat', sans-serif;*/
}


.video-header {
   background-color: rgba(0, 0, 0, .55);
   filter: brightness(.75);
  position: relative;
  text-align: center;
  z-index: -1
}

  .viewport-header {
   /*border: 5px solid red;*/
   position: absolute;
   width: 100%;
 /*  height: 574px;*/
   top: 0;
   left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1

  }

  .viewport-header h1 {
    margin-top: -97.5%;
    margin-left: auto;
   color:seashell; 
   font-size:2em;
   text-transform: uppercase;
   font-weight: 1800;
   letter-spacing: 25px;
   text-align:center;
  animation: fadeIn ease 12.75s reverse;
  background-color: rgba(3, 219, 252, 0.4);
   background-image: url(https://media1.giphy.com/media/3ohs7VL5s6gbaheYko/giphy.gif?cid=ecf05e47s1t9vcb1zywn01szqi6b35wxnynpyt3yqtr073sf&rid=giphy.gif&ct=g);
   background-size: cover;
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  }

@keyframes fadeIn {
   0% {
      opacity: 0;
      font-size: 2em;
      color: seashell;
      margin-top: -97.5%;
      }
   100% {
      opacity: 1;
      color: seashell;
   }
}

.subhead {
  position: absolute;
  width: 90%;
 /* height: auto;
  margin: auto;*/
  margin-left: -200px;
  top: 53.5%;
  z-index: 1;
  overflow: hidden;
  animation: invisible 15s;
}

.subhead h2{
  color: aquamarine;
   font-size:.75em;
   font-style: italic;
}

.scrolldown {
  display: none;
  /*border: 5px solid pink;*/
  position: absolute;
  width: 200px;
  height: auto;
  left: 50%;
  margin-left: -100px;
  top: 85%;
  z-index: 1;
  overflow: hidden;
  animation: invisible 14s;
}

.scrolldown h5{
   font-size:.6em;
}

.scrolldown h3{
   font-size:.4em;
   margin-top: -30px;
   animation: pulse 2.5s ease infinite alternate;
   animation-delay: 13s;
}


  .scrolldown h3, h5 {
    color:seashell; 
   text-align:center;
  }


@keyframes pulse {
  0% {
    opacity: .3;
    font-size: .4em;
  }

  50% {
    opacity: 1;
    font-size: .6em;
  }
  
   100% {
    opacity: .3;
    font-size: .4em;
  }
}


.bigimage {
  display: none;
   position: sticky;
   width: 100%;
   height: 20vh;
   top: 0px;
   z-index: -1;
}

.bigimage img {
  display: none;
   /*border: 3px solid red;*/
   position: sticky;
   width: 100%;
   height: 100vh;
   top: 0px;
   z-index: -1;
}

.textbox {
  overflow-x: hidden;
   background-color: rgba(250, 240, 230, 1);
   width: 100%;
    margin: auto;
/*    margin-top: 50px;*/
 /*  padding: 80px 40px;*/
   line-height: 1.5em;
/*   box-shadow: 2px 2px 8px black;*/
}


.textthree {
  z-index: 1;
   padding-top: 100px;
   width: 100%;
   margin: auto;
}

.textthree p {
   width: 90%;
   margin: auto;
   line-height: 1.5;
}


.slidetext {
  position: sticky;
  top: 0px;
  z-index: -1;
  background-image: url("../img/torrey.jpg");
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 800px;
   color: white;
   left: -140%;
   background-color: rgba(0,0,0, .7);
   padding: 30px;
   line-height: 2.3;
   box-shadow: 2px 2px 8px black;
}

.slidetext p {
  top: 50px;
   width: 100%;
   text-align: justify;
   margin: auto;
   text-shadow: 3px 3px black;
}



.grid {
/*  background: seashell;*/
  background: white;
  padding: 4em 2em;
  display: grid;
  grid-gap: 2em;
  align-items: center;
  display: flex;
}

.grid img {
  width: 30vw;
}
  
.from-left {
 /* background-color: white;*/
/*border: 5px solid orange;*/
/*position: relative;*/
flex: 2;
/*left: -240%;*/
opacity: 0;
/*box-shadow: 2px 2px 8px black; */
}


.from-right {
/*border: 5px solid aqua;*/
/*background-color: white;*/
padding: 2%;
position: relative;
flex: 4;
/*left: 240%;*/
opacity: 0;
/*box-shadow: 2px 2px 8px black; */
}

.explainer {
  overflow-x: hidden;
  border: 5px solid white;
  z-index: 1;
  background-color: white;
  height: 100%;
  width: 100%;
  padding-bottom: 5%;
}

.explainer h1 {
  padding-top: 5%;
  text-align: center;
}

.explainer video {
  position: relative;
  width: 90%;
  height: 90%;
  display: block;
  margin: auto;
}

/*.quiz {
  /*border: 5px solid red;*/
  /*margin: auto;
  height: 800px;
  width: 80%;
  overflow:hidden;
}*/



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

@media only screen and (max-width: 375px) {
video {
  overflow-x: hidden;
    background: brown;
    object-fit: cover;
   width: 100%;
/*   height: 100%;*/
}

body {
   margin: 0;
   background-color: white;
   /*font-family: 'Lato', sans-serif; */
   font-family: 'Quicksand', sans-serif;
   object-fit: cover;
   max-width: 100%;
   height: 100%;
   overflow-x: hidden;
   /*font-family: 'Montserrat', sans-serif;*/
}


.video-header {
   background-color: rgba(0, 0, 0, .55);
   filter: brightness(.75);
  position: relative;
  text-align: center;
  z-index: -1
}

  .viewport-header {
   /*border: 5px solid red;*/
   position: absolute;
   width: 100%;
 /*  height: 574px;*/
   top: 0;
   left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1

  }

  .viewport-header h1 {
    margin-top: -65.5%;
    margin-left: auto;
   color:seashell; 
   font-size:2em;
   text-transform: uppercase;
   font-weight: 1800;
   letter-spacing: 25px;
   text-align:center;
  animation: fadeIn ease 12.75s reverse;
  background-color: rgba(3, 219, 252, 0.4);
   background-image: url(https://media1.giphy.com/media/3ohs7VL5s6gbaheYko/giphy.gif?cid=ecf05e47s1t9vcb1zywn01szqi6b35wxnynpyt3yqtr073sf&rid=giphy.gif&ct=g);
   background-size: cover;
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
  }

@keyframes fadeIn {
   0% {
      opacity: 0;
      font-size: 2em;
      color: seashell;
      margin-top: -55.5%;
      }
   100% {
      opacity: 1;
      color: seashell;
   }
}

.subhead {
  position: absolute;
  width: 90%;
 /* height: auto;
  margin: auto;*/
  margin-left: -175px;
  top: 43.5%;
  z-index: 1;
  overflow: hidden;
  animation: invisible 15s;
}

.subhead h2{
  color: aquamarine;
   font-size:.75em;
   font-style: italic;
}

.scrolldown {
  display: none;
  /*border: 5px solid pink;*/
  position: absolute;
  width: 200px;
  height: auto;
  left: 50%;
  margin-left: -100px;
  top: 55%;
  z-index: 1;
  overflow: hidden;
  animation: invisible 14s;
}

.scrolldown h5{
   font-size:.8em;
}

.scrolldown h3{
   font-size:.6em;
   margin-top: -30px;
   animation: pulse 2.5s ease infinite alternate;
   animation-delay: 13s;
}


  .scrolldown h3, h5 {
    color:seashell; 
   text-align:center;
  }


@keyframes pulse {
  0% {
    opacity: .3;
    font-size: .6em;
  }

  50% {
    opacity: 1;
    font-size: .8em;
  }
  
   100% {
    opacity: .3;
    font-size: .6em;
  }
}


.bigimage {
  display: none;
   position: sticky;
   width: 100%;
   height: 20vh;
   top: 0px;
   z-index: -1;
}

.bigimage img {
  display: none;
   /*border: 3px solid red;*/
   position: sticky;
   width: 100%;
   height: 100vh;
   top: 0px;
   z-index: -1;
}

.textbox {
  overflow-x: hidden;
   background-color: rgba(250, 240, 230, 1);
   width: 100%;
    margin: auto;
/*    margin-top: 50px;*/
 /*  padding: 80px 40px;*/
   line-height: 1.5em;
/*   box-shadow: 2px 2px 8px black;*/
}


.textthree {
  z-index: 1;
   padding-top: 100px;
   width: 100%;
   margin: auto;
}

.textthree p {
   width: 90%;
   margin: auto;
   line-height: 1.5;
}


.slidetext {
  position: sticky;
  top: 0px;
  z-index: -1;
  background-image: url("../img/torrey.jpg");
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 800px;
   color: white;
   left: -140%;
   background-color: rgba(0,0,0, .7);
   padding: 30px;
   line-height: 2.3;
   box-shadow: 2px 2px 8px black;
}

.slidetext p {
  top: 50px;
   width: 100%;
   text-align: justify;
   margin: auto;
   text-shadow: 3px 3px black;
}



.grid {
/*  background: seashell;*/
  background: white;
  padding: 4em 2em;
  display: grid;
  grid-gap: 2em;
  align-items: center;
  display: flex;
}

.grid img {
  width: 30vw;
}
  
.from-left {
 /* background-color: white;*/
/*border: 5px solid orange;*/
/*position: relative;*/
flex: 2;
/*left: -240%;*/
opacity: 0;
/*box-shadow: 2px 2px 8px black; */
}


.from-right {
/*border: 5px solid aqua;*/
/*background-color: white;*/
padding: 2%;
position: relative;
flex: 4;
/*left: 240%;*/
opacity: 0;
/*box-shadow: 2px 2px 8px black; */
}

.explainer {
  overflow-x: hidden;
  border: 5px solid white;
  z-index: 1;
  background-color: white;
  height: 100%;
  width: 100%;
  padding-bottom: 5%;
}

.poster {
  display: show;
}

.explainer h1 {
  padding-top: 5%;
  text-align: center;
}

.explainer video {
  position: relative;
  width: 90%;
  height: 90%;
  display: block;
  margin: auto;
}

/*.quiz {
  margin: auto;
  height: 800px;
  width: 80%;
  overflow:hidden;
}
*/


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











