/* template.css 
   Project: Template for USC Annenberg MS and UG programs
   Author: Prof. Peggy Bustamante
   Date: July 2018
  
   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


*/

/********* MAIN *********/
body, html {
  height: 100%;
  margin: 0;
  font-size: 1.1em;
  font-family: "PT Serif",serif;
  color: #777;
}
iframe {
    min-width: 100%; min-height: 100%;
}


h1, h2, h3 {
  text-align: center;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #999;
}

h1 {
  font-family: "PT Serif",serif;
}

h2 {
  font-family: "PT Serif",serif;
}

h3 {
  font-family: "PT Serif",serif;
  color: rgb(249, 145, 145);
}

a {
  color: #900;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: darkred;
  background-color: blanchedalmond;
  text-decoration: underline;
}

section {
  min-height: 400px;
  background-color: gainsboro;
  position: relative;
  padding: 30px 0px;
  display: -webkit-flex;
  display: flex;
}

.textbox {
  color: lightgray;
  background-color: #282E34;
  text-align: center;
  padding: 30px 30px;
  text-align: center;

}

 .textbox p {
  font-size: 1em;
  font-weight: lighter;
  text-align:center;
 

}

.textbox h3 {
color: rgb(249, 145, 145)
}


.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#header-image-front {
  background-image: url("../img/mariarchi-plaza.jpg");
  background-position: 90% 0px;
  background-repeat: no-repeat;
}

.header-image {
  position: relative;
  padding: 0;
  margin: 0;
  clear: both;
  width: 100%;
  height: 800px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: grayscale(0%);
}

.image-curtain {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 10%, dimgray 140%);
}

.header-texts {
  width: 90%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-flow: row wrap;
  font-family: 'Lato', Helvetica, sans-serif;
 
}

.header-texts h1 {

  color: white;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 10px 0px;
  font-family: 'Roboto Slab', serif;
  font-size: 3em;
  line-height: 1.2em;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}


.header-texts h3 {
 
  color: white;
  width: 100%;
  height: auto;
  margin: 0;
  font-family: 'Lato', Helvetica, sans-serif;
  font-size: 1.6em;
  font-weight: 300;
  text-align: center;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

#scroll-down-button {
  position: relative;
  width: 50px;
  height: 50px;
  top: 100%;
margin-top: 70%;
cursor: pointer;
  text-decoration: underline;
}


.scroll {
  font-weight:bold;
}

/* BACKGROUND IMAGES for parallax effect */
.divider.bgimg1 {
  background-image: url("../img/parrallax.jpg");
  min-height: 400px;
}

.divider.bgimg2 {
  background-image: url("../img/weirdwave-space.jpg"); /* ../img/img_parallax2.jpg */
  min-height: 400px;
}

/* miscellaneous */

span.hilite {
  background-color: yellow;
  border: 2px solid black;
  padding: 5px;
}

.words {
  color: #ddd;
  background-color: #282E34;
  text-align: center;
  padding: 50px 80px;
  text-align: justify;
}

/* DIVIDERS */

.divider {
  position: relative;
}

.divider .caption {
  position: absolute;
  top: 10%;
  text-align: left;
  color: #fff;
  letter-spacing: 2px;
  width: 27%;
  border: 1px solid black;
  background-color: rgba(0,0,0, 0.4);
  padding: 20px;
  font-size: 1.1em;
  box-shadow: 2px 2px 8px #000000;
  left: 4%;
}

/* MAIN HEADLINE AND BYLINES */
/* plus ALL TEXT */

.title {
  position: absolute;
  left: 0%;
  top: 25%;
  width: 90%;
  padding: 5%;
  text-align: center;
}

.title h1 {
  opacity: 1;
  color: MintCream;
  font-size: 50px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 2px 2px 10px #000000;
}

.title h2 {
  opacity: 1;
  color: MintCream;
  font-size: 31px;
  font-weight: bold;
  margin-bottom: 10%;
  text-shadow: 2px 2px 8px #000000;
}

