 @keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-titles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 1);
  width: 100%;
}

.slide-titleA,
.slide-titleB {
  opacity: 0;
  transform: translateY(20px);
}

/* Animación cuando se activa */
.slide-titleA.animar {
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: 0.3s;
}

.slide-titleB.animar {
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: 1s;
}

.slide-titleA {
  font-weight: 900;
  font-size: 4em;
  margin-bottom: 0;
}

.slide-titleB {
  font-weight: 400;
  font-size: 2em;
}

@media only screen and (max-width: 618px) {
  .slide-titleA {
    font-size: 2em;
    margin-bottom: 0.3em;
  }

  .slide-titleB {
    font-size: 1.2em;
  }
}

.window-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 450px;
  z-index: 1;
}

.window-slider {
  position: relative;
  height: 450px;
}

.window-slide {
  width: 100%;
  height: 450px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.window-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.window-slide.active {
  opacity: 1;
  z-index: 2;
}

.window-slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.window-slider-indicators button {
  width: 15px;
  height: 15px;
  background-color: #cccccc;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.window-slider-indicators button:hover {
  background-color: #888888;
}

.window-slider-indicators button.active {
  background-color: #707070;
  transform: scale(1.3);
}

/* Responsividad */
@media (max-width: 768px) {
  .window-slider-container {
    max-height: 250px;
  }

  .window-slide {
    height: 250px;
  }

  .window-slider-indicators {
    bottom: 15px;
  }
}

@media (max-width: 480px) {
  .window-slider-container {
    max-height: 180px;
  }

  .window-slide {
    height: 180px;
  }

  .window-slider-indicators {
    bottom: 10px;
  }

  .window-slider-indicators button {
    width: 10px;
    height: 10px;
  }
}

