/* Se importan las fuentes de google */
@import url('https://fonts.googleapis.com/css?family=Oswald:300,400,500,700|Inter:400,600&display=swap');

html {
    box-sizing: border-box;
}
*,
*:before,
*:after {
    box-sizing: inherit;
}
body {
    margin: 0;
}

html,
body {
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
}

/* titulos */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif !important;
}

/* colores */
:root {
    --primary: #fe6009;
    --primary-light: #fcde1a;
    --primary-dark: #fb3809;
    --secondary: #fcbf49;
    --tertiary: #fb3809;
    --tertiary-light: #ececec;
    --white: #ffffff;
    --black: #000000;
}

.container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 24px;
}

.inicio-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.titulo-container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    position: relative;
}

.header {
    width: 100%;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

.inicio {
    background: linear-gradient(to bottom, var(--tertiary), var(--primary-light));
    height: 80vh;
    color: white;
    position: relative;
    text-align: center;
    padding: 20px;
    min-height: 500px;
}

#menuMobile {
    z-index: 5;
    /*background: var(--primary-dark);*/
    background: url('imagenes/menum.png') center;
    background-size: cover; 
    height: 100vh;
    color: white;
    position: absolute;
    left: -500px;
    top: 0px;
    text-align: center;
    min-width: 100%;
    min-height: 120vh;
    padding: 1.5rem 1rem;
    position: fixed;
    bottom: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    transition: left 0.5s ease;
    display: none;
    & .border-decor {
        width: 200px;
        height: 2px;
        background-color: var(--white);
        margin-top: 30px;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
    }
}

#menuMobile a {
    text-decoration: none;
    color: white;
    font-size: 26px;
    margin-top: 16px;
    font-family: 'Montserrat', sans-serif;
    display: inherit;
}



#menuMobile li {
    margin-top: 12px;
}

#menuMobile ul {
    list-style: none;
    margin-top: 5px;
    max-height: 100vh;
}

#logoMenuLateral {
    width: 60px;
    margin: 0 10px;
    margin-bottom: 10px;
}

.menu-container {
    margin-right: 12%;
    /*margin-top: 64px;*/
    margin-top: 15vh;
    text-align: left;
}

.sponsors-container {
    /*background: var(--tertiary-light);*/
    height: 181;
    gap: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 92px;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.lateral-social-icons {
    padding-top: 20px;
    display: inline-flex;
    gap: 18px;
}

.inicio .titulo-container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    position: relative;

}

.mainLogo {
    width: 50px;
    margin: 0 10px;
    display: block;
}

.navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-left: 250px;
    margin-right: 250px;
}

.navbar ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px;
    margin-top: 10px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.stickyNavbar-container {
    padding: 0px 12px;
    width: 100%;
    height: 0px;
    position: sticky;
    top: 12px;
    left: 0px;
    z-index: 1;
}

#navbarOnScroll {
    display: block;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: -100px;
    opacity: 0;
    background-color: #fb3809;
    background: url('imagenes/barramenu.png') center;
    width: calc(100% - 24px);
    z-index: 9999;
    height: 87px;
    border-radius: 16px;
    transition: top 0.5s ease, opacity 0.5s ease;
    backdrop-filter: blur(1rem);
    background-size: cover;
}

.navbar-scroll {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-left: 250px;
    margin-right: 250px;
}

.navbar-scroll ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px;
    margin-top: 10px;
}

.navbar-scroll a {
    overflow: hidden;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.boton-menu-lateral {
    width: 28px;
    right: 28px;
    top: 30px;
    display: none;
    z-index: 12;
}

#lateralCloseMenuIcon {
    width: 28px;
    right: 28px;
    top: 30px;
    display: none;
    z-index: 12;
    opacity: 0;
    transition: 0.5s;
}

.titulo-principal {
    font-size: 46px;
    font-weight: 700;
    margin: 100px 0;
    line-height: 1.4;
}

.social-links {
    position: absolute;
    right: 120px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-right: 20px;
}

.icon {
    cursor: pointer;
}

