/* Slideshow container */
.slideshow-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.slideshow-container img {
  /* max-height: 500px; */
  max-height: 410px;
  margin: 0 auto;
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Hide the images by default */
.mySlides {
  position: relative;
  display: none;
  overflow: hidden;
  /* background-color: #62626237; */
  border-radius: 4px;
}

.mySlides img[data-zoomable] {
  transition: transform 0.3s ease;
}

.mySlides img[data-zoomable]:hover {
  transform: scale(1.02);
}

.mySlides svg {
  position: absolute;
  top: calc(50% - 24px);
  left: calc(50% - 24px);
  z-index: 5;
  width: 48px;
  height: 48px;
  color: #dd2a30;
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #dd2a30;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s ease, background-color 0.3s ease;
  border: none;
  border-radius: 0 3px 3px 0;
  background-color: transparent;
}

/* 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);
  color: #dd2a30;
}

/* Slide number text (1/3 etc) */
.slide-number {
  color: #f2f2f2;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  z-index: 5;
}

/* The dots/bullets/indicators */
.dots-container {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  right: 0;
  z-index: 5;
  text-align: 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;
}

.dot.active {
  background-color: #dd2a30;
}

.dot:hover {
  background-color: #717171;
}

/* Zoom overlay */
.zoom-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.zoom-image {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  cursor: default;
}

.zoom-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
  transition: color 0.3s ease;
}

.zoom-close:hover {
  color: #f3de00;
}

/* Fading animation */
.fade__img {
  text-align: center;
  -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;
  }
}
