/* === Estilos generales === */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f7f1; /* Fondo claro natural */
    color: #2f4f2f;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* organiza elementos en columna */
    align-items: center;
}

/* === Encabezado === */
header {
    width: 100%;
    background-color: #3c763d; /* Verde bosque */
    color: #fffbe7;
    text-align: center;
    padding: 25px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: sticky; /* Se mantiene arriba si haces scroll */
    top: 0;
    z-index: 1000;
}

header h2 {
    font-size: 1.8em;
    margin: 0;
    letter-spacing: 0.5px;
}

header p {
    margin-top: 8px;
    font-size: 1em;
    color: #fffbe7;
}

/* === Contenedor de botones === */
.contenedor {
    margin-top: 60px; /* espacio debajo del encabezado */
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-top: 6px solid #8b5e3c;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contenedor:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* === Botones === */
.boton {
    display: block;
    width: 100%;
    background-color: #3c763d;
    color: #fffbe7;
    border: none;
    border-radius: 10px;
    padding: 14px 0;
    margin: 10px 0;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

.boton:hover {
    background-color: #2f4f2f;
    transform: scale(1.05);
}

/* === Enlaces dentro de los botones === */
.boton a {
    color: #fffbe7;
    text-decoration: none;
    display: block;
    width: 100%;
}

/* === Pie de página opcional === */
footer {
    margin-top: auto;
    padding: 15px;
    text-align: center;
    font-size: 0.9em;
    color: #6b8e23;
}

/* === Responsivo === */
@media (max-width: 500px) {
    header h2 {
        font-size: 1.4em;
    }

    .contenedor {
        padding: 30px 20px;
    }

    .boton {
        font-size: 0.95em;
        padding: 12px;
    }
}
@media (max-width: 350px) {
    header h2 {
        font-size: 1.2em;
    }

    .contenedor {
        padding: 20px 15px;
    }

    .boton {
        font-size: 0.9em;
        padding: 10px;
    }
}
@import "mobile.css";