.social-icon {
    transition: 0.3s;
}

.social-icon:hover {
    opacity: 0.7;
}

.white-container {
    background-color: white;
    padding: 16px 20px;
    border-radius: 999px;
    display: inline-flex;
    gap: 16px;
    margin-top: 40px;
    position: absolute;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
}

.blue-button {
    background-color: var(--primary);
    color: white;
    border: none;
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.5s;
}

.blue-button:hover {
    text-decoration: none;
    background-color: var(--tertiary);
}

.icon-wrapper {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.download-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
}

.download-icon.hover {
    opacity: 0;
}

#descargar-programa-button:hover .download-icon.hover {
    opacity: 1;
}

#descargar-programa-button:hover .download-icon.normal {
    opacity: 0;
}

.texto-justificado{
    text-align: justify;
}

/* text-block */
.text-block {
    max-width: 720px;
    margin: 7rem 0 0 0; /*MODIFICADO: LINEA ORIGINAL ERA 7rem 0*/
    display: flex;
    flex-wrap: wrap;

    & .subtitle {
        display: flex;
        flex-wrap: wrap;
        flex: 0 0 100%;
        justify-content: center;

        & h3 {
            flex: 0 0 100%;
            color: var(--primary);
            font-weight: 600;
            font-size: 16px;
            line-height: 100%;
            letter-spacing: 0%;
            text-align: center;
            margin: 0;
        }
        & .border-decor {
            flex: 0 0 100%;
            position: relative;
            padding: 2px 0;

            &::before {
                left: 50%;
                top: 50%;
                display: block;
                content: '';
                width: 40px;
                height: 2px;
                background-color: var(--primary);
                margin: 0 auto 0.5rem;
            }
        }
        & h2 {
            font-weight: 400;
            font-size: 40px;
            line-height: 100%;
            letter-spacing: 0%;
            color: var(--primary); /*ESTA LINEA LA AGREGUÉ*/
        }
    }

    .inner-container {
        flex: 0 0 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

        & h2 {
            font-weight: 400;
            font-size: 40px;
            line-height: 100%;
            letter-spacing: 0%;
            margin-bottom: 2rem;
        }

        & p {
            flex: 0 0 100%;
            font-size: 16px;
            font-weight: 400;
            letter-spacing: 0%;
            line-height: 24px;
            margin-bottom: 1rem;
        }
    }
}

#fundamentos {
    justify-content: center;

    .text-block {
        display: flex;
        flex-wrap: wrap;
        max-width: 1140px;
        flex: 0 0 100%;
        justify-content: center;
        margin: 7rem 0;
    }
}

#objetivos {
    justify-content: center;

    .text-block {
        display: flex;
        flex-wrap: wrap;
        max-width: 1140px;
        flex: 0 0 100%;
        justify-content: center;
        margin: 7rem 0;
    }
}

.btn {
    align-items: center;
    border-radius: 5rem;
    display: flex;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0%;
    line-height: 100%;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: 0.5s;

    & > .icon {
        margin-right: 0.5rem;
    }

    &.btn-white {
        border: 1px solid var(--white);
        background-color: var(--white);
        color: var(--primary);

        &.outline {
            color: var(--white);
        }
    }
    &.btn-primary {
        border: 1px solid var(--primary);
        background-color: var(--primary);
        color: var(--white);

        &.outline {
            color: var(--primary);
        }
    }
    &.btn-secondary {
        border: 1px solid var(--secondary);
        background-color: var(--secondary);

        &.outline {
            color: var(--secondary);
        }
    }

    &.outline {
        background-color: transparent;
    }

    &:hover {
        text-decoration: none;
        background-color: var(--tertiary);
        color: var(--white) !important;
        border-color: var(--white) !important;
    }
}

#programa {
    background-image: url("imagenes/sede.jpg") !important; 
    /*background-color: var(--primary);*/
    justify-content: center;

    .inner-container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1140px;
        flex: 0 0 100%;
        justify-content: center;
        margin: 7rem 0;

        & .subtitle {
            flex: 0 0 100%;
            margin-bottom: 2rem;
            color: var(--white);
            text-align: center;

            h2 {
                font-weight: 400;
                font-size: 40px;
                line-height: 100%;
                letter-spacing: 0%;
                margin: 0;
            }
        }

        & > .btn-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
    }
}

