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

body{
  font: 400 18px/1.8 Georgia;
  color: black;
  background-color: #d3d3d340;
}

h1, h2{
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: black;
}

h1 {
  font: 43px Papyrus, fantasy;
}

h2 {
  font: 19px Georgia;
  font-weight: bold;
}

.header{
  height: 530px;
  height: 90%;
}

.header2, .background2{
  display: none;
}

.headersource {
  position: absolute;
  left: 0;
  top: 0;
  color: mintcream;
  text-shadow: 2px 2px 8px #000000;
}

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

.title h1 {
  opacity: 1;
  color: mintcream;
  font-size: 38px;
  font-weight: bolder;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px #000000;
  margin-top: 250px;
  font-family: Papyrus, fantasy;
}

.title h2 {
  opacity: 1;
  color: mintcream;
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 10%;
  text-shadow: 2px 2px 8px #000000;
  font-family: Papyrus, fantasy;
}

.byline {
  background-color: firebrick;
  color: mintcream;
  padding: 11px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px #000000;
  font-family: Papyrus, fantasy;
}

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

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

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

.opie{
   opacity: 0.8;
}

.bigimage img {
  margin-top: -30px;
   width: 100%;
}

.source {
  position: absolute;
  left: 15px;
  top: 0;
  color: #2a0e0e;
  max-width: 300px;
  background-color: #d3d3d394;
  border-radius: 8px;
}




/*pic click interactive section*/

  .clickable {
    width: 450px;
    margin: 30px;
    padding: 20px;
    position: relative; 
  }
  .clickable .caption {
      line-height: 1.7em;
      font-family: Comic Sans MS5, cursive;
      left: 0;
      bottom: -1.5em;
      font-style: italic;
      font-size: 0.8em;
  }
  .clickable img {
    width: 100%;
    height: 100%;
    border: 1px solid black;
  }

  .left {
    float: left;
    cursor: pointer;
    width: 450px;
    margin-left: 50px;
    padding-bottom: 0px;
  }

  .left img {
    -moz-box-shadow: 10px 10px 10px #ccc;
    -webkit-box-shadow: 10px 10px 10px #ccc;
  }

  .left img:hover {
    opacity: 0.3;
    filter: alpha(opacity=30);
  }

  .overlay {
   position: fixed;
   top: 0;
   right: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(34,56,79,0.7);
   display: none;
  }

  .bigphoto .caption {
      line-height: 1.7em;
      font-family: Comic Sans MS5, cursive;
      left: 0;
      bottom: -1.5em;
      font-style: italic;
      font-size: 0.8em;
      color:white;
  }

  .caption {
      line-height: 1.7em;
      font-family: Comic Sans MS5, cursive;
      bottom: -1.5em;
      font-style: italic;
      font-weight: bold;
      font-size: 0.8em;
  }

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

  .closer {
     position: absolute;
     top: -100px;
     right: -150px;
     cursor: pointer;
  }

  .closer img {
    width: 80px;
    transform: rotate(45deg);
  }

  .closer:hover{
   transform: rotate(45deg);
}
    .gallery {
       width: 100%;
       overflow: hidden;
    }

    .gallery .photo {
       background-color: rgb(50,50,50,0);
       padding: 2px 11.8px 2px 11.8px;
       float: left;
       margin: 0px;
    }

    .gallery .photo img {
       border: 3px solid white;
       width: 120px;
       -moz-box-shadow: 2px 2px 15px #ccc;
       -webkit-box-shadow: 2px 2px 15px #ccc;
       box-shadow: 2px 2px 15px #000;
    }

    .bigphoto {
       background-color: rgb(50,50,50,0);
       padding: 5px;
       width: 85.5%;
       margin: auto;
       padding-right: 100px; 
    }

    .bigphoto img {
      margin-left: 0px;
      width: 100%;
       border: 3px solid firebrick;
       -moz-box-shadow: 2px 2px 15px #ccc;
       -webkit-box-shadow: 2px 2px 15px #ccc;
       box-shadow: 2px 2px 15px #000;
    }

    .bigphoto p {
      margin: -100px;
    }

    .gallerystart {
       width: 840px;
       margin: 0 auto;
       margin-top: -80px;
       height: 500px;
    }

    .bigphoto p{
      color: white;
      font-family: 'Fjord One', serif;
      font-size: 1em;
      width: 100%;
      margin-bottom: -5px;
      margin-top: 2px;
      position: relative;
      text-align: left;
      padding-left: -5px;
      line-height: 1.4;
    }

    /*chart clickable*/

  .clickable4 {
  width: 500px;
  margin: 30px;
  padding: 20px;
  float: left;
}

