@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;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

img {
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.25);
}

header {
    width: 100%;
    height: 13vh;
    background-color: rgb(195, 255, 255);
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    top: 0;
    z-index: 10;
    font-family: "Arimo";
    box-shadow: 0 10px 10px 2px rgba(0, 0, 0, 0.25);
}

header > a {
    width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header > a > img {
    height: 100%;
    object-fit: contain;
    box-shadow: none;
}

header > a:nth-child(2), header > a:nth-child(3) {
    padding: 5px;
    height: 70%;
    transition: 1s;
    border-radius: 5px;
    text-decoration: none;
    color: black;
}

header > a:nth-child(2):hover, header > a:nth-child(3):hover {
    background-color: var(--azul_cielo);
    color: black;
    font-weight: bolder;
}

main {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 5vh;
    padding-top: 13vh;
}

main > section, main > div > section {
    width: 100%;
    height: auto;
    padding: 1%;
    text-align: justify;
    scroll-margin-top: 12vh;
    font-family: "Questrial";
}

main > section > h2, main > div > section > h2 {
    font-family: "Arimo";
    font-style: italic;
}

main > div > h1 {
    text-align: center;
    font-family: "Arimo";
}

main > div > hr {
    width: 90%;
    border-style: dashed;
}

main > section > .contenedor, main > div > section > .contenedor {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

main > section > .contenedor > img, main > div > section > .contenedor > img {
    width: 30%;
    border-radius: 10px;
    object-fit: contain;
}

main > section > .contenedor > .texto, main > div > section > .contenedor > .texto {
    width: 65%;
}

main > section > .contenedor > .texto > p, main > div > section > .contenedor > .texto > p {
    font-size: 1.05em;
}

main > #tipologia-entrenamiento {
    scroll-margin-top: 13vh;
}

main > section > .contenedor > .texto > ul > li, main > #tipologia-entrenamiento > section > .contenedor > .texto > ul > li {
    margin: 10px;
    font-size: 1.05em;
}

main > #tipologia-entrenamiento > section > .contenedor > .texto > p > a {
    color: black;
    text-decoration: none;
    font-style: italic;
}

main > #tipologia-entrenamiento > section > .contenedor > .texto > p > a:hover {
    color: var(--azul_oscuro);
}

main > span > #whatsapp {
    position: fixed;
    right: 1%;
    bottom: 2.5%;
    height: 8%;
}

main > span > #whatsapp > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

main > span > #whatsapp > a > img {
    height: 100%;
    object-fit: contain;
    box-shadow: none;
}

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;
}

.visible {
    display: block;
}

@media (max-width: 768px) {
    header {
        height: 8vh;
    }

    header > a {
        font-size: 0.9em;
    }

    main {
        top: 9.5vh;
    }

    main > section, main > div > section {
        width: 100%;
        padding: 5%;
    }

    main > section > h2, main > div > section > h2 {
        text-align: start;
        margin: 0;
    }

    main > section > .contenedor, main > div > section > .contenedor {
        flex-direction: column;
    }

    main > section > .contenedor > img, main > div > section > .contenedor > img {
        width: 80%;
        margin-top: 2%;
        object-fit: contain;
    }

    main > div > #running > .contenedor > img {
        width: 65%;
    }

    main > section > .contenedor > .texto, main > div > section > .contenedor > .texto {
        width: 100%;
    }

   main > span > #whatsapp {
        right: 3%;
        height: 6vh;
    }

    main > span > #btn-inicio {
        position: fixed;
        bottom: 12.5%;
        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;
    }
}