#declaraciones,
#biblioteca {
    background-color: var(--white);
    justify-content: center;

    .inner-container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1140px;
        flex: 0 0 100%;
        justify-content: center;
        margin: 7rem 0;

        & .subtitle {
            flex: 0 0 100%;
            margin-bottom: 2rem;
            color: var(--black);
            text-align: center;

            h2 {
                font-weight: 400;
                font-size: 40px;
                line-height: 100%;
                letter-spacing: 0%;
                margin: 0;
            }
        }

        & > .btn-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            width: 100%;
        }
    }
    & > .inner-container {
        padding-left: 1rem;
        padding-right: 1rem;

        > .btn-container {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }
    }
}

#biblioteca {
    background-color: var(--tertiary-light);
}

#temario {
    justify-content: center;

    .inner-container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1140px;
        flex: 0 0 100%;
        justify-content: center;
        margin: 7rem 0;

        & .subtitle {
            margin-bottom: 3rem;
            text-align: center;

            h2 {
                font-weight: 400;
                font-size: 40px;
                line-height: 100%;
                letter-spacing: 0%;
                margin: 0;
            }
        }

        .block-container {
            display: flex;
            flex-wrap: wrap;

            .side-title-block {
                display: flex;
                flex: 0 0 100%;
                width: 100%;
                flex-wrap: wrap;
                justify-content: space-between;
                gap: 2rem;
                align-items: flex-start;
                border-bottom: 2px solid var(--primary);
                padding-bottom: 1.5rem;
                margin-bottom: 3rem;

                > .title-container,
                > .text-container {
                    display: flex;
                    flex-wrap: wrap;
                    flex: 1;
                }

                &:last-child {
                    border: unset;
                }

                > .title-container {
                    & h5 {
                        flex: 0 0 100%;
                        width: 100%;
                        margin-bottom: 1rem;
                        color: var(--primary);

                        font-weight: 600;
                        font-size: 16px;
                        line-height: 100%;
                        letter-spacing: 0%;
                    }

                    & h3 {
                        flex: 0 0 100%;
                        width: 100%;
                        margin: 0;
                        margin-bottom: 1rem;

                        font-weight: 300;
                        font-size: 40px;
                        line-height: 100%;
                        letter-spacing: 0%;
                    }

                    & h4 {
                        flex: 0 0 100%;
                        width: 100%;
                        font-weight: 300;
                        font-size: 16px;
                        line-height: 100%;
                        letter-spacing: 0%;

                        margin: 0;
                        margin-bottom: 1.5rem;
                    }
                }

                > .text-container {
                    > h6 {
                        font-weight: 700;
                        font-size: 16px;
                        line-height: 24px;
                        letter-spacing: 0%;
                        margin: 0;
                    }

                    > p {
                        font-weight: 400;
                        font-size: 16px;
                        line-height: 24px;
                        letter-spacing: 0%;
                        margin-bottom: 1.5rem;
                    }

                    > ul {
                        padding-left: 1.5rem;
                    }
                }

                &.switch-sides {
                    > .title-container {
                        order: 2;
                    }
                }
            }
        }

        .btn-container {
            display: flex;
            width: 100%;
            justify-content: center;
        }
    }

    h3 {
        transition: 0.3s ease;
    }
    .side-title-block:hover h3 {
        color: var(--primary-dark);
    }
}

#guia {
    justify-content: center;

    .inner-container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1140px;
        flex: 0 0 100%;
        justify-content: center;
        margin: 0 0 7rem;

        & .subtitle {
            margin-bottom: 3rem;
            text-align: center;

            h2 {
                font-weight: 400;
                font-size: 40px;
                line-height: 100%;
                letter-spacing: 0%;
                margin: 0;
            }
        }

        .btn-container {
            display: flex;
            flex: 0 0 100%;
            justify-content: center;
        }
    }
}

