/* ======== CONFIGURACIÓN GENERAL ======== */
:root {
    --primary-color: #595959;
    --secondary-color: #0056b3;
    --text-color: #333;
    --background-color: #f8f9fa;
    --font-base: 'Arial', sans-serif;
}

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

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    font-family: var(--font-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* ======== CONTENEDOR PRINCIPAL ======== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ======== SECCIÓN PRINCIPAL ======== */
.main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: center;    
    width: 80vw;
}

.main h2 {
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 20px;
}

.main p {
    font-size: 1.2em;
    text-align: justify;
    margin-bottom: 15px;
}

/* ======== BOTÓN OPTIMIZADO PARA SEO ======== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--secondary-color);
}

/* ======== PIE DE PÁGINA ======== */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 70px;
    width: 80%;
}
footer a{
    color: white;
    cursor: pointer;  
    text-decoration: none;  
}

/* ======== MEDIA QUERIES (RESPONSIVE DESIGN) ======== */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

    .main h2 {
        font-size: 1.5em;
    }

    .btn {
        font-size: 1em;
        padding: 8px 16px;
    }
    .container {
        width: 90%;
        max-width: 768px;
        margin: 0 auto;
        padding: 20px;
    }
}