:root {
    --gris-1: #282C35;
    --amarillo-letra: #FFD015; /*Color seleccionado, el que había antes estaba mal */
    --amarillo-hover: #e4ba0f;
    --blanco-letra: #fefefe;
    --negro-boton: #000000;

}

/* Asegurar que el body y html ocupen el 100% de la pantalla */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: #1a1a1a;
}

/* El contenido crecerá y empujará el footer hacia abajo */
.main-content {
    flex: 1;
}

/* --- Reset básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* --- Estilos generales --- */
/* body {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
} */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- NAV --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #111;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f7c948; /* Amarillo */
}

/* --- Títulos --- */
/* h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
} */

h2 {
    font-size: 2rem;
    margin: 15px 0;
    margin-top: 50px;
}

h2 span {
    color: #f7c948; /* Amarillo */
    margin-top: 500px;
}

.eventos h2 {
    /* background-color: red; */
    margin-top: 40px;
    font-size: 3rem;
    margin-bottom: 10px;
}

.eventos h4 {
    font-size: 1.6rem;
    font-weight: lighter;
    color: #f1f1f1;
}

/* --- Contenido central --- */
.video-container {
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: #ccc;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-container {
    margin-top: 160px;
    margin-bottom: 40px;
    /* background-color: red; */
    color: var(--blanco-letra);
}

.cta-container strong {
    font-size: 1.8rem;
}

.cta-container .copy1 {
    font-size: 1.4rem;
}

.cta-container .aqui {
    text-decoration: none;
    color: var(--amarillo-letra);
    font-weight: 300;
}

.cta-container .aqui:hover {
    text-decoration: none;
    color: var(--amarillo-letra);
    font-weight: 800;
}

/* --- Botón del medio "Ver Video" --- */
.btn {
    display: inline-block;
    background-color: var(--amarillo-letra);
    color: var(--negro-boton);
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: normal;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 32px;
    /* transition: background 0.3s, transform 0.2s; */
}

.btn:hover {
    background-color: var(--amarillo-letra);
    /* transform: scale(1.05); */
    font-weight: bold;
}

/* --- Botón del medio "Ver Video" --- */
.btn-volver {
    display: inline-block;
    background-color: var(--gris-1);
    color: var(--blanco-letra);
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: normal;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 32px;
    /* transition: background 0.3s, transform 0.2s; */
}

.btn-volver:hover {
    background-color: var(--negro-boton);
    /* transform: scale(1.05); */
    font-weight: bold;
}

/* --- Sección de Invitación (Latin Corner) --- */
.invitation {
    background: #222;
    padding: 40px 20px;
    margin-top: 40px;
}

.invitation h2 {
    font-size: 1.8rem;
}

.invitation p {
    font-size: 1rem;
    color: #bbb;
    margin: 15px 0;
}

/* --- Footer --- */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: black;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer h2 {
    font-size: 32px;
    font-weight: bold;
}

.footer h2 span {
    color: #ffcc00;
}

.footer p {
    font-size: 18px;
    max-width: auto;
    margin: 20px auto;
    line-height: 1.6;
}

.footer .cta {
    font-weight: bold;
}

.footer .social-icons-footer {
    margin-top: auto;
}

.footer .social-icons-footer a {
    color: #fff;
    font-size: 24px;
    margin: 0 15px;
    text-decoration: none;
}

.footer .social-icons-footer a:hover {
    color: #ffcc00;
}




/* Estilo para animación cuando se pasa el mouse */
.icono:hover {
    transform: scale(1.2);
    /* Escala el icono al 120% cuando se pasa el mouse */
}

/* Estilo para animación continua usando @keyframes */
@keyframes girar {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Aplicar la animación girar */
.instagram {
    animation: girar 2s linear infinite;
    /* Animación continua girando durante 2 segundos */
}


.contador {
    /* background: white; */
    margin-top: 12%;
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
}

.contador h2 {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--blanco-letra);
    font-weight: normal;
}

.tiempo {
    font-size: 50px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    gap: 100px; /* Aumenta la separación entre números */
}

.unidad {
    text-align: center;
    /* background-color: crimson; */
}

.unidad span {
    font-size: 36px;
    display: block;
    margin-top: 5px;
    color: #f1f1f1;
}

.unidad #dias {
    font-size: 90px;
    display: block;
    margin-top: 5px;
    color: #f1f1f1;
    font-weight: 800;
}

.unidad #horas {
    font-size: 90px;
    display: block;
    margin-top: 5px;
    color: #f1f1f1;
    font-weight: 800;
}

.unidad #minutos {
    font-size: 90px;
    display: block;
    margin-top: 5px;
    color: #f1f1f1;
    font-weight: 800;
}

.unidad #segundos {
    font-size: 90px;
    display: block;
    margin-top: 5px;
    color: #f1f1f1;
    font-weight: 800;
}

.unidad .textodias {
    font-size: 24px;
    display: block;
    margin-top: 5px;
    color: #d6d6d6;
    font-weight: 300;
}

.unidad .textohoras {
    font-size: 24px;
    display: block;
    margin-top: 5px;
    color: #d6d6d6;
    font-weight: 300;
}

.unidad .textominutos {
    font-size: 24px;
    display: block;
    margin-top: 5px;
    color: #d6d6d6;
    font-weight: 300;
}

.unidad .textosegundos {
    font-size: 24px;
    display: block;
    margin-top: 5px;
    color: #d6d6d6;
    font-weight: 300;
}