/* Fuente Exo */
@import url('https://fonts.googleapis.com/css2?family=Exo:wght@400;700&display=swap');

/* Fondo Animado */
body {
    font-family: 'Exo', sans-serif;
    background: linear-gradient(180deg, #DDEFFF 0%, #4E73C2 100%);
    color: #09357b;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}



/* Logo */
.logo {
    max-width: 250px;
    margin-top: 20px; 
    margin-bottom: 20px;
    z-index: 2;
}


/* Título */
h1 {
    font-size: 26px;
    margin: 10px 20px;
    color: #000000;
    z-index: 2;
    width: 100%;
}

/* Subtítulo */
.subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    color: #000000;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    line-height: 1.4;
}

/* Botones */
.link-button {
    background-color: #09357b;
    color: white;
    padding: 14px 20px;
    margin: 12px 0;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 90%;
    max-width: 400px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    z-index: 2;
}

.link-button:hover {
    background-color: #062a5f;
    transform: scale(1.03);
}

/* Ajuste de botones para pantallas pequeñas */
@media (max-width: 768px) {
    .link-button {
        font-size: 14px;
        padding: 12px 16px;
        margin: 8px auto;
        width: 90%;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }

    h1 {
        font-size: 22px;
        margin: 10px 15px;
    }
}

/* Círculos */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.circles li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.circles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.circles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.circles li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.circles li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.circles li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
.circles li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.circles li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.circles li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; }

/* Números */
.numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.numbers li {
    position: absolute;
    display: block;
    list-style: none;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.4);
    animation: float 30s linear infinite;
    bottom: -150px;
}

.numbers li:nth-child(1) { left: 15%; animation-delay: 2s; }
.numbers li:nth-child(2) { left: 30%; animation-delay: 4s; }
.numbers li:nth-child(3) { left: 50%; animation-delay: 6s; }
.numbers li:nth-child(4) { left: 70%; animation-delay: 8s; }
.numbers li:nth-child(5) { left: 85%; animation-delay: 10s; }

/* Mates */
.mates {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.mates li {
    position: absolute;
    display: block;
    list-style: none;
    font-size: 3rem;
    animation: floatMates 35s linear infinite;
    bottom: -150px;
    color: rgba(255, 255, 255, 0.7);
}

.mates li:nth-child(1) { left: 10%; animation-delay: 0s; }
.mates li:nth-child(2) { left: 50%; animation-delay: 5s; }
.mates li:nth-child(3) { left: 80%; animation-delay: 10s; }

/* Animaciones */
@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-150vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-150vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatMates {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-150vh) rotate(360deg);
        opacity: 0;
    }
}


/* Footer */
footer {
    font-size: 14px;
    color: #ffffff;
    background-color: #09357b;
    padding: 10px 20px;
    text-align: center;
    width: 100%;
    z-index: 3;
    opacity: 0.95;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: auto;
    flex-shrink: 0;
}

footer p {
    margin: 0;
}

footer a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

footer a:hover {
    color: #ddecff;
}

/* Footer para pantallas pequeñas */
@media (max-width: 768px) {
    footer {
        padding: 15px;
        font-size: 12px;
        border-radius: 0;
        flex-shrink: 0;
    }
}

/* Títulos de secciones */
.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #09357b;
    margin: 30px 0 15px;
    padding: 10px 20px;
    background-color: #ffffffcc;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    z-index: 2;
    position: relative;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.proxima-jornada {
    background-color: #f7c04a;
    color: #09357b;
    padding: 15px 20px;
    margin: 30px auto 50px auto;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    max-width: 90%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
    position: relative;
}

.proxima-jornada:hover {
    background-color: #f9d77e;
    transform: scale(1.05);
}

.proxima-jornada .pulse {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 30px;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.section {
    margin-bottom: 30px;
}

.contenido-resolucion {
    text-align: left;
    width: 90%;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 3; 
    background-color: rgba(255, 255, 255, 0.1); 
    padding: 10px;
    border-radius: 10px;
}

.contenido-resolucion a {
    color: #09357b;
    font-weight: bold;
    text-decoration: none;
}

.contenido-resolucion a:hover {
    text-decoration: underline;
}

.enlaces a {
    position: relative;
    z-index: 4;
}

.contenido-resolucion p {
    color: #062a5f;
}

