/* Contenedor para el video de fondo */
body,
html {
    margin: 0;
    padding: 0;
    
    /* Para asegurar que haya suficiente scroll */
}

h1 {
    color: #ffffff;
    font-family: "Noto Sans";
    text-align: center;
    font-size: 12px;
}

h2 {
    color: #ffffff;
    font-family: "Noto Sans";
    text-align: center;
    font-size: 10px;
}
h3 {
    color: #ffffff;
    font-family: "Noto Sans";
    text-align: center;
    font-size: 10px;
}
p {
    color: #ffffff;
    font-family: "Noto Sans";
    font-size: 12px;
    font-weight:200;
    text-align: center;

}

.btn btn-light{
    font-family: "Noto Sans";
}
.logo :hover {
    opacity: 50%;
}

.whatsapp :hover {
    opacity: 50%;
}

.header {
    position: fixed;
}

nav header{
    z-index: 2;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Centra verticalmente logo y menú */
    padding: 10px 20px;
    position: relative;
    z-index: 1;
    /* Para que el header esté por encima del video */
    background-color: transparent;
}

header img {
    width: 91px;
    height: 49px;
    margin-right: 5px;
    /* Espacio entre logo y menú */
}


/*Configuración del menú de navegación principal y sus elementos internos*/
nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* Centra los elementos del menú */
    align-items: center;
    flex-grow: 0.1;
    /* Permite que el menú se expanda */
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* Espacio entre los elementos del menú */
    align-items: center;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 15px;
    /* Espacio entre los elementos del menú */
}

nav a {
    color: #ffffff;
    font-size: 14px;
    font-family: "Noto Sans";
    font-weight:600;
    text-decoration: none;
    text-align: center;
    /* Centra el texto dentro del enlace */
    transition: color 0.5s;
}

/* Cambios de color cuando el mouse está encima */
nav a:hover {
    opacity: 50%;
}


.icup {
    position: fixed;
    z-index: 1;
    opacity: 63%;
}

/* icono de Avner*/

.icono_avner {
    position: fixed;
    padding: 15px;
    bottom: 15px;
    left: 15px;
}

.icono_avner img {
    width: 40px;
    height: 64px;
}

.iconos img {
    width: 20px;
    height: 20px;

}

.iconos {
    position: fixed;
    right: 15px;
}

.iconos :hover {
    opacity: 50%;
}

.wh img {
    width: 25px;
    height: 25px;
}

.wh {
    position: fixed;
    right: 15px;
    bottom: 30px;
    z-index: 2;
}

/* Contenedor del video */
#video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    /* Detrás de todo */
    overflow: hidden;
}

#scroll-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

/* Capa de ruido */

.ruido {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    /* Fondo con opacidad */
    z-index: 1;
    /* Entre el video y el contenido */
}




/* Centrar el main */
main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background: rgba(255, 255, 255, 0.2); /* Fondo semitransparente */
    backdrop-filter: blur(10px); /* Efecto de desenfoque */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 300px; /* Ajusta el ancho según prefieras */
}

/* Estilos para el formulario */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilos para las etiquetas */
form label {
    color: #ffffff;
    font-weight: bold;
    font-family: "Noto Sans";
    margin: 15px 0 5px;
    font-size: 14px;
}

/* Estilos para los campos de entrada */
form input[type="text"],
form input[type="email"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

form input[type="text"]:focus,
form input[type="email"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Estilos para los botones */
form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-weight: bold;
    font-family: "Noto Sans";
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}


/* Estilos para la caja de texto */
form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    resize: vertical; /* Permite cambiar el tamaño vertical de la caja */
    margin-top: 5px;
    margin-bottom: 15px;
}

form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
} 

#enviar {
    background-color: #8340a4;
}

#enviar:hover {
    background-color: #ea1fba;
}
.habeas_data{
    font-size: 10px;
    color: #ffffff;
    opacity: 0.7;
    font-family: "Noto Sans";
}
/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    /* Hacer el header más compacto y los elementos se apilen */
    .header {
        flex-direction: row;
        justify-content: space-between;  /* Asegura que el logo y el menú estén a los extremos */
        align-items: center;
        padding: 10px;
    }

    nav ul {
        display: none;  /* Ocultar el menú por defecto */
        flex-direction: column;
        align-items: center;  /* Centra los elementos dentro del menú */
        width: 100%;
        padding: 0;
        margin: 0;
        position: absolute;  /* Para que el menú esté por encima de los demás elementos */
        top: 60px; /* Ajustar según el tamaño del header */
        right: 0; /* Alinearlo a la derecha */
        background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro */
    }

    nav li {
        margin: 10px 0; /* Espacio entre los elementos del menú */
        text-align: left;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 16px;
        color: #fff;
    }

    /* Mostrar el menú cuando el contenedor .active esté presente */
    nav.active ul {
        display: flex;
        justify-content: center; /* Asegura que el contenido del menú se centre */
    }

    /* Estilo para los iconos */
    .iconos {
        position: fixed;
        top: 10px;  /* Alinea los iconos a la parte superior */
        right: 10px;  /* Alinea los iconos a la derecha */
        display: flex;
        flex-direction: row;  /* Los iconos en fila */
        align-items: center;
        justify-content: flex-end;
    }

    .iconos a {
        margin: 5px;  /* Reduce el espacio entre los iconos */
    }

    .iconos img {
        width: 18px;
        height: 18px;  /* Reducir el tamaño de los iconos */
    }

    /* Estilo para el ícono Avner */
    .icono_avner img {
        width: 24px; /* Ajusta el tamaño proporcional para pantallas pequeñas */
        height: auto; /* Mantiene proporciones */

    }
}

/* Estilos para pantallas muy pequeñas (móviles) */
@media (max-width: 480px) {
    .text-container h1 {
        font-size: 12px;
    }

    .text-container h2,
    .text-container h3 {
        font-size: 12px;
    }

    .text-container p {
        font-size: 8px; /* Reducir aún más el tamaño del texto */
    }

    .iconos img {
        width: 16px;  /* Aún más pequeños los iconos en pantallas muy pequeñas */
        height: 16px;
    }

    .wh img {
        width: 18px;
        height: 18px;
    }

    /* Estilo para el ícono Avner en pantallas muy pequeñas */
    .icono_avner img {
        width: 20px; /* Tamaño reducido para móviles */
        height: auto; /* Mantener proporción */
    }
}


/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    main {
        width: 80%; /* Ajustar el ancho para hacerlo más compacto */
        max-width: 300px; /* Limitar el ancho máximo */
        padding: 15px;
    }

    form label {
        font-size: 12px; /* Reducir tamaño de texto en etiquetas */
    }

    form input[type="text"],
    form input[type="email"],
    form textarea,
    form button {
        padding: 8px; /* Reducir padding */
    }

    form button {
        font-size: 14px; /* Ajustar tamaño de texto en el botón */
    }
}

/* Estilos para pantallas muy pequeñas (móviles) */
@media (max-width: 480px) {
    main {
        width: 90%; /* Asegura que el formulario sea aún más compacto */
        max-width: 250px; /* Limitar aún más el ancho máximo */
        padding: 10px;
    }

    form label {
        font-size: 10px; /* Reducir tamaño de texto en etiquetas */
    }

    form input[type="text"],
    form input[type="email"],
    form textarea {
        padding: 6px; /* Reducir padding en campos de entrada */
        font-size: 12px;
    }

    form button {
        padding: 8px;
        font-size: 12px; /* Reducir tamaño de texto en el botón */
    }
}
