/* Contenedor para el video de fondo */
body,
html {
    margin: 0;
    padding: 0;
    height: 500vh;
    /* Para asegurar que haya suficiente scroll */
}

.text-container h1 {
    color: #ffffff;
    font-family: "Noto Sans";
    text-align: center;
    font-size: 18px;
}

.text-container h2 {
    color: #ffffff;
    font-family: "Noto Sans";
    text-align: center;
    font-size: 16px;
}
.text-container h3 {
    color: #ffffff;
    font-family: "Noto Sans";
    text-align: center;
    font-size: 16px;
}
.text-container p {
    color: #ffffff;
    font-family: "Noto Sans";
    font-size: 14px;
    font-weight:200;
    text-align: center;

}

#Logo_Avner_Grande{
    opacity: 100%;
}

.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 */
}


/* Estilo para contenedor de texto principal (centrado en pantalla) */
.carousel-container {
    position: fixed;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0; 
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
    max-width: 1200px; 
    
}
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
    transition: opacity 0.5s ease-in-out;
}
.image-container {
    width: 40%; 
    height: 40%; 
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    position: relative;
    opacity: 80%;

    
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.image-container:hover {
    transform: scale(1.02);
}
.image-container:hover img {
    transform: scale(1.05);
}
.text-container {
    width: 50%;
    padding: 20px;

    color: white;
    font-family: "Noto Sans";
    margin-top: 20px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
}
.cabezote{
    font-size: 12px;
}

/*LOGO CORRECIONES PIXELADO*/
.image-container img {
    width: 100%; /* Asegúrate de que no exceda los límites */
    height: auto; /* Mantén proporciones */
    max-width: 800px; /* Controla un tamaño máximo razonable */
}
/* BOTONES*/
a.btn {
    font-size: 12px; /* Tamaño de fuente más pequeño */
    padding: 5px 10px; /* Reducir el relleno interno */
    border-radius: 4px; /* Mantener bordes redondeados */
    display: inline-block; /* Asegura que se comporte como botón */
    text-align: center; /* Centrar el texto */
    min-width: auto; /* Opcional: evita un ancho mínimo innecesario */
    font-family: "Noto Sans";
}

@media (max-width: 768px) {
    a.btn {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* 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 */
    }

    .text-container {
        width: 90%;
        padding: 10px;
        font-size: 12px; /* Reducir tamaño de texto */
    }

    .image-container {
        width: 60%;
        height: auto;
    }

    .carousel-container {
        flex-direction: column;
    }

    .carousel-slide {
        padding: 1rem;
    }

    .text-container h1,
    .text-container h2,
    .text-container h3 {
        font-size: 14px; /* Reducir tamaño de los títulos */
    }

    /* 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 {
        position: fixed;
        bottom: 15px; /* Ajustar según tu diseño */
        left: 15px; /* Posición en la esquina inferior izquierda */
    }

    .icono_avner img {
        width: 24px; /* Tamaño ajustado para pantallas pequeñas */
        height: auto; /* Mantener proporción */
    }
}

/* 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 */
    }
}
/*Estetica del boton*/
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3); /* Fondo transparente */
    backdrop-filter: blur(5px); /* Efecto de blur */
    border: none;
    color: #000; /* Color del ícono */
    cursor: pointer;
    font-size: 1.2rem; /* Tamaño del texto o ícono */
    padding: 0.5rem;
    border-radius: 50%; /* Forma circular */
    display: none; /* Ocultar por defecto */
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-button.left {
    left: 10px; /* Posición a la izquierda */
}

.carousel-button.right {
    right: 10px; /* Posición a la derecha */
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.5); /* Fondo más opaco al pasar el mouse */
    transform: translateY(-50%) scale(1.2); /* Efecto de agrandamiento */
}

/* Mostrar botones solo en pantallas pequeñas */
@media (max-width: 768px) {
    .carousel-button {
        display: flex; /* Hacer los botones visibles */
    }

    .carousel-button {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}
