/* style.css - Estilos para index.php e index.html */

body {
    background: #f4f6fb;
    color: #222;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: #2a5298;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

main {
    max-width: 600px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(42,82,152,0.08);
    padding: 2rem;
}

h2 {
    color: #2a5298;
    margin-top: 0;
}

ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

li {
    margin: 0;
}

button {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(42,82,152,0.10);
}

button:hover {
    background: linear-gradient(90deg, #2a5298 0%, #1e3c72 100%);
    transform: translateY(-2px) scale(1.05);
}

section {
    text-align: center;
}

p {
    color: #555;
}

/* --- Responsive Design para móviles y pantallas pequeñas --- */
@media (max-width: 700px) {
    main {
        max-width: 98vw;
        margin: 1rem 1vw;
        padding: 1rem;
        border-radius: 8px;
    }
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    ul {
        flex-direction: column !important;
        gap: 0.75rem;
        align-items: stretch;
        width: 100%;
    }
    li {
        width: 100%;
        display: flex;
    }
    button {
        width: 100%;
        font-size: 1.05rem;
        padding: 1rem 0.5rem;
        box-sizing: border-box;
    }
    header {
        padding: 1rem 0.2rem;
    }
    section {
        padding: 0.5rem 0;
    }
}
