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

*/

.container {
  display: none;
}

.byline{
   font-weight: bold;
   color: darkred;
   font-size: 1em;
}

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

.parallax img {
  height: 100vh;
  width: 100vw;
}

.enterusername {
   height: 101vh;
   width: 100vw;
   background: gainsboro;
   background-image: url("../img/envelope.jpg");
   background-position: center;
   background-repeat: none;
   background-size: cover;
   position: relative;
   margin-top: -101vh;
}

.entertext {
   top: 60%;
   position: absolute;
   text-align: center;
   width: 100%;
}

.chooseusername {
   background: dodgerblue;
   color: white;
}

h1, p, input, h3, .btn {
   font-family: "Courier New";
}

.hiddentext {
   top: 2%;
   /*position: absolute;*/
   position: relative;
   z-index: 1;
   color: black;
   width: 100%;
   text-align: left;
   margin-top: -101vh;
   padding: 5px;

}

/* Chat containers */
.textmessage {
  border: 2px solid #dedede;
  /*background-color: #f1f1f1;*/
  border-radius: 5px;
  padding: 10px;
  /*margin: 10px 0;*/
  margin: 0 auto;
  margin-top: 5%;
  width: 70%;
  background-image: url("../img/notepaper.jpg");
  background-position: center;
  background-repeat: none;
  background-size: cover;
}

.textmessage video {
  width: 50%;
  float: right;
}

.anchorvideo video {
  margin: 0 auto;
  display: block;
  border-radius: 10px;
  border: 10px dashed black;
  width: 70%;
}

.infographic {
  width: 50%;
  height: 60%;
  position: relative;
}

.textimage {
   width: 25%;
   cursor: pointer;
   float: left;
}

.textimage p {
  font-weight: bold;
  text-align: center;
  color: darkred;
  text-transform: uppercase;
}

.musica {
  display: none;
}

.infographic img {
  float: left;
  width: 60%;
  margin-right: 5%;
  display: block;
}

.textimage img {
  float: left;
  width: 100%;
  margin-top: 8%;
  display: block;
}


.infolay {
  position: absolute;
  background-color: rgba(0,0,0,0.8);
  width: 60%;
  color: white;
  display: none;
}

.infolay p {
  font-weight: bold;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(77,88,99);
  display: none;
  /*overflow: hidden;*/
 /* z-index: 20;*/
}

.enlarge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.content {
  max-height: 80vh;
  overflow: scroll;
  padding: 20px 40px;
  margin: 0 auto;
}

.content img {
  width: 90%;
  display: block;
  margin: 0 auto;
}

.closer {
  position: absolute;
  top: 10px;
  right: -15px;
  color: white;
  background-color: black;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid gainsboro;
  font-size: 2em;
  font-weight: 600;
  text-align: center;
  padding: 6px;
  cursor: pointer;
}

/* Darker chat container */
.darker {
  border-color: white;
  background-color: powderblue;
}

/* Clear floats */
.textmessage::after {
  content: "";
  clear: both;
  display: table;
}

/* Style images */
.avatar {
  float: left;
  max-width: 60px;
  width: 100%;
  margin-right: 20px;
  border-radius: 50%;
}

/* Style the right image */
.textmessage img.right {
  float: right;
  margin-left: 20px;
  margin-right:0;
}

/* Style time text */
.date-right {
  float: right;
  color: dimgrey;
  font-weight: 600;
  font-family: 'Rock Salt', cursive;
  text-transform: uppercase;
}

/* Style time text */
.date-left {
  float: left;
  color: dimgrey;
  font-weight: 600;
  font-family: 'Sacramento', cursive;
}


.slideshow {
  width: 100vw;
  height: 90vh;
}

section {
  /* min-height: 400px; */
  background-color: lightgrey;
  position: relative;
  padding: 0px 10px;
  display: -webkit-flex;
  display: flex;
}

.slideshow h3 {
  font-size: 2em;
}

.slideshow h3, .slideshow p {
  text-align: center;
  margin-right: 5%;
}


.slideshowtext {
  width: 30%;
}

.slideshowcontent {
   width: 70%;
   /*height: 30%;*/
   background-color: black;
}

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

.cycle-slideshow img { 
    width: 60%; height: auto; 
    margin-bottom: 10%; 
    margin-left: 15%;
}

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

.footer {
  background-color: #444;
  color: white;
}

/*MOBILE*/

@media only screen and (max-width: 640px) {
   .container {
      position: relative;
   }
   .slideshow {
      display: block;
      margin-bottom: 80%;
      height: 170vh;
   }
   .slideshowtext {
    width: 80%;
    margin: 0 auto;
   }

   .slideshow img {
    width:100%;
    margin-top: 15%;
    margin-left: -30%;
   }

   .slideshow p {
    text-align: center;
   }

   .cycle-overlay {
    position: static;
   }
   .longavatar {
    height: 100px;
    max-width: 60px;
    float: left;
    margin-right: 10px;
   }

  .content img {
  width: 150%;
}

  .enlarge {
  top: 40%;
  left: 40%;
}

.closer {
  right: -60px;
  }

 }




