@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap'); /*questrial*/
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Questrial&display=swap'); /*arimo*/

:root {
    --azul_turquesa: #1e83be;
    --azul_marino: #032ff8;
    --azul_oscuro: #044aae;
    --azul_cielo: #39b5fe;
    --negro: #020202;
    --azul_claro: rgb(191, 225, 255);
}

* {
    box-sizing: border-box;
}

/*cambiar el estilo cuando se subraya un texto seleccionado*/
::selection {
    background-color: var(--azul_turquesa);
    color: white;
}

body {
    margin: 0;
    min-height: 100vh;
}

header {
    width: 100%;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

header > a {
    width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

header > a > img {
    height: 100%;
    object-fit: contain;
}

main {
    width: 100%;
    height: auto;
    text-align: justify;
    padding: 1%;
}

main > h1 {
    font-family: "Arimo";
    margin-top: 0;
}

main > section {
    width: 100%;
    height: auto;
    margin-top: calc(18.720px * 2);
}

main > section > h3 {
    font-family: "Arimo";
    margin-bottom: 0;
}

main > p, main > section > p, main > section > ul {
    font-family: "Questrial";
}

main > section > .links {
    text-align: start;
    overflow-wrap: break-word;
}

main > p > a, main > section > h3 > a, main > section > p > a, main > section > ul > li > a {
    color: black;
}

main > p > a:hover, main > section > h3 > a:hover, main > section > p > a:hover, main > section > ul > li > a:hover {
    color: var(--azul_oscuro);
}

main > section > ul > li {
    margin: 10px;
}

main > section > ul > li > span {
    font-weight: bold;
}

main > section > ul > li > a > img {
    width: 1.25%;
}

footer {
    font-family: "Arimo";
    width: 100%;
    height: 15vh;
    display: flex;
    align-items: center;
    padding-left: 2.5vw;
    gap: 2.5vw;
    background: linear-gradient(to top, var(--azul_claro), white);
    text-align: center;
}

footer > p {
    margin-right: 15%;
}

footer > a {
    text-decoration: none;
    color: var(--azul_oscuro);
    font-weight: bolder;
}

footer > a:hover {
    color:var(--azul_cielo);
}

.oculto {
    display: none;
}

@media (max-width: 768px) {
    main {
        padding: 5%;
    }

    main > section > ul > li > a > img {
        width: 5%;
    }
    
    main > span > #btn-inicio {
        position: fixed;
        bottom: 7%;
        right: 3.5%;
        height: 5.5vh;
        z-index: 10;
    }
    
    main > span > #btn-inicio > button {
        width: 100%;
        height: 100%;
        background-color: var(--azul_cielo);
        border: none;
        border-radius: 5px;
        padding: 5px;
        cursor: pointer;
    }

    main > span > #btn-inicio > button > img {
        height: 100%;
        object-fit: contain;
        box-shadow: none;
    }
    
    footer {
        height: auto;
        flex-direction: column;
        justify-content: center;
        padding-bottom: 2vh;
    }

    footer > p {
        margin-right: 0;
    }
}