﻿:root {
    --rojoPrincipal: #EC1C28;
    --azulOscuro: #292562;
    --grisClaro: #F2F2F2;
    --blanco: #fff;
    --azulClaro: #0331BF;
    --rojoClaro: #BF0000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "mundial", sans-serif;
}

body {
    background-image: url('/images/General/Banner_PrincipalWeb.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; /* llena toda la pantalla */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--blanco);
    font-weight: 600;
}

a {
    color: var(--blanco);
    text-decoration: none;
}

/* ====== LOGO ====== */
.logo_img {
    width: 220px;
    height: auto;
    margin-bottom: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

    .logo_img:hover {
        transform: scale(1.05);
    }

/* ====== CONTENIDO CENTRAL ====== */
.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

    .content h1 {
        font-size: 3.2rem;
        font-weight: 800;
        letter-spacing: -1px;
    }

        .content h1 span {
            color: var(--rojoPrincipal);
        }

/* ====== BOTONES ====== */
.buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 200px;
}

.btn {
    background-color: var(--rojoClaro);
    color: var(--blanco);
    border: none;
    border-radius: 10px;
    padding: 1rem 1rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    width: 200px;
    justify-content: center;
    opacity: 0.85;
}

    .btn:hover {
        background-color: var(--rojoPrincipal);
        transform: scale(1.05);
    }

    .btn i {
        font-style: normal;
        font-weight: 900;
    }

/* ====== PIE DE PÁGINA ====== */
footer {
    background-color: var(--azulOscuro);
    text-align: right;
    padding: 0.6rem 2rem;
    font-size: 0.9rem;
    color: var(--blanco);
    font-size: 11px;
    padding: 15px;
}
/* ====== LOGIN SUPERIOR DERECHO ====== */
.login-btn {
    position: fixed;
    top: 22px;
    right: 28px;
    background: var(--blanco);
    backdrop-filter: blur(6px);
    color: var(--azulOscuro);
    padding: 10px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: all 0.25s ease;
    z-index: 999;
}

    .login-btn:hover {
        background: var(--azulClaro);
        transform: translateY(-2px);
        color: var(--blanco)
    }

    .login-btn i {
        font-size: 1.1rem;
    }


/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    body {
        justify-content: center;
        min-height: 100dvh;
    }

    .buttons {
        gap: 1.2rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    body {
        background-image: url('/images/General/Banner_PrincipalMovil.jpg');
        background-position: center top;
        background-size: cover;
    }
    .content {
        padding: 1.5rem;
    }

    .logo_img {
        margin-bottom: 2rem;
    }

    .content h1 {
        font-size: 2rem;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 240px;
        font-size: 0.9rem;
        padding: 0.9rem 1rem;
    }

    footer {
        text-align: center;
        font-size: 10px;
    }
}
