.navbar {
    display: flex;
    justify-content: center;
    height: 3rem;
    padding-top: 0!important;
    padding-bottom: 0!important;
    border-radius: 30px;
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(156%) blur(4px);
    transition: background-color 0.2s ease;

}

.navbar:hover {
    background-color: rgba(0, 0, 0, 1);
}


.navbar-dropdown-open {
    border-bottom-left-radius: 0!important;
    border-bottom-right-radius: 0!important;
}

.navbar-brand > img {
    width: 2rem;
    height: 2rem;
}

.navbar-nav {
    align-items: center;
}

.nav-item {
    margin-left: 2.5rem;
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    outline:none;
    height: 3rem;
    text-decoration: none;
    transition: color 400ms ease-in-out;
    padding: 0 !important;
    line-height: 3rem;
}

.nav-link::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: white;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::before {
    transform: scaleX(1);
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    cursor:pointer;
    
}

.navbar-collapse {
    flex-grow: 0;
}

.igem_navbar__wrapper {
    min-width: 1024px;
    width: 100%;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.dropdown-item {
    color:white;
}

.dropdown-menu {
    position: fixed;
    display: none;
    width: 100%;
    max-height: 0;
    border: none;
    margin: 0!important;
    padding: 0!important;
    top: 3rem;
    z-index: 1000; 
    left: 0 !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0px 100px 100px rgba(22, 22, 23, 1);
    background-color: rgba(0, 0, 0, 1);

}

.dropdown-menu.show {
    animation: showDropdown 300ms ease-in-out forwards;
}



.igem_navbar_toggle {
    width: 100%;
    max-width: 1024px;
    display:flex;
    justify-content: start;
    position: relative;
    /* padding-top: 1.5rem; */
    padding-bottom: 1.5rem;
    margin: 0 auto;
}

.dropdown_list {
    list-style: none;
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 0;
}

.dropdown_list > li:not(:last-child) {
    margin-bottom: 0.25rem;
}

.dropdown_list .dropdown-item {
    color: white;
    transition: all 170ms ease-in-out;
}

.dropdown_list .dropdown-item:hover {
    background: none;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.6);
}


.primary_list .dropdown-item {
    font-size: 1.5rem;
    font-weight: 700;
}
.primary_list{
    padding-left: 0 !important;
}

.primary_list .dropdown-item:hover {
    transform: scale(1.2);
}


.dropdown_title {
    position: relative;
    font-size: 1rem!important;
    color: rgb(134, 134, 139)!important;
    font-weight: 400!important;
}

.dropdown_title:hover {
    transform: none!important;
    text-shadow: none!important;
}


.dropdown_toggle:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block!important;
    max-height:40rem;
    z-index: 1000; 
    animation: showDropdown 500ms ease-in-out forwards;
    overflow: hidden;
}


@keyframes showDropdown {
    0% {
        max-height: 0;
    }

    100% {
        max-height: 40rem;
    }
}
