/*.nav-bar{
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--blanco);
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;

    .nav-bar__left-bar{
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        flex-grow: 1;

        a{
            display: block;
            height: 100%;
        }

        .logo{
            background-color: var(--blanco); 
            display: block;
            object-fit: contain;
            object-position: center center;
            width: 150px;
            height: 90px;
            
        }
    }

    #acmenu, #demenu{
        display: none;
        i{
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--text-color-tema1);
        }
    }

    #acmenu{
        @media (width < 800px){
            display: block;
        }
    }

    .nav-bar__right-bar{
        flex-grow: 2;
        color: var(--text-color-tema0);
        font-size: var(--clamp-text-2);
        transition: 0.5s;
        color: var(--tema-color1);

        &, ul{
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            list-style: none;

            li{
                position: relative;

                &::after{
                    content: '';
                    position: absolute;
                    width: 0;
                    height: 2px;
                    border-radius: 2px;
                    background-color: var(--tema-color2);
                    bottom: 0;
                    left: 0;
                    transition: width .5s;
                }

                &:hover::after{
                    width: 100%;
                }
            }
        }

        @media (width < 800px) {
            position: absolute;
            width: 100%;
            top: 100px;
            left: 0;
            z-index: 10;
            height: 0;
            background-color: white;
            color: var(--tema-color1);
            overflow: hidden;
            border-bottom: var(--tema-color1) 1px solid;

            ul{
                padding: 1rem 1rem;
                text-align: center;
                flex-direction: column;
                div{
                    display: none;
                }
            }
        }
    }

    &.nav-bar-scrolling{
        background-color: var(--tema-color3);
        border-bottom: var(--tema-color1) 2px solid;
        transition: 0.5s;

        &.nav-bar-scrolling-up{
            transform: translateY(-300px);
        }
    }

    &.select{
        .nav-bar__right-bar{
            height: calc(100% + 60px);
        }

        #acmenu{
            display: none;
        }

        #demenu{
            display: block;
        }
    }
}
*/
/* Safari fix */

.nav-bar {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--blanco);
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
}

.nav-bar__left-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-grow: 1;
}

.nav-bar__left-bar a {
    display: block;
    height: 100%;
}

.nav-bar__left-bar .logo {
    background-color: var(--blanco);
    display: block;
    object-fit: contain;
    object-position: center center;
    width: 150px;
    height: 90px;
}

#acmenu, #demenu {
    display: none;
}

#acmenu i, #demenu i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-color-tema1);
}

@media (max-width: 800px) {
    #acmenu {
        display: block;
    }
}

.nav-bar__right-bar {
    flex-grow: 2;
    color: var(--text-color-tema0);
    font-size: var(--clamp-text-2);
    transition: 0.5s;
    color: var(--tema-color1);

}

.nav-bar__right-bar ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    list-style: none;

}

.nav-bar__right-bar li {
    position: relative;
}

.nav-bar__right-bar li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background-color: var(--tema-color2);
    bottom: 0;
    left: 0;
    transition: width 0.5s;
}

.nav-bar__right-bar li:hover::after {
    width: 100%;
}

@media (max-width: 800px) {
    .nav-bar__right-bar {
        position: absolute;
        width: 100%;
        top: 100px;
        left: 0;
        z-index: 10;
        height: 0;
        background-color: white;
        color: var(--tema-color1);
        overflow: hidden;
        border-bottom: var(--tema-color1) 1px solid;
    }

    .nav-bar__right-bar ul {
        padding: 1rem;
        text-align: center;
        flex-direction: column;
        div{
            display: none;
        }
    }

}

.nav-bar-scrolling {
    background-color: var(--tema-color3);
    border-bottom: var(--tema-color1) 2px solid;
    transition: 0.5s;
}

.nav-bar-scrolling.nav-bar-scrolling-up {
    transform: translateY(-300px);
}

.select .nav-bar__right-bar {
    height: calc(100% + 60px);
}

.select #acmenu {
    display: none;
}

.select #demenu {
    display: block;
}