/* Estilos para la presentación */
.presentation-slider {
  position: relative;
  width: 100%;
  height: 639px; /* Ajusta la altura según sea necesario */
  overflow: hidden;
  border-radius: 15px; /* Bordes redondeados */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Sombra para un toque elegante */
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1; /* Solo la imagen activa será visible */
}

.slider-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  max-width: 80%;
}

.text-overlay h2 {
  font-size: 2.5em;
  margin: 0;
}

.text-overlay p {
  font-size: 1.2em;
}

.navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.navigation button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 30px;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.navigation button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
