@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto:wght@100;300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@keyframes animation-nav-active{
    from {
        background: linear-gradient(to bottom, #ffff, transparent);
    }
    to {
        background: #ffff;
    }
}

@keyframes animation-nav-inactive{
    from {
        background: #ffff;
    }
    to {
        background: linear-gradient(to bottom, #ffff, transparent);
    }
}

@keyframes animation-navbar{
    from {
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}



.navbar{
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: 100px;
    position: fixed;
    z-index: 2;
    background-image: linear-gradient(to bottom, #ffff, transparent)!important;

}

#navbar-toggler-2{
    display: none;
}

#navbar-brand-2{
    display: none;
}

.n-active{
    background: #ffff;
    animation-name: animation-nav-active;
    animation-duration: 0.7s;
}

.n-inactive{
    background: linear-gradient(to bottom, #ffff, transparent);
    animation-name: animation-nav-inactive;
    animation-duration: 0.7s;
}

.active{
    display: flex!important;
    animation-name: animation-navbar;
    animation-duration: 0.2s;
}

.navbar-toggler{
    display: none;
}

.nav-responsive{
    display: none;
}

.no-scroll{
    overflow: hidden;
}

.navbar-nav{
    max-width: 100%;
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 150px;
}

.nav-item{
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

}

.nav-link{

    white-space: nowrap;
    height:60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.nav-link::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: black;
    top: 15%;
    left: 0;
    right: 0;
    bottom: 0;
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
    opacity: 0;
    transition-delay: 0.1s;
}

.nav-link:hover::after{
    transform: scaleX(1);
    opacity: 1;
    transition-delay: 0s;
}

.static-bar::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ffff;
    transform: scaleX(1); /* se establece el valor en 0 para que esté estático */
    opacity: 1!important; /* se establece el valor en 1 para que esté visible */
}

.navbar-brand{
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-navbar-brand{
    width: 100px;
}

.nav-link:active,.nav-link:focus,.nav-link:visited,.nav-link:link{
    color: black;
}


@media screen and (max-width: 1200px) {
    .navbar-nav{
        display: none;
    }
    .navbar-toggler{
        display: flex;
        max-width: 100%;
        width: 50px;
        height: 40px;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        border: none;
        position: absolute;
        left: 5%;

    }

    .menu {
        display: block;
        width: 48px;
        height: 48px;
        cursor: pointer;
    }
      
    .menu rect {
        fill: black;

    }

    .navbar-brand{
        max-width: 200px;
        width: 100%;
    }

    .nav-responsive{
        position: absolute;
        background-color: white;
        max-width: 100%;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
        text-align: center;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 3;

    }

    #navbar-toggler-2{
        top: 7%;
        display: flex;
    }

    #navbar-brand-2{
        position: absolute;
        top: 5%;
        width: 100px;
        display: flex;
    }

    .navbar-nav-responsive{
        max-width: 100%;
        width: 100%;
        position: absolute;
        top: 15%;
        
    }

    .nav-item{
        height: 100px;
        display: flex;
        max-width: 100%;
        width: 100%;
        flex-direction: column;

    }

    .nav-link:hover::after{
        opacity: 0;
    }

    .nav-link{
        max-width: 100%;
        width: 90%;
        text-align: left;
        display: flex;
        align-items: left;
        justify-content: space-between;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        border-bottom-color: rgba(255, 255, 255, 0.5);

    }

    .nav-link:hover{
        font-weight: 500;
    }

    .nav-link .text-nav-link:nth-child(2){
        font-size: 40px;
        font-weight: 100;
    }

    .navbar{
        height: 100px;
    }

    .navbar-brand{
        max-width: 150px;
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .navbar{
        height: 60px;
    }

    .img-navbar-brand{
        width: 50px;
    }


}



