.facebook-float {
  position: fixed;
  bottom: 90px; /* Ajusta para que no se superponga con el de WhatsApp */
  left: 20px;
  background-color: #1877f2; /* Color oficial de Facebook */
  border-radius: 50%;
  padding: 10px;
  z-index: 1000;
}

.facebook-float:hover {
  background-color: #0d6efd; /* Color más claro al pasar el mouse */
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}
/* Mejora la visibilidad del texto en pantallas pequeñas */
@media (max-width: 576px) {
    .carousel-caption {
    font-size: 1rem; /* Ajusta el tamaño del texto */
    padding: 15px; /* Ajusta el padding */
    }
}

.hero {
  background: url('img/portada.jpeg') no-repeat center center;
  background-size: cover;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}
.hero .content-box {
  background-color: rgba(0, 0, 0, 0.5); /* Gris con transparencia */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgb(255, 255, 255); /* Sombra opcional */
}
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
}
.hero p {
  font-size: 1.2rem;
}
footer {
  background: #FFD700;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.animate-img {
opacity: 0;
transform: translateY(50px);
transition: opacity 1s ease, transform 1s ease;
}

.animate-img.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Asegura que el texto se vea claramente en dispositivos móviles */
.carousel-caption {
    font-size: 1.2rem; /* Aumenta el tamaño del texto */
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Añade sombra para mejor contraste */
}
