* {box-sizing: border-box;}
body {font-family: Oswald, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}

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

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 25px;
  font-weight: 500;
  padding: 8px 12px;
  position: absolute;
  bottom: 800px;
  width: 100%;
  text-align: center;
  text-shadow: 2px 2px 2px #000, 5px 5px 5px #43484e;
  letter-spacing: 1px;
   z-index: 350;
  }

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 6.0s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
@media (max-width: 1232px) {
.text {
bottom: 700px;
}
}
@media (max-width: 540px) {
.text {
font-size: 20px;
bottom: 500px;
}
}
@media (max-width: 428px) {
.text {
font-size: 20px;
bottom: 400px;
}
}	
@media (max-width: 417px) {
.text {
font-size: 20px;
bottom: 400px;
}
}	
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 14px; bottom: 400px;}
  
}
}