/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fondo general */
body {
    font-family: 'Arial', sans-serif;
    background-image: url('../imagenes/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
}

/* Contenedor principal */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 25px;
}

/* ENCABEZADO */
.header {
    text-align: center;
    padding: 50px 30px;
    background: rgba(35, 70, 140, 0.7);
    /* azul translúcido */
    border-radius: 20px;
    backdrop-filter: blur(4px);
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: fadeDown 0.8s ease;
}

.logo {
    width: 140px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 15px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.header h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    color: #ffffff;
}

.slogan {
    font-size: 1.3rem;
    margin-top: 10px;
    opacity: 0.9;
    font-style: italic;
    color: #e6e6e6;
}

/* NAVEGACIÓN */
.nav {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

.btn-login {
    background: #2a5298;
    /* azul principal */
    color: white;
    padding: 12px 35px;
    font-size: 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

.btn-login:hover {
    background: #1e3c72;
    /* azul más oscuro */
    transform: translateY(-3px) scale(1.07);
}

/* PRESENTACIÓN */
.presentacion {
    background: rgba(255, 255, 255, 0.97);
    color: #1e3c72;
    /* azul oscuro para el texto */
    padding: 45px 35px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 45px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    animation: fadeUp 0.8s ease;
    border: 3px solid #2a5298;
}

.presentacion h2 {
    color: #1e3c72;
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.presentacion p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
}

/* PIE DE PÁGINA */
.footer {
    background: #1e3c72;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    backdrop-filter: blur(4px);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.25);
    color: white;
}

/* ANIMACIONES */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.3rem;
    }

    .presentacion h2 {
        font-size: 1.9rem;
    }

    .presentacion p {
        font-size: 1.05rem;
    }
}