@font-face {
    font-family: "Nunito";
    src: url("../fonts/Nunito-VariableFont_wght.ttf") format("truetype");
}

/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Nunito", serif;
    background: url("../img/background.jpg") no-repeat center/cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header,
main,
footer {
    text-align: center;
    padding: 1rem;
}

/* Encabezado */
header {
    border-bottom: 1px solid white;
    display: flex;
    justify-content: center;
}

.header__logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90rem;
}

.header__logos img {
    max-height: 3rem;
}

.header__logos_left img:nth-child(1) {
    margin-right: 1rem;
}

/* Contenido principal */
.message {
    color: white;
    margin-top: 50px;
}

.message__img {
    max-height: 10rem;
    margin-bottom: 1.5rem;
}

.message h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.message p {
    font-size: 1.2rem;
    line-height: 1.5;
}

.message__text + .message__text {
    margin-top: 2rem;
}

/* Pie de página y redes sociales */
footer.message__rrss {
    margin: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 20rem;
    padding-bottom: 5rem;
    flex-wrap: wrap;
}

footer.message__rrss a {
    margin: 0 0.5rem;
}

.message__rrss_img {
    height: 2rem;
}

/* ======================
   MEDIA QUERIES
   ====================== */

@media (max-width: 768px) {
    .header__logos {
        flex-direction: column;
        width: auto;
        gap: 1rem;
    }

    .header__logos img {
        max-height: 2.5rem;
    }

    .message__img {
        max-height: 8rem;
    }

    .message h1 {
        font-size: 2.5rem;
    }

    .message p {
        font-size: 1.1rem;
    }

    footer.message__rrss {
        width: auto;
    }
}

@media (max-width: 480px) {
    header,
    main,
    footer {
        padding: 0.5rem;
    }

    .message h1 {
        font-size: 2rem;
    }

    .message p {
        font-size: 1rem;
    }

    .message__img {
        max-height: 6rem;
    }

    footer.message__rrss {
        width: auto;
        padding-bottom: 2rem;
        gap: 1rem;
    }
}