/* =========================
   ESTILOS GENERALES
   ========================= */

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

html, body{
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    /* background-color: #f5f5f5; */
    background: #3498db;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main{
    flex: 1;
}


.btn {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 0.6rem;
    background: #2c3e50;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn:focus-visible {
    outline: 3px solid #3498db;
    outline-offset: 3px;
}


/* =========================
   CABECERA
   ========================= */

header {
    text-align: center;
    padding: 20px 20px;
    background-color: white;
}

header h1 {
    margin: 0 0 10px;
}

header p {
    margin: 0;
}



/* =========================
NAVEGACIÓN
========================= */

nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

nav a {
    display: block;
    padding: 12px 20px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
}

nav a:hover {
    background-color: #e9e9e9;
}


/* =========================
   CONTENIDO PRINCIPAL
   ========================= */

main {
    max-width: 900px;
    width: 80%;
    margin: 30px auto;
}

/* =========================
SECCIONES
========================= */

section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    width: 100%;
}

#menu {
    display: none;
    background-color: rgb(210, 176, 23);
}

#menu.activo {
    display: block;
}




/* =========================
   FOOTER
   ========================= */
footer{
    background-color: white;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

