/* ------------------------------- WORK STYLING ----------------------------- */

p {
  background-color: white;
}

.work-grid {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.work-col {
  max-width: 75%;
}

.project-thumbnail {
  width:100%;
  transition-duration: 1s;
  margin:0.5em;
}

/* ------------------------------ WORK 0n STYLING --------------------------- */

.intro-container {
  align-items: center;
  justify-content: center;
}

.video-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 56.25% 0 0 0;
  position:relative;
  margin: 0.5em;
}

iframe {
  position: absolute;
  top: 0;
  left:0;
  width:100%;
  height:100%;
}

.work-desc {
  margin: 3em;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.specs {
  flex:1;
  max-width: 30em;
}

.mini {
  display: none;
}

.summary {
  flex:1;
  max-width: 30em;
}


.info {
  margin:3em;
  display: flex;
  flex-direction: column;
  text-align: left;
}

h2 {
  color: #7B8C00;
  text-decoration: none;
  margin-top: 1em;
}

.process-desc{
  flex:1;
}

.process-img {
  flex: 1;
}


.img-row {
  flex:1;
  display: flex;
  flex-direction: row;
}

.process-img-02 {
  flex:1;
  width:33.33%;
}

.img-row-02 {
  flex:1;
  display: flex;
  flex-direction: row;
}

.process-img-03 {
  flex:1;
  width:60%;
}

.process-img-03-1 {
  flex:1;
  width:40%;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  padding-top: 2em;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* 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;
  user-select: none;
}

/* 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 */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.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;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.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}
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.process-video {
  padding-top:5%;
}

@media screen and (min-width: 35em) {

  .work-grid {
    flex-direction: column;
  }

  .work-col {
    max-width:90%;
    display:flex;
    flex-direction: row;
    margin:0.25em;
  }

  .project-thumbnail {
    width:90%;
    transition-duration: 1s;
    margin:0.5em;
  }

  .video-container {
    margin: 1em;
  }
}


@media screen and (min-width: 55em) {

  .work-grid {
    width: 100%;
    margin:0;
    padding:0;
    flex-direction: row;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .work-col {
    display:flex;
    flex-direction: column;
    width:25%;
    margin:1em;
    padding:0;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .project-thumbnail {
    width:100%;
    transition-duration: 1s;
    margin:1em;
    padding:0;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .work-desc {
    flex-direction: row;
  }

  .specs {
    margin-right: 3em;
  }

  .mini {
    display: inline-block;
  }

  .summary {
    margin-left: 3em;
  }

  .info {
    margin-left:25%;
    margin-right:25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .video-container {
    margin-top: 0;
    padding: 0 0 32.5% 0;
  }


  .slideshow-container {
    padding-top: 4em;
  }

}
