@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* VARIABLES */

:root {
    --header-height: 4rem;
    --background-dark: #d9d9d9;
    --background-light: #593b78;
    --orange: #fb520c;
    --white: #ffffff;
    --black: #000000;
    --dark-color: #2c1d3c;
    --body-font: "Montserrat", sans-serif;
    --body-color: #d9d9d9;
    --font-regular: 400;
    --font-semi-bold: 600;
    --ztooltip: 10;
    --z-fixed: 100;
}

/* Responsive Typo */

@media screen and (min-width: 1024px) {
    :root {
        --normal-font-size: 1rem;
    }
}

/* BASE */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

ul li a {
    text-decoration: none;
}

/* REUSABLE CSS CLASSES */

.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

/* HEADER */

.header {
    position: sticky;
    height: 70px;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-dark);
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    z-index: var(--z-fixed);
}

/* NAV */

.nav {
    height: var(--header-height);
}

.nav_logo,
.nav_burger,
.nav_close {
    color: var(--black);
}

.nav_data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_logo {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    padding-left: 25px;
}

.nav_logo img {
    width: 100px;
    display: inline;
    align-items: center;
    column-gap: .25rem;
}

.nav_toggle {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav_burger,
.nav_close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav_close {
    opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
    .nav_menu {
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }

    .nav_menu::-webkit-scrollbar {
        width: 0;
    }

    .nav_list {
        background-color: var(--background-dark);
        padding-top: 1rem;
    }
}

.nav_link {
    color: var(--black);
    background-color: var(--background-dark);
    font-weight: var(--font-regular);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
}

.nav_link:hover {
    background-color: var(--background-dark);
}

.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

.show-icon .nav_burger {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav_close {
    opacity: 1;
    transform: rotate(90deg);
}

/* DROPDOWN */

.dropdown_item {
    cursor: pointer;
}

.dropdown_arrow {
    font-size: 1.25rem;
    font-weight: initial;
    transition: transform .4s;
}

.dropdown_link {
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    color: var(--black);
    background-color: var(--background-dark);
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: var(--font-regular);
    transition: background-color .3s;
}

.dropdown_link:hover {
    border-left: 5px solid var(--orange);
}

.dropdown_item .dropdown_menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-out;
    border-radius: 15px;
}

.dropdown_item:hover .dropdown_menu {
    max-height: 1000px;
    transition: max-height .4s ease-in;
}

.dropdown_item:hover .dropdown_arrow {
    transform: rotate(180deg);
}

/* MAPA CARRERA */

.section_container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--orange);
    height: 20rem;
}

.section_text {
    text-align: center;
}

#mapAnim {
    position: relative;
    height: auto;
    max-width: 100%;
    background-color: var(--background-dark);
}

#map {
    display: flex;
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

.text-block-vid h1,
h2,
h3 {
    color: var(--body-color);
}

.text-block-vid h1 {
    font-size: 2.5rem;
}

.text-block-vid h2 {
    font-size: 1.7rem;
}

.text-block-vid h3 {
    font-size: 1.5rem;
}

.text-block-vid {
    position: absolute;
    text-align: center;
    font-family: var(--font-regular);
    line-height: 50px;
    bottom: 290px;
    right: 480px;
}

/* MAPA CARRERA FINISH */


/* MAIN START */

/* SECTION CARRERA STARTS */

.carrera {
    height: 600px;
}

.carrera .titulo-carrera {
    text-align: center;
}

.carrera .titulo-carrera h2 {
    margin-top: 80px;
    margin-bottom: 50px;
    color: var(--orange);
}

.carrera .carrera-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 200px;
    position: relative;
    height: 500px;
}

.carrera .carrera-container .texto-carrera {
    flex-direction: column;
}

.carrera .carrera-container .texto-carrera h3 {
    color: var(--blacks);
    margin-top: 15px;
}

.carrera .texto-carrera {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 40ch;
    font-size: 1.5rem;
}

.carrera .img-race img {
    display: flex;
    flex-direction: column;
    width: 400px;
    border-radius: 20px;
    position: absolute;
    right: 0;
    top: 0;
    left: 300px;
    bottom: 20px;
    box-shadow: 0 0 40px rgb(77, 77, 77);
}

