
.mySlides {
  max-height: fit-content;
  display: none;
}

img {
  vertical-align: top;
}

/* Slideshow container */
.slideshow-container {
  max-width: 80%;
  max-height: fit-content;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: red;
  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(114, 141, 156, 0.5);
}

/* Caption text */
.slide-caption {
  clear: both;

  border: 0 red solid;
  background-color: rgba(68, 58, 58, 0.4);
  color: rgb(224, 19, 19);
  font-size: 15px;
  margin-top: 2em;
  padding: 9px 0;
  width: 100%;
  text-align: center;
}

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

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

.active {
  background-color: red;
}

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

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

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

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .slide-caption {
    font-size: 11px;
  }
}