.clickable2 .caption {
    line-height: 1.7em;
    font-family: Comic Sans MS5, cursive;
    left: 0;
    bottom: -1.2em;
    font-style: italic;
}

.clickable4 img {
  width: 100%;
  height: 100%;
  border: 1px solid black;
  cursor: pointer;
}

.overlay4 {
   position: fixed;
   top: 0;
   right: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(34,56,79,0.7);
   display: none;
}

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

.content4 {
   max-width: 1000px;
   max-height: 1000px;
   padding: 20px 40px;
}

.closer4 {
     position: absolute;
     top: 50px;
     right: -100px;
     cursor: pointer;
  }

  .closer4 img {
    width: 80px;
    transform: rotate(45deg);
  }

  .closer4:hover{
   transform: rotate(45deg);
}

  .slideshowcontent {
    padding-top: 100px;
   width: 100%;
   height: 100%;
  }

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

  .cycle-slideshow img { 
    width: 900px; height: 500px;  
  }



  /*pic click interactive section*/

  .overlay3 {
   position: fixed;
   top: 0;
   right: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(34,56,79,0.7);
   display: none;
  }

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

  .righ {
    float: right;
    cursor: pointer;
    width: 450px;
  }

  .righ img {
    -moz-box-shadow: 10px 10px 10px #ccc;
    -webkit-box-shadow: 10px 10px 10px #ccc;
  }

  .righ img:hover {
    opacity: 0.5;
    filter: alpha(opacity=50);
  }

  .closer3 {
     position: absolute;
     top: 10px;
     right: 30px;
     cursor: pointer;
  }

  .closer3 img {
    width: 80px;
    transform: rotate(45deg);
  }
  .closer3:hover {
    transform: rotate(45deg);
  }
  
  .gallery2 {
       width: 100%;
       overflow: hidden;
    }

  .gallery2 .photo {
       background-color: rgb(50,50,50,0);
       padding: 2px 11.8px 2px 11.8px;
       float: left;
       margin: 0px;
    }

  .gallery2 .photo img {
       border: 3px solid white;
       width: 120px;
       -moz-box-shadow: 2px 2px 15px #ccc;
       -webkit-box-shadow: 2px 2px 15px #ccc;
       box-shadow: 2px 2px 15px #000;
    }

  .gallerystart2 {
       width: 840px;
       margin: 0 auto;
       margin-top: 50px;
       height: 500px;
    }


/*info graphic section*/
.clickable2 {
  width: 350px;
  margin: 30px;
  padding: 20px;
  float: right;
}

.clickable2 .caption {
    line-height: 1.7em;
    font-family: Comic Sans MS5, cursive;
    left: 0;
    bottom: -1.2em;
    font-style: italic;
}

.clickable2 img {
  width: 80%;
  border: 1px solid black;
}

.overlay2 {
   position: fixed;
   top: 0;
   right: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(34,56,79,0.7);
   display: none;
}

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

.content {
   max-width: 700px;
   max-height: 700px;
   padding: 20px 40px;
}

  .right {
    float: right;
    cursor: pointer;
    width: 450px;
  }

  .right img {
    -moz-box-shadow: 10px 10px 10px #ccc;
    -webkit-box-shadow: 10px 10px 10px #ccc;
  }

  .right img:hover {
    opacity: 0.5;
    filter: alpha(opacity=50);
  }

  .closer2 {
     position: absolute;
     top: 70px;
     right: -250px;
     cursor: pointer;
  }

  .closer2 img {
    width: 80px;
    transform: rotate(45deg);
  }

  .closer2:hover {
    transform: rotate(45deg);
  }

