nav.navbar{
    display: flex ;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 1rem;
    height: auto;
    gap: .7rem;
    overflow: hidden;
    width: 100wh;
    background: #ffffff;
    transition: all 200ms ease-out; 

}


.navbar-links{
    background-color: var(--color-white);
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    transition: all 200ms ease-out; 
}

.navbar-links ul{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: .6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links ul li a{
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-darker);
    text-decoration: none;
    transition: color 0.3s ease-out;
}

.navbar-links ul li.active a, .navbar-links ul li:hover a{
    color: var(--color-primary);
    border-bottom: 3px solid var(--color-blue-sky) ;
}

.navbar-search{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding-right: 1rem;
    gap: .5rem;
    z-index: 10;
}
.button-wrapper{
    z-index: 100;
    background-color: #ffffff00;
    padding: 0 .5rem;
    margin: 0;

}
.navbar-search button{
    border: none;
    background-color: #ffffff00 ;
    font-size: 1.3rem;
    transition: background-color 0.2s ease;
}

.navbar-search button:hover , .navbar-search button:focus, .navbar-search button.active{
    cursor: pointer;
    background-color: var(--color-darker);
    color: var(--color-white);
    transition: all 1s;
}


.navbar-search form{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: .5rem;
    z-index: 10;
    max-width: max-content;
}

.navbar-search form input{
    font-size: 1rem;
    padding: .3rem;
    outline: none;
    border: none;
    background-color: var(--color-gray);
    transform: scaleX(0);
    transform-origin: right;
    transition: all 400ms ease;
    transition-delay: 200ms;
}

.navbar-search form.active input {
    transform: scaleX(1);
    transition-delay: 400ms;
}


.navbar-logos{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    visibility: visible;
    width: fit-content;
    transform: translateX(0%);
    overflow: hidden;
    transition: all 200ms ease-out;
}

.navbar-logos.hidden{
    display: none;
    transform: translateX(200%);
    transition: all 400ms ease-out;
    /* transition-delay: 1000ms; */
}

.logo-image{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.navbar-logos .separator{
    width: 1px;
    height: 70%;
    background-color: var(--color-lighter);
}

.responsive-menu-button{
    display: none;
}

.responsive-menu-links{
    display: none;
}

/* for mobiles */

@media screen and (max-width: 950px) {
    nav.navbar{
        justify-content: space-evenly;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem ;
        height: max-content;
        overflow: visible;
        flex-wrap: wrap;
    }
    
    .navbar-logos > *:not(.main-logo){
        display: none;
    }

    .navbar-search form input{
        transform: scale(1);
    }
    .navbar-links{
        display: none;
    }
    .responsive-menu-button{
        display: block;
        cursor: pointer;
    }
    .responsive-menu-button:hover{
        display: block;
        cursor: pointer;
        background-color: var(--color-darker);
        color: var(--color-white);
        transition: all 1s;
    }
    .responsive-menu-links{
        display: flex;
        padding: -2rem 0 0 0;
        margin: 0;
        width: 100%;
        height: 0;
        transition: all 300ms ease-in-out;
        overflow: hidden;
        z-index: 0;
    }
    .responsive-menu-links.active{
        margin: 0 0 2rem 0 ;
        padding: 0 0;
        height: max-content;
    }
    .responsive-menu-links ul{
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .responsive-menu-links ul li a{
        color: var(--color-darker);
        text-decoration: none;
    }
    .button-wrapper{
        padding: 0;
    }
    
}