#sede {
    justify-content: center;
    background-color: var(--primary-dark);
    position: relative;
    display: flex;

    .inner-container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1140px;
        flex: 0 0 100%;
        justify-content: center;
        margin: 0;
        order: 0;

        & .subtitle {
            margin-bottom: 3rem;
            text-align: center;

            h2 {
                font-weight: 400;
                font-size: 40px;
                line-height: 100%;
                letter-spacing: 0%;
                margin: 0;
            }
        }

        .block-container {
            display: flex;
            flex-wrap: wrap;
            flex: 0 0 100%;

            .side-title-block {
                /*display: flex;*/
                flex: 0 0 100%;
                width: 100%;
                flex-wrap: wrap;
                justify-content: space-between;
                align-items: center;
                gap: 4rem;

                > .title-container,
                > .text-container {
                    display: flex;
                    flex-wrap: wrap;
                    flex: 1;
                }

                > .title-container {
                    display: flex;
                    align-items: flex-start;
                    flex-wrap: wrap;

                    & span {
                        margin-bottom: 1.5rem;
                        padding-top: 0.5rem;
                        color: var(--white);
                        border-top: 2px solid var(--white);

                        font-weight: 600;
                        font-size: 16px;
                        line-height: 100%;
                        letter-spacing: 0%;
                    }

                    & h3 {
                        flex: 0 0 100%;
                        width: 100%;
                        margin: 0;
                        margin-bottom: 1.5rem;
                        margin-top: 1.5rem;
                        color: var(--secondary);

                        font-weight: 400;
                        font-size: 40px;
                        line-height: 118%;
                        letter-spacing: 0%;
                    }

                    & p {
                        flex: 0 0 100%;
                        width: 100%;
                        /*margin: 0;*/
                        color: var(--white);

                        font-weight: 400;
                        font-size: 16px;
                        line-height: 24px;
                        letter-spacing: 0%;
                    }

                    & .btn-container {
                        margin-top: 2rem;
                        display: flex;
                        flex-wrap: wrap;
                        gap: 1rem;
                        width: 100%;
                    }
                }

                > .text-container {
                    height: 676px;
                }
            }
        }

        .btn-container {
            display: flex;
            width: 100%;
        }
    }

    .img-container {
        position: absolute;
        right: 0;
        top: 0;
        height: 676px;
        width: 50%;

        > img {
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            width: 100%;
            object-fit: cover;
            object-position: center center;
        }
    }

    &.switch-sides {
        > .inner-container {
            > .block-container {
                > .side-title-block {
                    > .title-container {
                        order: 2;
                    }
                }
            }
        }

        > .img-container {
            right: unset;
            left: 0;
        }
    }
}

#hoteles {
    .text-block {
        max-width: 1140px;
        margin: 7rem 0;
        display: flex;
        flex-wrap: wrap;

        & .subtitle {
            display: flex;
            flex-wrap: wrap;
            flex: 0 0 100%;
            justify-content: center;

            & h3 {
                flex: 0 0 100%;
                color: var(--primary);
                font-weight: 600;
                font-size: 16px;
                line-height: 100%;
                letter-spacing: 0%;
                text-align: center;
                margin: 0;
            }
            & .border-decor {
                flex: 0 0 100%;
                position: relative;
                padding: 2px 0;

                &::before {
                    left: 50%;
                    top: 50%;
                    display: block;
                    content: '';
                    width: 40px;
                    height: 2px;
                    background-color: var(--primary);
                    margin: 0 auto 0.5rem;
                }
            }
            & h2 {
                font-weight: 400;
                font-size: 40px;
                line-height: 100%;
                letter-spacing: 0%;
                text-align: center;
            }
        }

        .inner-container {
            flex: 0 0 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2rem;

            > .card {
                flex: 0 0 calc((100% - 4rem) / 3);
                display: flex;
                flex-wrap: wrap;
                padding: 1.5rem 2rem;
                border-radius: 12px;
                transition: box-shadow 0.3s ease-in-out;
                border: 1px solid var(--tertiary-light);
                align-content: space-between;

                &:hover {
                    box-shadow: 1px 1px 15px 0px var(--tertiary-light);
                }

                h2 {
                    flex: 0 0 100%;
                    text-align: center;
                    font-weight: 400;
                    font-size: 35px;
                    line-height: 100%;
                    letter-spacing: 0%;
                    margin: 0 0 1.5rem;
                }

                p {
                    margin: 8px 0px;
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 24px;
                    letter-spacing: 0%;
                }

                .btn-container {
                    margin-top: 2rem;
                    /* display: flex; */
                    flex-wrap: wrap;
                    gap: 1rem;
                    width: 100%;
                }

                .card-subtitle {
                    color: #fb3809;
                    border-radius: 8px;
                    font-weight: 900;
                    font-size: 18px;
                }
            }
        }

        h2 {
            transition: 0.3s ease;
        }
        .card:hover h2 {
            color: var(--primary);
        }
    }
}

