::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background: #132168;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #132168d5;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 1.6rem;
    /*background-color: #0a1445; */
    background: linear-gradient(to right, #132168, #244eca);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px 0;
}

/* Contenedor para centrar contenido */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
}

/* Logo */
.logo img {
    height: 60px;
}

/* Menú */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #0033A1;
    font-size: 1.4rem;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Icono Menú Hamburguesa (Oculto en Escritorio) */
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    height: 90vh;
    margin-top: 80px;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Caja flotante (50% en el banner, 30% en el container de abajo) */
.info-box {
    position: absolute;
    left: 70%;
    top: 65%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    z-index: 2;
   /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.377), rgba(0, 0, 0, 0.904));
    box-shadow: 0 0 15px rgba(0, 4, 255, 0.5);*/
    color: white;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.info-box h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.info-box img{
    height: 300px;
    width: auto;
    margin-left: 1.8rem;
}

.info-box h3 {
    font-size: 1.9rem;
    margin: 15px 0;
    color: white;
    text-shadow: 
        0 0 5px #002bff,
        0 0 10px #002bff, 
        0 0 15px #002bff, 
        0 0 20px #002bff;
}

.info-box h4 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.location {
    font-size: 1.2rem;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    color: #b0ff36;
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 15px;
    transition: 0.3s;
}

/* Descripción */

/* Contenedor del video */
.separator-banner {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video de fondo */
.separator-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    will-change: transform;
}

/* Sección con imagen de fondo */
.background-section {
    position: relative;
    width: 100%;
    height: auto;
    padding: 7rem;
}

/* Caja de contenido */
.content-box {
    max-width: 40%;
    color: white;
    border-radius: 10px;
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    text-align: justify;
}

.content-box.show {
    opacity: 1;
    transform: translateX(0);
}

/* Temario */

.text-container {
    width: 45%;
    color: white;
    opacity: 0;
    transform: translateX(50px);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    margin-top: 4rem;
}

.text-container.show {
    opacity: 1;
    transform: translateX(0);
}

/* Título con efecto neón */
.neon-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: left;
    color: white;
    animation: flicker 1.5s infinite alternate;
    border-bottom: 4px solid #b0ff36;
    display: inline-block;
}

/* Lista de información */
.info-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.info-list li {
    font-size: 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    position: relative;
    padding-left: 30px;
}

.info-list li::before{
    content: "✔";
    font-size: 1.5rem;
    color: #00d9ff;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}


/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.separation-banner {
    width: 100%;
    height: 500px;
    background: url('../images/innovak-fondo.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Activa el efecto parallax */
    background-position: center;
}


/* Programación */
.schedule {
    width: 100%;
    color: #132168;
    border-radius: 10px;
    padding: 20px;
}

.schedule-title-container {
    text-align: center;
    margin: 3rem 0;
}

.schedule-title {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    display: inline-block;
    border-bottom: 4px solid #b0ff36;
    padding-bottom: 5px;
}

.schedule-container {
    padding: 0 150px;
}
.schedule-item {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    background-color: #ffffff;
    font-size: 1.3rem;
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
.schedule-item.left {
    transform: translateX(-50px);
}
.schedule-item.right {
    transform: translateX(50px);
}
.schedule-item.show {
    opacity: 1;
    transform: translateX(0);
}
.schedule-item h3 {
    color: #060d33;
    font-size: 10px;
}
.time {
    color: white;
    font-weight: bold;
}

.hour{
    color: #000000;
    font-weight: bold;
}

.break {
    background-color: lightgray;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}
/* Ponentes */

.speakers-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    height: 50vh;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Estilo de cada ponente */
.speaker {
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    position: relative;
}

.speaker.left {
    transform: translateX(-50px);
}

.speaker.right {
    transform: translateX(50px);
}

.speaker.show {
    opacity: 1;
    transform: translateX(0);
}

.speaker img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: 0.3s ease-in-out;
}

.speaker figcaption {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    padding: 15px;
    border-radius: 10px;
    transition: opacity 0.3s ease-in-out;
    font-size: 0.5em;
    text-align:left;
}

.speaker:hover figcaption {
    opacity: 1;
}

.speaker-name {
    margin-top: 10px;
    font-size: 1em;
    font-weight: bold;
    color: white;
}

.footer {
    background-color: #001F46; /* Color de fondo similar a la imagen */
    color: #6FFFE9; /* Color de texto en tono azul brillante */
    text-align: center;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

.footer-container h2 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(111, 255, 233, 0.8); /* Efecto de brillo */
}

.footer-container p {
    font-size: 1.2rem;
    margin: 5px 0;
}

.footer-container img{
    object-fit: contain;
    max-width: 300px;
    height: auto;
    margin-top: 2rem;

}


/* Responsivo */

@media (max-width: 1024px) { /* Tablets */
    .info-box {
        left: 50%;
        width: 400px;
        height: auto;
        top: 80%;
        padding: 15px;
    }

    .content-title {
        font-size: 2.5rem;
        text-align: center;
        margin-left: 0;
    }

    .faq-container {
        padding-right: 2rem;
        align-items: center;
    }

    .faq {
        width: 90%;
    }

    .schedule-title {
        font-size: 2.5rem;
    }

    .schedule-container {
        margin-top: 50px;
    }

    .schedule-item {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 85px;
        right: 0;
        background: white;
        width: 100%;
        text-align: center;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .menu-icon {
        display: block;
        background: none;
        border: none;
    }

    .banner{
        height: auto;
        width: 100%;
    }

    .banner-video{
        object-fit: contain;
        aspect-ratio: 9 / 11;
        object-position: top;
    }

    .info-box {
        width: 90%;
        left: 50%;
        top: 72%;
        height: auto;
        max-height: none;
        padding: 15px;
        border-radius: 15px;
    }

    .info-box img{
        height: 65px;
        width: auto;
    }
    .info-box h2 {
        font-size: 1.2rem;
    }

    .info-box h1 {
        font-size: 1.6rem;
    }

    .info-box h3 {
        font-size: 1rem;
    }

    .info-box h4 {
        font-size: 1rem;
    }

    .info-box p {
        font-size: 0.8rem;
    }

    .separator-banner {
        height: 150vh;
    }
    .separator-banner video {
        transform: translate(-50%, -50%) scale(1.2);
    }
    .background-section {
        padding: 3rem;
    }
    .content-box, .text-container {
        width: 90%;
        max-width: 100%;
        text-align: center;
        font-size: 1.3rem;
    }
    .neon-title {
        font-size: 1.8rem;
    }
    .info-list li {
        font-size: 1.4rem;
    }

/* Programación */

    .schedule-title {
        font-size: 2rem;
    }

    .schedule-container {
        padding: 0px;
        
    }
    .schedule-item {
        font-size: 1.1rem;
        width: 100%;
    }

    .time {
        font-size: 1.3rem;
    }

    .speakers {
        height: auto;
    }

    .speakers .content-title{
        margin-left: 3rem;
    }

    .speakers-container{
        height: auto;
    }

    .footer {
        font-size: 1rem;
    }
    
    .footer-container {
        padding: 2rem;
    }
    
    .footer-container img{
        object-fit: contain;
        height: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .separator-banner {
        height: 100vh;
    }
    .separator-banner video {
        transform: translate(-50%, -50%) scale(1.2);
    }
    .background-section {
        padding: 2rem;
    }
    .content-box, .text-container {
        width: 100%;
        text-align: justify;
    }
    .neon-title {
        font-size: 1.6rem;
    }
    .info-list li {
        font-size: 1.2rem;
    }
}