:root {
    font-family: "Ubuntu", Inter, Avenir, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;

    min-height: 100%;
    color: rgba(255, 255, 255, 0.9);

    background-color: hsl(268, 48%, 36%);

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

body {
    display: flex;
    gap: 5px;
    flex-direction: column;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
}

a {
    color: #3edaee;
}

p {
    margin: 10px 0;
}

ul {
    padding-left: 20px;
}

/** ==== HEADER ==== **/

header {
    text-align: center;
    font-family: "Arvo", sans-serif;
    font-size: 15px;
    background: rgba(10, 10, 0, 0.3);
    margin: 0 5px;
    border-radius: 0 0 10px 10px;
}

header .links {
    display: flex;
    width: 70vw;
    margin-left: 15vw;
    margin-top: 10px;
    justify-content: space-evenly;
    align-items: center;
}

header .links img {
    height: 40px;
}

header .links a span {
    display: none;
}

header > h1 {
    margin: 0;
    padding-top: 10px;
}

header > h1 a {
    text-decoration-color: #b33cd7;
    text-decoration-thickness: 3px;
    text-decoration-skip-ink: all;

    color: #fafafa;
}

main {
    padding: 0 10px;
    flex: 1;
}

/** ==== FOOTER ==== **/

footer {
    display: flex;
    align-items: center;
    min-height: 75px;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 5px;
    border-radius: 10px 10px 0 0;
}

footer .text {
    width: 100%;
    text-align: center;
    z-index: 100;
}

footer .text span {
    font-size: 19px;
    font-family: "Arvo", sans-serif;
}

footer .text .links {
    font-size: 13px;
    padding-top: 5px;
}

footer img {
    display: none;
    position: absolute;
    height: 30px;
    left: -100%;
    animation: footerSwipe 5s ease-in-out infinite;
}

@keyframes footerSwipe {
    0% {
        left: -100%;
    }
    50% {
        left: 150%;
    }
    100% {
        left: -75%;
    }
}

/** ==== CONTENT WITH IMAGE IN THE BORDER ==== **/

.border-img-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.border-img-content .section {
    display: flex;
    gap: 5px;
}

.border-img-content .with-reverse {
    flex-direction: row-reverse;
}

.border-img-content .with-center-text {
    align-items: center;
}

.border-img-content .with-image img {
    object-fit: contain;
    display: block;
    max-width: 30vw;
    flex-grow: 1;
}

.border-img-content .with-image .text {
    flex-grow: 5;
}

/** LECTURAS PAGE **/
.contact-cta {
    background: hsl(275, 50%, 40%);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px hsl(268, 50%, 40%);
}

.contact-cta h3 {
    margin: 0 0 10px;
}

.lecturas-list li {
    padding-bottom: 10px;
}

.lecturas-list {
    margin-bottom: 5px;
}

/** DESKTOP VIEW **/

@media screen and (min-width: 550px) {
    main {
        margin-left: auto;
        margin-right: auto;
        width: max(400px, 50vw);
    }

    header {
        width: max(500px, 50vw);
        margin-left: auto;
        margin-right: auto;
    }

    header .links {
        width: max(450px, 50vw);
        margin-left: auto;
        margin-right: auto;
    }

    header .links img {
        height: 50px;
    }

    header .links a {
        display: flex;
        font-family: "Ubuntu", sans-serif;
        text-decoration: none;
        align-items: center;
        gap: 10px;
    }

    header .links a span {
        display: inline;
        color: white;
    }

    .border-img-content {
        width: 100%;
    }

    .border-img-content .with-image img {
        max-width: 100px;
    }

    .border-img-content .section {
        align-items: center;
        gap: 15px;
    }

    .border-img-content .with-reverse {
        flex-direction: row;
    }

    .lecturas-list li {
        padding-bottom: 5px;
    }
}