#contacto {
    justify-content: center;

    .inner-container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1140px;
        flex: 0 0 100%;
        justify-content: center;
        margin: 72px 0;

        .block-container {
            display: flex;
            flex-wrap: wrap;
            flex: 0 0 100%;
            width: 100%;

            .side-title-block {
                display: flex;
                flex: 0 0 100%;
                width: 100%;
                flex-wrap: wrap;
                justify-content: space-between;
                gap: 2rem;
                align-items: flex-start;

                > .title-container,
                > .map-container {
                    display: flex;
                    flex-wrap: wrap;
                    flex: 1;
                }

                > .title-container {
                    & h5 {
                        flex: 0 0 100%;
                        width: 100%;
                        margin: 0 0 1rem;
                        color: var(--primary);

                        font-weight: 600;
                        font-size: 16px;
                        line-height: 100%;
                        letter-spacing: 0%;
                    }

                    & h3 {
                        flex: 0 0 100%;
                        width: 100%;
                        margin: 0;
                        margin-bottom: 1rem;

                        font-weight: 300;
                        font-size: 40px;
                        line-height: 100%;
                        letter-spacing: 0%;
                    }

                    & p {
                        flex: 0 0 100%;
                        width: 100%;
                        font-weight: 400;
                        font-size: 16px;
                        line-height: 24px;
                        letter-spacing: 0%;

                        margin: 0;
                        margin-bottom: 1rem;
                    }

                    .social-networks {
                        display: flex;
                        gap: 1rem;
                    }
                }

                > .map-container {
                    height: 493px;
                    background-color: transparent;
                }

                &.switch-sides {
                    > .title-container {
                        order: 2;
                    }
                }
            }
        }
    }
}

#fab {
    background-color: var(--primary-dark);
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    border-radius: 100%;
    padding: 1rem;
    border: none;
}

.scroll-top-arrow {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    color: white;
    cursor: pointer;
}

.scroll-top-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Update navbar arrow on hover */
.menu-line {
    position: absolute;
    display: block;
    width: 25px;
    height: 25px;
    top: -20px;
    left: 10px;
    transition: left 0.3s ease;
    transition-timing-function: cubic-bezier(1, 0.01, 0, 1.22);
    pointer-events: none;
}

.menu-bar ul {
    position: relative;
    display: flex;
    list-style: none;
    padding: 0;

}

.navlink {
    position: relative;
}

.menu-bar ul li:nth-child(1):hover ~ .menu-line {
    left: 10px;
}
.menu-bar ul li:nth-child(2):hover ~ .menu-line {
    left: 95px;
}
.menu-bar ul li:nth-child(3):hover ~ .menu-line {
    left: 198px;
}
.menu-bar ul li:nth-child(4):hover ~ .menu-line {
    left: 295px;
}
.menu-bar ul li:nth-child(5):hover ~ .menu-line {
    left: 405px;
}
.menu-bar ul li:nth-child(6):hover ~ .menu-line {
    left: 501px;
}
.menu-bar ul li:nth-child(7):hover ~ .menu-line {
    left: 575px;
}
.menu-bar ul li:nth-child(8):hover ~ .menu-line {
    left: 667px;
}
.menu-bar ul li:nth-child(9):hover ~ .menu-line {
    left: 795px;
}
.menu-bar ul li:nth-child(10):hover ~ .menu-line {
    left: 915px;
}

