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

.mySlides p {
  margin-bottom: 10px;
}

.slideshow-container img {
  max-height: 450px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px 8px 0;
}

.text span.big {
  display: inline-block;
}

.text span.small {
  display: none;
}

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

/* The dots/bullets/indicators */
.dot {
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

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

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

@keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}

/*========= Bigger Screen ==========*/

@media only screen and (min-width: 1701px) {
  .slideshow-container img {
    max-height: 600px;
  }
}


/*========= tablet and mobile ==========*/

@media only screen and (max-width: 1200px) and (min-width: 1001px) and (min-height: 580px){
  .slideshow-container img {
    max-height: 350px;
  }

  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 14px 4px; 
  }
}

@media only screen and (max-width: 1200px) and (min-width: 1001px) and (max-height: 579px){
  .slideshow-container img {
    max-height: 250px;
  }

  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 14px 4px; 
  }
}

/*========= tablet and mobile ==========*/

@media only screen and (max-width: 1000px) and (min-width: 701px) and (max-height: 600px){
  .slideshow-container img {
    max-height: 400px;
  }

  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 4px; 
  }
}

@media only screen and (max-width: 700px) and (min-height: 400px) {
  .slideshow-container img {
    max-height: 300px;
  }

  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 4px; 
  }
}

@media only screen and (max-width: 700px) and (max-height: 399px) {
  .slideshow-container img {
    max-height: 250px;
  }

  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 4px; 
  }
}

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

  .text {font-size: 14px
  padding: 8px 4px 8px 0;
  }
  .text span.big {
    display: none;
}

  .text span.small {
    display: inline-block;
  }
}