.carrera .img-race-sec img {
    display: flex;
    flex-direction: column;
    width: 400px;
    border-radius: 20px;
    position: absolute;
    right: 60px;
    top: 250px;
    left: 190px;
    bottom: 0;
    box-shadow: 0 0 40px rgb(77, 77, 77);
}

.carrera .img-race img:nth-child(1) {
    margin-bottom: 20px;
}

/* SECTION CARRERA ENDS */

.section_container_main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    gap: 50px;
}

.section_container_main .card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 195px;
    max-width: 338px;
    box-shadow: 0 0 10px rgb(181, 181, 181);
    padding: 30px;
    border-radius: 10px;
    background-color: var(--orange);
}

.section_container_main .card-info img {
    width: 60px;
    margin-bottom: 100px;
}

.section_container_main .card-info a {
    color: var(--black);
    text-align: center;
    font-size: 1.5rem;
    border: 1px solid white;
    padding: 10px;
    border-radius: 10px;
}

.section_container_main .card-info a:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

/* .insta {
    width: 45px;
    position: fixed;
    right: 80px;
    bottom: 40px;
} */

.insta-pulse {
    background: var(--orange);
    position: fixed;
    color: var(--background-dark);
    font-size: 45px;
    bottom: 40px;
    right: 80px;
    width: 0;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px;
    border-radius: 50%;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }

    80% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

/* MAIN FINISH */

/* SECTION 2 */

.itinerario {
    text-align: center;
    padding: 100px 0;
    background-color: #fb520c;
}

.itinerario .title {
    margin-bottom: 60px;
}

.itinerario .itinerario-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
}

.itinerario .card-itinerario h4 {
    border: 1px solid var(--background-dark);
    padding: 15px;
    border-radius: 10px;
}

.itinerario .card-itinerario .parrafo {
    min-height: 195px;
    max-width: 338px;
    box-shadow: 0 0 10px rgb(181, 181, 181);
    margin-top: 40px;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--background-dark);
    text-align: left;
    line-height: 30px;
}

.itinerario h2,
h4 {
    color: var(--black);
}

/* SECTION FAQ */

.faq-section {
    background-color: var(--background-dark);
    height: 25rem;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.faq {
    max-width: 400px;
    margin: 0 auto;
    margin-top: 15px;
    padding-left: 0;
    text-align: left;
}

.faq li {
    background-color: var(--background-light);
    border-radius: 10px;
    padding: 5px;
    margin: 10px;
}

.q {
    padding: 0.5rem 0;
    border-left: 10px solid var(--background-light);
    cursor: pointer;
}

.arrow {
    display: inline-block;
    margin: 0 0.2rem;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-left: 10px solid var(--background-dark);
    border-bottom: 6px solid transparent;
    transition: 0.4s;
}

.faq p {
    line-height: 25px;
}

.a {
    overflow: hidden;
    height: 0;
    padding: 0 1em 0 3.3em;
}

.a-opened {
    padding: 1em 1em 2em 3.3em;
    height: initial;
}

.arrow-rotated {
    transform: rotate(90deg);
}

.faq-section h2 {
    color: var(--orange);
}

.faq-section .faq .q span {
    color: var(--body-color);
}

.faq-section .faq .a p {
    color: var(--body-color);
}



/* FOOTER */

.footer {
    background-color: var(--background-dark);
    height: 25rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.logo-footer img {
    width: 300px;
}

.redes {
    margin-top: 2rem;
}

.footer .redes-container .texto p {
    color: var(--black);
}

.redes-container .redes a i {
    color: var(--orange);
    font-size: 24px;
}

.footer .redes-container {
    width: 50%;
    margin-top: 1.5rem;
}

.redes-container .redes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.redes-container .redes a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--black);
}

.redes-container .redes a:hover {
    cursor: pointer;
    color: var(--orange);
}

.footer .redes-container .texto h3 {
    color: var(--orange);
    margin-bottom: 0;
}

.footer .redes-container a {
    color: var(--black);
}