.menu-bar ul li:nth-child(1).active ~ .menu-line {
    left: 10px;
}
.menu-bar ul li:nth-child(2).active ~ .menu-line {
    left: 95px;
}
.menu-bar ul li:nth-child(3).active ~ .menu-line {
    left: 198px;
}
.menu-bar ul li:nth-child(4).active ~ .menu-line {
    left: 295px;
}
.menu-bar ul li:nth-child(5).active ~ .menu-line {
    left: 405px;
}
.menu-bar ul li:nth-child(6).active ~ .menu-line {
    left: 501px;
}
.menu-bar ul li:nth-child(7).active ~ .menu-line {
    left: 575px;
}
.menu-bar ul li:nth-child(8).active ~ .menu-line {
    left: 667px;
}
.menu-bar ul li:nth-child(9):active ~ .menu-line {
    left: 795px;
}
.menu-bar ul li:nth-child(10):active ~ .menu-line {
    left: 915px;
}

/* Cursor */
.magic {
    display: none !important;
}

.animated-cursor {
    position: absolute;
    left: 0;
    display: none;
    top: 0;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 10000;
    -webkit-transition: opacity 0.2s ease-in-out 0.5s;
    -o-transition: opacity 0.2s ease-in-out 0.5s;
    transition: opacity 0.2s ease-in-out 0.5s;
}

.special-cursor:hover ~ .animated-cursor {
    display: inline-block;
    z-index: 9999999;
}
.cursor {
    position: fixed;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 50%;
    pointer-events: none;
    opacity: 1;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 999999999;
}

/* Modal */
body.modal-open {
    overflow: hidden;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 22, 39, 0.5);
    backdrop-filter: blur(15px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--white);
    border-radius: 32px;
    padding: 32px 32px;
    max-width: 420px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.modal h2 {
    display: flex;
    margin: 0 0 16px 0;
    font-size: 40px;
    max-width: fit-content;
    font-family: 'Montserrat';
    font-weight: 400;
}

.modal p {
    font-size: 16px;
    margin-bottom: 32px;
    margin-top: 0px;
}

.modal-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confirm-button-container {
    justify-content: flex-end;
    display: flex;
}

.modal .close {
    display: flex;
    font-size: 32px;
    cursor: pointer;
    border: none;
    background: none;
    align-self: flex-start;
}

@media (max-width: 476px) {
    .inicio {
        background-image: url("imagenes/homem4.png") !important; 
        position: relative;
        min-width: 100%;
        padding: 1.5rem 1rem;
        min-height: 100vh;
    }
    .sponsors-container {
        flex-direction: column;
        gap: 64px;
        position: relative;
        border-radius: 0px;
        /*transform: translateY(-50%);*/
        display: flex;
        flex-direction: column;
        bottom: 0px;
        left: 0px;
    }
    .inicio .titulo-container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    .titulo-principal {
        font-size: 52px;
    }
    .white-container {
        border-radius: 0px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        bottom: -500px;
        left: 0px;
    }
    .blue-button {
        position: relative;
        width: 90vw;
    }
    .text-block {
        max-width: 100%;
        width: 100%;
        margin: 7rem 1rem;
    }
    .btn {
        flex: 0 0 100%;
        width: 100%;
        padding: 18px 14px;
    }
    #declaraciones,
    #biblioteca {
        max-width: 100%;
    }
    #temario
    .inner-container
    .block-container
    .side-title-block
    > .title-container {
        max-width: 100%;
        width: 100%;
        flex: auto;
    }
    #temario
    .inner-container
    .block-container
    .side-title-block
    > .title-container, >.text-container {
        display: flex;
        flex-wrap: wrap;
        
    }
    #temario.inner-container {
        padding-left: 1rem;
        padding-right: 1rem;

        .block-container {
            .side-title-block {
                gap: 1rem;

                > .title-container,
                > .text-container {
                    flex: 0 0 100%;
                    width: 100%;
                }
            }
        }
    }
    #guia.inner-container {
        padding-left: 1rem;
        padding-right: 1rem;

        .block-container {
            .side-title-block {
                gap: 1rem;

                > .title-container,
                > .text-container {
                    flex: 0 0 100%;
                    width: 100%;
                }
            }
        }
    }
    .animated-cursor {
        display: none;
    }
    .modal-overlay {
        padding: 0 16px 0 16px;
    }
    .confirm-button-container {
        position: relative;
        width: 100%;
        justify-content: center;
    }

    .confirm {
        position: relative;
        width: 100%;
        justify-content: center;
    }
    #contacto {
    & .inner-container {
        & .block-container {
            & .side-title-block {
                > .title-container, > .map-container {
                    display: flex;
                    flex-wrap: wrap;
                    flex: auto;
                }
            }
        }
    }
    }
}