.byline {
  background-color: rgb(249, 145, 145);
  color: dimgray;
  padding: 11px;
  padding: 8px;
  font-size: 14px;
  font-weight:bold;
  text-transform: uppercase;
  position:relative;
  top:50%;
  left:50%;
  margin-top:-50px; /* this is half the height of your div*/  
  margin-left:-100px;
}

.title0 {
  background-color: white;
  text-align: center;
  margin-bottom: 37px;
}

.title0 h1 {
  color: #333;
  font-size: 49px;
  font-weight: bold;
  text-transform: uppercase;
}

.title0 h2 {
  opacity: 1;
  color: #333;
  font-size: 27px;
  font-weight: bold;
  margin-bottom: 57px;
}


/* MAIN TEXT */

section.maintext {
  position: relative;
  color: #777;
  background-color: white;
  text-align: center;
  text-align: justify;
  display: block; /* removes display: flex */;
  padding-bottom:40px;
}

section.maintext p {
  line-height: 1.7em;
  padding: 0% 23%;
}


/* Text embed teasers */

.teaser {
  border-top: 15px solid rgb(249, 145, 145); /*adds fat line above */
  border-left: 2px solid rgb(249, 145, 145); /*adds thin line on left */
  width: 300px;
  height: auto;
  margin: 30px;
  padding: 20px;
}

.teaser .caption {
    line-height: 1.7em;
    font-style: italic;
    left: 0;
    bottom: -1.2em;
    font-size: .9em;
    color: #333;
}


.teaser .attribution {
  line-height: 1.2em;
  font-style: italic;
  left: 0;
  font-size: 0.8em;
  font-weight:bold;
  color: rgb(249, 145, 145);
}

.tright {
  float: right;
  
}

blockquote {
  font-size:1.5em !important;
}
.tleft {
  float: left;
}

.teaser video {
  height: 100%;
  width: 100%;
}

.teaser img {
  width: 100%;
  height: 1000%;
  border: 1px solid #333;
}

.teaser blockquote {
  display: block;
  background: #fff;
  padding: 15px 20px 15px 45px;
  margin: 0 0 20px;
  position: relative;
  
  /*Font*/
  font-family: Georgia, serif;
  font-size: 2.1em;
  line-height: 1.2;
  color: #666;
  text-align: left;
  font-style: italic;
  

  
  /*Box Shadow */
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
}

.teaser blockquote::before{
  content: "\201C"; /*Unicode for Left Double Quote*/
  
  /*Font*/
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color: #999;
  
  /*Positioning*/
  position: absolute;
  left: 10px;
  top:5px;
}

.teaser blockquote::after{
  /*Reset to make sure*/
  content: "";
}




/* MAIN VIDEO CSS */

