/*==========================================================
PÁGINA · LEGALES Y ERROR 404
(html/aviso-legal.html, html/privacidad.html, 404.html)

Estos estilos estaban escritos con <style> dentro de cada
HTML, repetidos entre aviso legal y privacidad. Ahora viven
aquí y siguen el mismo patrón que el resto del sitio.
==========================================================*/


/*==========================================================
TEXTO LEGAL
==========================================================*/

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    /* padding-block, nunca el atajo: comparte elemento con
       .container y el atajo le borraría el margen lateral */
    padding-block: 140px 80px;
}

.legal-content h1 {
    font-family: var(--font-title);
    margin-bottom: 30px;
}

.legal-content h2 {
    font-family: var(--font-title);
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
    font-family: var(--font-text);
    line-height: 1.7;
    color: var(--text-light);
}

.legal-content ul {
    margin: 0 0 16px 20px;
}

@media (max-width: 700px) {

    .legal-content {
        padding-block: calc(var(--header-height) + 50px) 60px;
    }
}


/*==========================================================
ERROR 404
==========================================================*/

.error-404 {
    max-width: 700px;
    margin: 0 auto;
    padding: 180px 40px 120px;
    text-align: center;
}

.error-404 span {
    display: block;
    font-family: var(--font-title);
    font-size: 6rem;
    font-weight: var(--fw-bold);
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.error-404 h1 {
    font-family: var(--font-title);
    margin-bottom: 16px;
}

.error-404 p {
    font-family: var(--font-text);
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 36px;
}

@media (max-width: 700px) {

    .error-404 {
        padding: 150px 24px 80px;
    }

    .error-404 span {
        font-size: 4rem;
    }
}