@media (max-width: 601px) {
    .mainLogo {
        z-index: 3;
        left: 28px;
        top: 20px;
        position: absolute;
    }
    .mobileLogo {
        z-index: 3;
        left: -220px;
        top: 20px;
        position: absolute;
    }
    .navbar ul {
        display: none;
    }
    .navbar-scroll ul {
        display: none;
    }
    
    .navbar-scroll .menunav {
        display: none;
    }
    .navbar .menunav {
        display: none;
    }
    
    .boton-menu-lateral {
        display: block;
        position: absolute;
    }
    #lateralCloseMenuIcon {
        position: fixed;
    }
    .menu-line {
        display: none;
    }
    .menu-bar ul {
        display: none;
    }
}

@media (max-width: 602px) {
    #menuMobile {
        & .border-decor {
            display: block;
        }
    }
    .social-links {
        display: none;
    }
}

@media (max-width: 747px) {
    #sede{
        flex-wrap: wrap;
        display: flex;
        .inner-container {
            flex: 0 0 100%;
            padding-left: 1rem;
            padding-right: 1rem;
            margin: 7rem 0;

            .block-container {
                .side-title-block {
                    gap: 1rem;

                    > .title-container {
                        flex: 0 0 100%;
                        width: 100%;

                        > .btn-container {
                            flex: 0 0 100%;
                            width: 100%;
                        }
                    }
                    > .text-container {
                        display: none;
                    }
                }
            }
        }

        .img-container {
            flex: 0 0 100%;
            width: 100%;
            height: 402px;
            top: unset;
            right: unset;
            position: relative;
            margin-bottom: 24px;
        }

        &.switch-sides {
            > .inner-container {
                > .block-container {
                    > .side-title-block {
                        > .title-container {
                            order: 0;
                        }
                    }
                }
            }

            > .img-container {
                left: unset;
            }
        }
    }
    #hoteles{
        max-width: 100%;
        width: 100%;
       /* margin: 7rem 1rem;*/

        .inner-container {
            > .card {
                flex: 0 0 100% !important;
                padding: 2rem 1rem;

                .btn-container {
                    width: 100%;
                    flex: 0 0 100%;
                }
            }
        }
    }
}

@media (max-width: 768px) {
    #contacto.inner-container {
        padding-left: 1rem;
        padding-right: 1rem;

        .block-container {
            .side-title-block {
                gap: 1.5rem;

                > .title-container,
                > .map-container {
                    flex: 0 0 100%;
                    width: 100%;
                }
                > .map-container {
                    height: 400px;
                }
                iframe {
                    max-width: 100%;
                }
            }
        }
    }
}

@media (max-width: 1170px) {
    #hoteles .text-block .inner-container> .card {
        flex: 0 0 calc((100% - 4rem) / 1);
    }
}

@media (max-width: 1280px) {
    .navbar {
        margin-left: 0px;
        margin-right: 0px;
    }
    .navbar-scroll {
        margin-left: 0px;
        margin-right: 12px;
    }
    .social-links {
        right: 40px;
    }
}