/* Contenedor principal del contenido de bienvenida */
.web-index-welcome-content {
  font-family: 'Arial', sans-serif;
  margin: 0;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh; /* Asegura que ocupe toda la altura visible */
  padding: 20px;
  overflow: hidden; /* Para evitar desbordamientos innecesarios */
  border: 0px solid red;
  margin-top: 120px;
}

/* Estilo para el slider */
.web-index-welcome-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: none; /* Eliminar borde innecesario */
  border-radius: 12px; /* Bordes redondeados para un look más moderno */
}

/* Estilo de cada slide dentro del slider */
.web-index-slide {
  position: relative;
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transition: transform 0.5s ease; /* Agregar transición para deslizamientos suaves */
}

/* Estilo de las imágenes dentro de los slides */
.web-index-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-height: 600px;
  border-radius: 12px; /* Bordes redondeados en las imágenes */
  transition: opacity 0.3s ease; /* Desvanecimiento suave para las imágenes */
}


.web-index-text {
  position: fixed;
  max-width: 98%;
  top: 85%;
  left: 2%;
  background: rgba(85, 255, 69, 0.75); 
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 3vw; 
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.5s ease 1s, transform 0.5s ease 1s;
  z-index: 100;
  color: #f1f1f1;
  text-align: center;
}

.web-index-text h2 {
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 3px; 
  text-transform: uppercase;
  color: #f1f1f1; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}
/*
.web-index-text {
  position: fixed;
  max-width: 95%;
  top: 85%;
  left: 2%;
  background: rgba(85, 255, 69, 0.75); 
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 3vw; 
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.5s ease 1s, transform 0.5s ease 1s;
  z-index: 100;
  color: #f1f1f1;
  text-align: center;
}

.web-index-text h2 {
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 3px; 
  text-transform: uppercase;
  color: #f1f1f1; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}
  */

 /*  Estilo para el texto fijo sobre la imagen */
 /*
.web-index-text {
  width: 100%;
  position: absolute;
  bottom: 10%; 
  left: 0%;
  transform: translateX(-50%) scale(0.7); 
  background: rgba(85, 255, 69, 0.75); 
  padding: 20px 30px;height: 100px;
  border-radius: 8px;
  font-size: 3vw;
  opacity: 0;
  transition: opacity 0.5s ease 1s, transform 0.5s ease 1s;
  z-index: 100;
  color: #f1f1f1;
  text-align: center;
}


.web-index-text h2 {
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 3px; 
  text-transform: uppercase;
  color: #f1f1f1; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}
*/

/* Ajuste para dispositivos más grandes */
@media (min-width: 768px) {
  .web-index-text {
    font-size: 0.7em;  /*Ajuste de tamaño para pantallas grandes */
      top: 88%;
  }
 /* .web-index-text {
    font-size: 0.6em; 
    top: 32%;
}*/
}

/* Activar el texto cuando el slide está activo */
.web-index-slide.active .web-index-text {
  opacity: 1;
  transform: scale(1);
}