section.mainvideo {
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.videotext {
  width: 27%;
  min-height: 98%;
}


/* This fixes the collapsing */
.youtube { min-width: 73%; min-height: 100%; }

/* MAIN AUDIO */

section.mainaudio {
  /*background-image: url("../img/beach.jpg");*/
  /* -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;*/
}

.audio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.audiotext {
  width: 27%;
}

section.mainaudio .video {
  width: 20%;
  display: flex;
  flex-wrap: wrap;
}

aside.video {
  width: 47%;
  margin: 4% 2% 2% 2%;
}

aside.sound img {
  width: 100%;
  border: 1px solid #333;
}

aside.sound audio {
  width: 100%;

}

/* VR AND 360 VIDEO */
section.vr360video {
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.vr360videotext {
  width: 27%;
}

/* This fixes the collapsing */
.vr360youtube { min-width: 73%; min-height: 100%; }


/* PHOTO GALLERY / SLIDESHOW */

section.slideshow {
  /*background-image: url("../img/beach.jpg");*/
  /*-webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;*/

}

.slideshowtext {
  width: 23%;
}

.slideshowcontent {
   width: 77%;
   height: 100%;
   background-color: black;
}

.cycle-slideshow { 
    width: 100%; max-width: 1400px; margin: 0px auto; 
}

.cycle-slideshow img { 
    width: 100%; height: auto;  
}


/* GOOGLE MAP */


section.gmapmain {
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.gmaptext {
  width: 27%;
}


.gmap { 
  min-width: 73%; min-height: 100%; 
}


/* TIMELINE AND STORYMAP */

section.knightlab {
  /*background-image: url("../img/beach.jpg");*/
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

section.knightlab .timelinetext {
  width: 33%;
}


/* This fixes the collapsing */
section.knightlab .timeline { 
  width: 100%; min-height: 100%; 
}

/* SOCIAL MEDIA */
section.socialmedia {
  /*background-image: url("../img/beach.jpg");*/
  /* -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;*/
}

.twittertext {
  width: 23%;
}

.twitter { 
  width: 77%; max-height: 600px; 
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.twitter aside {
  width: 100%; max-height: 600px;
  margin-left: 1%;
  overflow: scroll;
}


/* DATA VIZ */
section.datavizmain {
  /*-webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;*/
}

.dataviztext {
  width: 37%;
}

.dataviz { 
  margin: 1% auto;
}

.dataviz img {
  width: 100%;
}

section.footer {
  background-color: black;
  color: blanchedalmond;
  padding: 10px 20px;
  min-height: 30px;
  text-align: left;
  font-size: 0.8em;
}

/*FOOTER*/


.footer {
  background-color: white;
  width: 100%;
  height: auto;
  text-align: center;
  display: inline-block;
  /* flex-direction: column; */
  align-items: center;
  justify-content: flex-end;
  padding: 1%;
  /* margin-left: 60px; */
  box-shadow: 0 0 8px rgba(0,0,0,.1);
  border: 1px solid #d7d7d7;
  margin-top: 1%;

}



.footer p {
  color: black;
  font-family: 'Roboto Slab', serif;
  font-size: 1em;
  line-height: 1.4em;
  margin: 10px 20px 5px 20px;
  z-index: 999;
  font-weight: bold;
}

.footer .right {
 
  font-size: 1.2em;
  color:rgb(249, 145, 145);
  
}



/* MAKING IT MOBILE FRIENDLY */

/* Turn off parallax scrolling for iPad and smaller */


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

    .parallax {
        background-attachment: scroll;
    }
}    



/* Turn off flex for iPad portrait mode  */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation : portrait) { 

  
    .tright, .tleft {
      float: none;
      width: 90%;
    }

    section.mainvideo {
      display: block;
    }

    section.mainvideo .videotext {
      width: 89%;
      margin: 1%;
    }

    section.vr360video {
      display: block;
    }
    
    section.vr360video .vr360videotext {
      width: 89%;
      margin: 1%;
    }

    section.gmapmain {
      display: block;
    }
    
    section.gmapmain .gmaptext {
      width: 89%;
      margin: 1%;
    }

    section.socialmedia {
      display: block;
    }
    
    section.socialmedia .twittertext {
      width: 89%;
      margin: 1%;
    }

    section.socialmedia .twitter {
      width: 95%;
      margin-bottom: 10px;
      padding: 2%;
    }

}

@media only screen and (max-width: 768px) {
    section.maintext p {
      padding: 1% 11%;
   }
   
    .parallax {
      background-attachment: scroll;
    }

    .header-texts {
      font-size: 0.7em;
    }
  
    .header-texts h3 {
      font-size: 0.6em;
    }

    .header-image {
      background-attachment: scroll;
      
  }

  .southla {
    display:grid;
    grid-template-columns: 1fr;
  }

  .card  {
    width: 90% !important;
    margin:15px !important;
    padding:0 !important;
  }
  
  .textcontainer .rectangle {
    font-size: 0.8em;

  }

  .transcription {
    max-width: 100% !important;
  }

  audio {
    width: 90% !important;
    margin-left: 10px !important;
  }

  .head h1 {
    font-size: 1.8em !important;
  }

  .modal-content {
    padding:0px !important;
  }

  .gallery {
    grid-template-columns: 1fr 1fr !important;
  }

  .imgbox h4 {
    
    font-size:15px !important;
    padding-right: 4% !important;
  
  }
}


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

    .parallax {
      background-attachment: scroll;
    }

    iframe {
      min-height: 600px;
      width: 97%;

    }

    section {
      display: block;
      padding: 1%;
    }

    section .textbox {
      width: 86%;
      margin: 0%;
    }

    section .content {
      width: 100%;
      height: 100%;
    }

    .title h1 {
      font-size: 47px;
    }

    .title h2 {
      font-size: 27px;
    }

    .title0 {
      padding: 2%;

    }

    .title0 h1 {
      font-size: 41px;
    }

    .title0 h2 {
      font-size: 21px;
    }

    .byline {
      padding: 8px;
      font-size: 10px;
      letter-spacing: 3px;
      
    
    }

    section.maintext {
      padding-bottom: 14%;
    }

    section.maintext p {
      line-height: 1.3em;
      padding: 1% 7%;
      text-align: left;
      font-size: 0.9em;
    }

    section.maintext span.readfull {
      margin: 4.7%;
    }

    section.maintext span.readfull2 {
      margin: 4.7%;
    }

    .teaser {
      width: 77%;
      margin: 7%;

    }

    .tright, .tleft {
      float: none;

    }

    .teaser blockquote {
      font-size: 1.4em !important;
    }

    .divider .caption {
      position: absolute;
      top: auto;
      bottom: 2%;
      width: 82%;
 
    }

    section.mainvideo .content {
      height: 400px ;
    }

    section.mainaudio .audio {
      width: 100%;
      display: block;
    }

    aside.sound {
      /* border: 3px solid #333;*/
      background-color: #aaa;
      width: 82%;
      height: 100%;
      margin: 1%;
      padding: 7%;
    }

    section.gmapmain .content {
      width: 98%;
      height: 400px;
    }

    section.knightlab .timeline {
      width: 100%;
      height: 800px;
    }

    .twitter {
      width: 95%;
      margin-bottom: 10px;
      padding: 2%;
    }

    section.footer p {
      font-size: 14px;
    }


}


/*SCROLL SECTION*/


.section1 {
  position: relative;
  width: 100%;
  min-height: 800px;
}

.section2 {
  position: relative;
  /* border: 5px solid hotpink; */
  width: 100%;
  min-height: 800px;
}

.section3 {
  position: relative;
  /* border: 5px solid hotpink; */
  width: 100%;
  min-height: 800px;
}

.section4 {
  position: relative;
  /* border: 5px solid hotpink; */
  width: 100%;
  min-height: 800px;
}


.section1 .first-text {
  background-color:white;
  position: absolute;
  top: 25%;
  right: 10%;
  padding: 50px;
  padding-top: 20px;
  width: 40%;
  text-align: left;
  opacity:0.5;
}


.section1 .first-image img {

  /*top: 25%;
  padding: 50px;
  padding-top: 20px;*/
  width: 100%;
  text-align: left;
  position:fixed;
 

}


.section2 .second-image img {
  width: 100%;
  text-align: left;
  position:fixed;
  top:0;
  display:none;
  
}


.section2 .second-text {
  background-color:white;
  position: absolute;
  top: 25%;
  right: 10%;
  padding: 50px;
  padding-top: 20px;
  /* background-color: rgba(135,206,235,.5); */
  width: 40%;
  text-align: left;
  opacity:0.5;
  

}

.section3 .third-image img {
  width: 100%;
  text-align: left;
  position:fixed;
  top:0;
  display:none;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
filter: grayscale(100%);
  
}

.section3 .third-text {
  background-color:white;
  position: absolute;
  top: 25%;
  right: 10%;
  padding: 50px;
  padding-top: 20px;
  /* background-color: rgba(135,206,235,.5); */
  width: 40%;
  text-align: left;
  opacity:0.5;

}

.section4 .fourth-image img {
  width: 100%;
  text-align: left;
  position:fixed;
  top:0;
  display:none;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
filter: grayscale(100%);
  
}

.section4 .fourth-text {
  background-color:white;
  position: absolute;
  top: 25%;
  right: 10%;
  padding: 50px;
  padding-top: 20px;
  /* background-color: rgba(135,206,235,.5); */
  width: 40%;
  text-align: left;
  opacity:0.5;

}



/*SLIDERS OPACITY FADE IN/OUT*/

.audiotext {
  width: 27%;
}

section.maingallery.parallax {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color:lightgray;
  padding: 0px 90px 20px;
}

.outside {
  position: relative;
  background-color: lightgray;
  width: 85%;
  min-height: 420px;
  float: left;
  margin-top: 10%;
}

.outside h3 {
  color:rgb(249, 145, 145);
}


.subhead {
  position:absolute;
  margin-top:-15%;


}


/*SLIDER ONE MARIARCHI PLAZA*/

.old {
  opacity: 1.0;
  position: absolute;
  top: 20px;
  left: 20px;
}

.new {

  opacity: 0;
  position: absolute;
  top: 20px;
  left: 20px;
}

img {
  width: 96%;
}

#slider {
  position: absolute;
  top: 350px;
  left: 20px;
  width: 93%;
  background-color: #282E34;
}

.ui-slider {
  background-color: slategray;
}

.ui-slider-handle:hover, .ui-slider-handle:active {
  background-color: salmon;
}

/*SLIDER TWO WEIRD WAVE*/

#slider-two {
  position: absolute;
  top: 350px;
  left: 20px;
  width: 93%;
  background-color: #282E34;
}

