/* Importar una fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    text-align: center;
}

/* Barra de navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6); /* Para que el video sea más visible */
}

/* Contenedor del video */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lista de navegación */
.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0;
    z-index: 2;
    position: relative;
}

/* Estilos de los enlaces */
.nav-item {
    position: relative;
    overflow: hidden;
}

/* Enlace con efecto de viento */
.nav-link {
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    position: relative;
    padding: 12px 20px;
    transition: color 0.4s ease-in-out;
    display: inline-block;
}

/* Fondo amarillo (efecto de viento) */
.nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #F9D332;
    transition: left 0.3s ease-in-out;
    z-index: -1;
}

/* Líneas laterales */
.nav-link::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 3px;
    top: 0;
    right: -6px;
    background: #930345;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    transform: scaleY(0);
}

/* Hover - efecto de viento y líneas */
.nav-item:hover .nav-link {
    color: #333;
}

.nav-item:hover .nav-link::before {
    left: 0;
}

.nav-item:hover .nav-link::after {
    opacity: 1;
    transform: scaleY(1);
}

/* Responsivo */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .nav-link {
        font-size: 16px;
    }

    .nav-item:hover .nav-link {
        font-size: 18px;
    }
}
