@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Lista de letras: Inter, Lato, Poppins y Roboto */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Evita el desplazamiento horizontal */
}

.slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0; /* Elimina cualquier padding adicional */ 
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; /* Asegúrate de que ocupe todo el espacio disponible */
}

.slide {
    position: relative;
    flex: 0 0 100%; /* Cada slide ocupa el 100% del contenedor */
    height: 100vh;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 75, 75, 0.573); /* Cambia el color y opacidad de la capa aquí */
    z-index: 1; /* Coloca la capa encima de la imagen pero detrás del texto */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Elimina el espacio por comportamiento inline */
    position: relative; /* Asegúrate de que la imagen esté debajo del pseudo-elemento */
    z-index: 0; /* Asegúrate de que esté detrás de la capa grisácea */
}

.caption {
    
    position: absolute;
    bottom: 80px;
    left: 100px;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    width: 60vw;
    z-index: 2;
}

.caption h1 {
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); 
    margin: 0 0 5px 0;
    font-weight: 600;
    font-size: 40px;
}

.caption h2 {
    font-family: 'Inter', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); 
    margin: 0 0 10px 0;
}

.caption p {
    font-family: 'Inter', sans-serif;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    font-style: italic;
    font-weight: 600;
    margin: 0;
    font-size: 1.2rem;
}

/* Navigation arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}

.arrow-left {
    left: 20px;
}

.arrow-right {
    right: 20px;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Navigation dots */
.navigation-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 998;
}

.navigation-dots div {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.navigation-dots .active {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .caption {
        bottom: 40px;
        left: 65px;
    }

    .slide {
        height: 80vh;
    }

    .caption h1 {
        font-size: 1.3rem;
    }

    .caption h2 {
        font-size: 1rem;
    }


    .caption p {
        font-size: 0.7rem;
    }

    .arrow {
        font-size: 2rem;
        background: none;
    }

    
}