.old-two {
  opacity: 1.0;
  position: absolute;
  top: 20px;
  left: 20px;
}

.new-two {

  opacity: 0;
  position: absolute;
  top: 20px;
  left: 20px;
}

/*SLIDER THREE NICODIM GALLERY*/

#slider-three {
  position: absolute;
  top: 350px;
  left: 20px;
  width: 93%;
  background-color: #282E34;
}

.old-three {
  opacity: 1.0;
  position: absolute;
  top: 20px;
  left: 20px;
}

.new-three {

  opacity: 0;
  position: absolute;
  top: 20px;
  left: 20px;
}

/*SLIDER FOUR PRIMERA TAZA*/

#slider-four {
  position: absolute;
  top: 350px;
  left: 20px;
  width: 93%;
  background-color: #282E34;
}

.old-four {
  opacity: 1.0;
  position: absolute;
  top: 20px;
  left: 20px;
}

.new-four {

  opacity: 0;
  position: absolute;
  top: 20px;
  left: 20px;
}

/*PHOTO GALLERY BUSINESS OWNERS*/

.photogallery {
  position:relative;
  background-color:rgb(249, 145, 145);
  width:100%;
}

.southla {
  position: relative;
   padding: inherit;
   margin-left: 3%;
   /* margin-top:2%;
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   grid-gap: 0.5em;
   padding: 20px; */
}

