.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #000000eb;
  backdrop-filter: blur(5px);
}

.context {
  z-index: 2;
}

.closer {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.minimizer {
  width: 30px;
  height: 30px;
  color: white;
  z-index: 4;
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  line-height: 30px;
  margin: 50px;
  border: 4px double white;
  box-sizing: content-box;
  cursor: pointer;
}

/* Slideshow container */
.slideshow-container {
  max-width: 960px;
  max-height: 540px;
  position: relative;
  margin: auto;
  overflow: hidden;
}

.slideshow-container.capsule {
  height: 540px;
  width: 100%;
}

@media (max-aspect-ratio: 16/9) {
  .slideshow-container {
    max-width: 960px;
    max-height: 540px;
    aspect-ratio: 16/9;
  }
}

@media (max-aspect-ratio: 9/16) {
  .slideshow-container {
    max-width: 100%;
    max-height: 100%;
    width: 75%;
    aspect-ratio: 9/16;
  }
  .mySlides img {
    height: 100%;
    width: 200% !important;
    margin-left: -50%;
  }
  .mySlides {
    height: 100%;
    overflow: hidden;
  }
}

/* Hide the images by default */
.mySlides {
  display: none;
}

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

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

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

/* The dots/bullets/indicators */
.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}
}