/* FOOTER FINISH */

/* INSCRIPCION */

.inscripcion {
    background-color: var(--background-dark);
}

/* INSCRIPCION ENDS */

/* INFORMACION */

.informacion {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 60px;
}

.informacion .info-container {
    background-color: var(--white);
    padding: 60px;
    border-radius: 15px;
}

.informacion .info-container h1 {
    color: var(--orange);
}

.informacion .info-container h2 {
    color: var(--black);
    font-size: 1.5rem;
    margin-top: 30px;
}

.informacion .info-container ul li {
    line-height: 30px;
}

.informacion .info-container p span {
    font-weight: bold;
}

.footer-info {
    background-color: var(--background-dark);
    height: 25rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}


.footer-info .redes-container .texto h3 {
    color: var(--orange);
    margin-bottom: 0;
}

.footer-info .redes-container a {
    color: var(--black);
}

.footer-info .redes-container {
width: 100%;
margin-top: 1.5rem;
}

/* INFORMACION ENDS */

/* MODALIDADES STYLES */

.main-modalidades {
    margin-top: 100px;
}

#section-mod .titulo h1 {
    color: var(--orange);
    text-align: center;
    margin-bottom: 2rem;
}


#section-mod .texto-mod h2 {
    margin-top: 40px;
    margin-bottom: 35px;
    color: var(--orange);
    border: 1px solid var(--white);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

#section-mod .texto-mod h2:hover {
    background-color: #fb520c;
    color: #000000;
}

.main-modalidades #section-mod .texto-mod .mods>h2:last-child {
    margin-top: -50px;
}

.texto-mod {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
}

.main-modalidades #section-mod .lista-mod {
    min-height: 195px;
    max-width: 400px;
    box-shadow: 0 0 10px rgb(181, 181, 181);
    margin-top: 40px;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--background-dark);
    text-align: left;
    background-color: var(--white);
}