.card {
  /* position: relative; */
  background-color: white;
   /* width: 400px;*/
   height: auto;
   width: 25%;
  text-align: left;
   padding: 7px 10px;
   display: inline-block;
   vertical-align: top;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0,0,0,.1);
  border: 1px solid #d7d7d7;
  line-height: 1.4375rem;
   font-weight: 400;
   font-style: normal;
   font-family: georgia,"times new roman",times,serif;
   margin: 40px;
   float: left;
}

.card img{
   height:auto;
   width: 70%;
  display: block;
   position: relative;
  left: 0;
  padding: 5% 15% 2%;

}

.card h3 {
   color: rgb(249, 145, 145);
}

.card h4 {
 text-align:center;
}

.card p{
   font-style: italic;
   color: grey;
   padding: 3% !important;
   /* line-height:0rem; */

}

#link{
   float:right;
   padding: 2%;
   font-size: 0.9em;

}


#link a {
   color: black;

}

#modal {
   display:none;
   position: fixed; /* Stay in place */
   z-index: 1; /* Sit on top */
   left: 0;
   top: 0;
   width: 100%; /* Full width */
   height: 100%; /* Full height */
   overflow: auto; /* Enable scroll if needed */
   background-color:white; /* Fallback color */


}

.modal-content {
   background-color: #fefefe;
   margin: 5% auto; /* 15% from the top and centered */
   padding: 10px;
   width: 100%; /* Could be more or less, depending on screen size */
}