/*circle part*/

  .circle img {
    width: 20px;
    transform: rotate(45deg);
  }

  .circle:hover {
    transform: rotate(45deg);
  }

  .circle1 {
  position: absolute;
  top: 265px;
  right: 265px;
  cursor: pointer;
  }

  .circle2 {
  position: absolute;
  top: 540px;
  right: 220px;
  cursor: pointer;
  }

  .circle4 {
  position: absolute;
  top: 585px;
  left: 65px;
  cursor: pointer;
  }

  .circle3 {
  position: absolute;
  top: 310px;
  right: 250px;
  cursor: pointer;
  }

  .cappy {
    position: absolute;
    border: 1.5px dotted black;
    height: 100px;
    top: 80px;
    left: 60px;
    overflow: hidden;
    display: none;
  }

  .cappy {
    margin-left:5px;
    width: 100px;
    border-radius: 50%;
  }

  .cappy2 {
    position: absolute;
    height: 100px;
    top: 195px;
    left: 65px;
    margin-top: -5px;
    display:none;
  }

  .playsound, .playsoundtwo {
  display: none;
  }





/*text part*/
.interactivemap {
  padding-top: 20px;
  width: 100%;
  margin:auto;
  display: block;
  overflow: hidden;
}

.textsection {
   color: black;
   font-family: Georgia;
   background-color: #ececec;
   text-align: center;
   text-align: justify;
   display: block;
   padding-top:40px;
   margin-top: -40px;
}

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

.author {
  margin: auto;
  max-width: 700px;
  max-height: 1000px;
  padding-left: 10px;
  padding-top: 10px;
  margin-top: 50px;
  border: 4px dotted firebrick;
  background-color: #ececec;
}

.author img {
  width: 100px;
  border-radius: 50%;
}

  .author span{
  max-width: 500px;
  float: right;
  font-family: Papyrus, fantasy;
  }

  .endpart {
    color: darkgray;
    line-height: 0.8px;
    font-style: italic;
    padding-top:50px;
  }

  .credit{
     width: 100%;
     background-color: #b85454;
     color: mintcream;
     font: 15px Papyrus, fantasy;
     margin-bottom: -20px;
     margin-top: -20px;
  }





/*For phones*/
@media only screen and (max-width: 640px) {

  * {
     box-sizing: border-box;
  }

  .header {
    display: none;
  }

  .background2 {
    display: block;
    width: 100%;
    height: 45%;
  }

  .header2 {
    display: block;
    background-color: #b85454;
    height: 230px;
  }

  .header2 h1 {
    margin: auto;
    font-family: Papyrus, fantasy;
  }

  .title2 {
    width: 100%;
    padding: 5%;
  }

  .title2 h1 {
    color: mintcream;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
  }

  .title2 h2 {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
  }

  .byline2 {
    color: black;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    font-family: Papyrus, fantasy;
    margin-left: 35%;
  }

  h3 {
    margin-left: 10%;
  }

  h2 {
    font-size: 20px;
  }

  .clickable, .clickable2, .clickable3, .clickable4 {
    /*  width: 350px;
      margin: auto;
      padding: 0px;
      float: none;*/
      display: none;
    }
/*
  .clickable .caption {
      line-height: 1.7em;
      font-family: Geogia;
      left: 0;
      bottom: -1.2em;
      font-style: italic;
      font-size: 12px;
  }

  .clickable img {
    width: 100%;
    height: 100%;
    border: 1px solid black;
  }*/

  .interactivemap {
  padding-top: 20px;
  width: 100%;
  margin:auto;
  display: block;
  overflow: hidden;
  }

  .content {
     max-width: 450px;
  }

  /*.closer {
     width: 12.5%;
     height: 17%;
     font-size: 2em;
     font-weight: bolder;
     padding-left: 9px;
  }*/

/*  .datapart {
    width: 100%;
    background-color: #ececec;
  }*/

 /* .infographic img {
     width: 90%;
     margin: 6%;
     padding: 0px;
  }*/


  .textsection {
    display: block;
    padding-top:40px;
    padding-bottom: 10px;
  }

  .textsection p {
    font-size: 0.9em;
    padding: 0% 10%;
  }

  .cappy {
    display: block;
    bottom: 70px;
    margin-left: -5px;
    width: 98%;
    display: none;
  }

  .playsound {
     display: none;
  }

  .author img {
    padding-left: 10px;
  }

  .author span{
    width: 350px;
    padding-right: 10px;
  }

}
