.slideshow-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* mantém proporção */
  overflow: hidden;
  border-radius: 12px;
}


/* Slides */
.mySlides {
  height: 100%;
  width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
}

.mySlides.active {
  display: flex;
  position: relative;
}

/* Images */
.img-capa {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  user-select: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
  border: none;
  z-index: 10;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* The dots/bullets/indicators */
.pontos {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  user-select: none;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #22d3ee;
}

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

/* Fade animation keyframes */
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

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