.article img {
  width:60%;
  padding: 0% 19%;
}

.gallery {
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;


}

.gallery img{
 transition:0.5s;
 padding:15px;
 width:90%;
 grid-gap: 1em;

}

.gallery img:hover{
  transform:scale(1.1);
 
 }

/* The Close Button */
.close {
   color: black;
   float: right;
   font-size: 34px;
   font-weight: normal;
   border: 0;
   width: 33px;
   height: 36px;
   top: 4px;
   right: 13px;
   /* border-radius: 50%; */
   font-family: nyt-franklin,arial,helvetica,sans-serif;
   padding: 5px;
   position: absolute;
   /* background-color: #ccc; */
   z-index: 1;
       
}

.close:hover,
.close:focus {
   color:grey;
   text-decoration: none;
   cursor: pointer;
  
}

.head{
   text-align:center;
   color: #333;
   font-family: georgia,"times new roman",times,serif;
}

.head h1 {
   font-size: 2.3em;
   color:rgb(249, 145, 145);
}

.head h3 {
   font-weight: normal;
   font-size: 1.3em;
   color: grey;
}

.caption {
   font-size: 1.0em;
   max-width: 62%;
   margin: 0 auto;
   font-family: georgia,"times new roman",times,serif;
   color: #333;
   width: 100%;
   margin-bottom: 0%;
   margin-top: 2%;
   line-height:1.5em;
   /* background-color: gainsboro; */
   height: auto;
   padding:0px;
   opacity: 0.6;
   font-weight:bold;
   
}


.transcription {
   width: 100%;
   margin: 0 auto;
   font-size: 18px;
   line-height: 1.7;
   color: rgb(100, 97, 97);
   font-weight: 400;
   font-style: italic;
   font-family: georgia,"times new roman",times,serif;
   
}

.transcription h4 {
  max-width: 50%;
  margin-left: 25%;
  text-align:center;
}


.textarticle {
   
   width: 100%;
   max-width: 60%;
   margin: 0 auto;
   font-size: 18px;
   line-height: 1.7;
   color: #333;
   font-weight: 400;
   font-style: normal;
   font-family: georgia,"times new roman",times,serif;
}

audio {
   width: 60%;
   margin-left: 20%;
}

.footer {
   background-color: white;
   width: 100%;
   height: auto;
   text-align: center;
   display: inline-block;
   align-items: center;
   justify-content: flex-end;
   padding: 1%;
   box-shadow: 0 0 8px rgba(0,0,0,.1);
   border: 1px solid #d7d7d7;
   margin-top: 1%;

}

.imgbox {
  background-color:#282E34 !important;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: snow;
  z-index: -3;
}

.imgbox img {
  width:50%;
  height: 50%;
  display: block;
  object-fit: cover;
  float:right;
  display:none;
  margin-top:15%;
  padding-right: 5%;
}

.imgbox h4 {
  text-align:right;
  letter-spacing: 5px;
  text-transform: uppercase;
  color:rgb(249, 145, 145);
  font-size:25px;
  margin-left: 40%;
  padding-top: 45%;
  padding-right: 5%;
  display:none;
}

.textcontainer {
 
  width: 30%;
  margin-left: 5%;
  margin-top:15%;
  /*margin-top: -80vh;*/
  color: white;
  font-size:1.1em;
  /*padding: 1%;*/
}


.rectangle {
  width: 100%;
  padding: 20px;
  background-color: transparent;
  margin-bottom: 40vh;
  text-align: justify;
  line-height: 1.5;
}


.text5 {
  margin-bottom: 0;
}


.secondtext {
  position: relative;
  left: -110%;
}