.texto-mod .mods .lista-mod li {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.parrafo {
    margin-top: 6rem;
    text-align: center;

}

/* MODALIDADES FINISH */

/* HOSPEDAJE STYLES */

.hospedaje {
    height: 400px;
    background-color: var(--background-light);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-hospe .texto-hospe h1 {
    text-align: center;
    color: var(--orange);
}

.footer-hospedaje {
    background-color: var(--background-dark);
    height: 25rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}


.footer-hospedaje .redes-container .texto h3 {
    color: var(--orange);
    margin-bottom: 0;
}

.footer-hospedaje .redes-container a {
    color: var(--black);
}

.footer-hospedaje .redes-container {
width: 100%;
margin-top: 1.5rem;
}

/* GUIA CARRERA */

.footer-carrera {
    background-color: var(--background-dark);
    height: 25rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}


.footer-carrera .redes-container .texto h3 {
    color: var(--orange);
    margin-bottom: 0;
}

.footer-carrera .redes-container a {
    color: var(--black);
}

.footer-carrera .redes-container {
width: 100%;
margin-top: 1.5rem;
}

/* GUIA CARRERA ENDS */

/* CLASIFICACION */

.footer-clasi {
    background-color: var(--background-dark);
    height: 25rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}


.footer-clasi .redes-container .texto h3 {
    color: var(--orange);
    margin-bottom: 0;
}

.footer-clasi .redes-container a {
    color: var(--black);
}

.footer-clasi .redes-container {
width: 100%;
margin-top: 1.5rem;
}

/* CLASIFICACION ENDS */

/* BREAKPOINTS */

/* Small Devices */

@media screen and (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav_link {
        padding-inline: 1rem;
    }

    .main .section_container_main .section_container {
        height: 45rem;
    }
}

/* Medium Devices */

@media (max-width: 600px) {

    /* HERO */

    #mapAnim .text-block-vid {
        position: absolute;
        text-align: center;
        font-family: var(--font-regular);
        line-height: 20px;
        bottom: 60px;
        right: 110px;
    }

    .text-block-vid h1 {
        font-size: 0.8rem;
    }

    .text-block-vid h2 {
        font-size: 0.55rem;
    }

    .text-block-vid h3 {
        font-size: 0.55rem;
    }

    /* HERO ENDS */

    /* CARRERA */

    .main .carrera {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main .carrera .titulo-carrera {
        font-size: 0.7rem;
        padding: 10px;
    }

    .main .carrera .carrera-container {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 150px;
        position: relative;
    }

    .main .carrera .carrera-container .texto-carrera {
        text-align: center;
        margin-top: 50px;
        font-size: 1.2rem;
    }

    .main .carrera .carrera-container .img-race img {
        width: 200px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 0;
        top: 0;
        left: 100px;
        box-shadow: 0 0 40px rgb(77, 77, 77);
    }

    .main .carrera .carrera-container .img-race-sec img {
        width: 200px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 0;
        top: 150px;
        left: 100px;
        box-shadow: 0 0 40px rgb(77, 77, 77);
    }

    .main .carrera .carrera-container .texto-carrera {
        flex-direction: column;
    }

    .main .carrera .carrera-container .texto-carrera h3 {
        color: var(--black);
        margin-top: 15px;
    }

    .insta-pulse {
        font-size: 30px;
        bottom: 20px;
        right: 20px;
        padding: 20px;
    }

    /* CARRERA FIN */

    /* CRONOGRAMA */

    .section_container_main {
        flex-direction: column;
        gap: 30px;
    }

    .section_container_main .card-info {
        min-height: 150px;
        max-width: 200px;
    }

    .section_container_main .card-info a {
        font-size: 1rem;
    }

    .itinerario .itinerario-cards {
        flex-direction: column;
        gap: 80px;
    }

    .itinerario .card-itinerario .parrafo {
        min-height: 150px;
        max-width: 280px;
    }

    /* CRONOGRAMA FIN */

    /* ITINERARIO CARRERA */

    .itinerario>h2 {
        font-size: 1.8rem;
    }

    .itinerario .card-itinerario h3 {
        font-size: 1.3rem;
    }

    .itinerario .card-itinerario .card-txt>p {
        font-size: 1rem;
    }

    /* ITINERARIO CARRERA FIN */

    /* FOOTER */

    .footer {
        display: flex;
        flex-direction: column;
        height: 28rem;
    }

    .footer .container .logo-footer {
        margin-bottom: 10px;
    }

    /* FOOTER FIN */

    /* MODALIDADES */

    .main-modalidades {
        margin-top: 100px;
    }

    .texto-mod {
        flex-direction: column;
        gap: 30px;
    }

    .main-modalidades .section-mod .titulo {
        text-align: center;
    }

    .texto-mod,
    .mods,
    h2 {
        text-align: center;
    }

    .texto-mod .mods .lista-mod li {
        font-size: 1rem;
    }

    .main-modalidades #section-mod .lista-mod {
        max-width: 300px;
    }

    /* MODALIDADES FIN */

    /* INFORMACION */

    .informacion {
        margin-bottom: 50px;
    }

    .informacion .info-container ul {
        padding-left: 0;
    }


    /* INFORMACION FIN */


}



/* Large Devices */

@media screen and (min-width: 1118px) {
    .container {
        margin-inline: auto;
    }


    .nav {
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
        padding-right: 3rem;
    }

    .nav_container {
        display: flex;
        justify-content: space-between;
    }

    .nav_toggle {
        display: none;
    }

    .nav_list {
        height: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 3rem;
        column-gap: 3rem;
    }

    .nav_link {
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
    }

    .nav_link:hover {
        border-bottom: 2px solid #fb520c;
    }

    .dropdown_item {
        position: relative;
    }

    .dropdown_item ul {
        padding-left: 0;
    }

    .dropdown_menu {
        max-height: initial;
        overflow: initial;
        position: absolute;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
    }

    .dropdown_link {
        padding-inline: 1rem 3.5rem;
    }

    .dropdown_item:hover .dropdown_menu {
        opacity: 1;
        /* top: 5.5rem; */
        pointer-events: initial;
        transition: top .3s;
    }

    .main .section_container_main .section_container {
        height: 18rem;
    }

    .carrera .texto-carrera {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 30ch;
        font-size: 1.5rem;
    }
}