/* Slideshow container */
.slideshow-container {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 100px 0;
  /* margin: auto; */
  /* min-height: 600px; */
  overflow-x: clip;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* Hide the images by default */
.mySlides {
  display: none;
  /* changes for sliding slideshow */
  /* position: absolute; */
  /* left: 0; */
  /* top: 0; */
  /* inset: auto; */
}
.mySlides img {
  width: 100vw;
}
/* Next & previous buttons */
.slides-control {
  display: flex;
  justify-content: center;
  gap: 2rem;
  position: absolute;
  bottom: -50px;
  width: 100%;
  height: fit-content;
}
.prev, .next {
  display: none;

}

/* The dots/bullets/indicators */
.dots {
  position: absolute;
  bottom: 20px;
  /* left: 50%; */
  left: 0;
  right: 0;
  margin: 0 auto;
}
.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 {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.slide {
  animation-name: slide;
  animation-duration: 1.5s;
}

@keyframes slide {
  0% {
    left: 0;
  }

  100% {
    left: -200%;
  }
}
@media screen and (min-width: 768px) {
  .slideshow-container {
    margin: 100px;
  }
  .mySlides img {
    width: 100%;
  }
  .prev, .next {
    display: block;
    cursor: pointer;
    width: auto;
    margin-top: -22px;
    padding: 10px 16px;
    color: #EF483F;
    font-weight: bold;
    font-size: 16px;
    transition: 0.6s ease;
    border: 1px solid #EF483F;
    border-radius: 50%;
    user-select: none;
    aspect-ratio: 1/1;
    &:hover {
      background-color: #EF483F;
      color: #FFFCF7;
    }
  }
}
