/* 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: black;
   font-family: 'Didot', serif;
   font-size: 1em;
   /*font-family: 'Montserrat', sans-serif;*/
}
 
h2, h3 {
   text-align: center;
}

.photogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 5px;
}

.gridpic {
  position: relative;
}

/*.gridpic .photocaption {
  display: none;
}*/

.photocaption {
  position: absolute;
  bottom: 0px;
  width: 100%;
  max-height: 80%;
  padding-left: 1%;
  color: white;
  background-color: rgba(0,0,0,0.4);
}

.container {
   height: 100vh;
   display: grid;
   grid-auto-flow: column;
}

#plain {
   position: absolute;
   left: 0px;
   top:5px;
   width:15%;
   background-color:black;
   padding: 13px;
   z-index: 3;
   cursor:pointer;
   font-size: 0.8em;

}

#home {
   position: absolute;
   right: 0px;
   bottom:10px;
   width:20%;
   background-color:black;
   color: white;
   padding: 20px;
   z-index: 3;
   cursor:pointer;
   font-size: 0.8em;
}

#plain a {
   text-decoration: none;
   color: white;
}


.collage {
   height: 100vh;
   position: relative;
}

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

.fourscreen {
   width:400vw;
}

.threescreen {
   width: 300vw;
}

.twoscreen {
   width: 200vw;
}

.onescreen {
   width:100vw;
}


.slidebox {
   display: grid;
   grid-auto-flow: column;
   align-content: center;
   position: absolute;
   left: 0px;
   bottom: 0px;
   height: 100%;
   width: 100%;
}

.textslide {
/*   border: 2px solid limegreen;*/
   display: grid;
   margin: auto;
   padding: 80px;
}

.textbox {
   width: 80%;
   background-color: rgba(255,255, 255, 0.9);
   padding: 20px 40px;
   margin: auto;
}

.media {
   background-color: black;
   width: 100vw;
   height: 100vh;
   display: grid;
   align-content: center;
   padding: 5vw;
   position: relative;
}

.mediabox {
   max-width: 85vh;
   max-height: 95vh;
   margin: auto;
   position: relative;
}

.caption {
   text-align: center;
   width: 100%;
   background-color: rgba(0,0,0,0.8);
   color: white;
}


/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.cycle-slideshow {
  max-width: 700px;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.slidetext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 12px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dots {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  text-align: center;
}

.active, .dot:hover {
  background-color: #717171;
}

 
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


.timeline {

}





.plainbox {
   width: 90%;
   background-color: white;
   margin: auto;
   margin-top: 30px;
   padding:50px 80px;

}

.plainbox h1, .plainbox h3 {
   text-align: center;
}



/*media query for responsive design */

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

      #plain, #home{
         width: 80%;
      }

      .textbox {
         width:90%;
      }
}





