.navbar {
    display: flex;
    justify-content: center;
    /* background: none; */
    margin-left: auto;
    margin-right: auto;
    height: 3rem;
    background-color: rgba(22, 22, 23, 1);
    /* backdrop-filter: blur(5px); */
    padding-top: 0!important;
    padding-bottom: 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: 100vw;
    max-height: 0;
    border: none;
    margin: 0!important;
    padding: 0!important;
    top: 3rem;
    z-index: 1000; 
    left: 0 !important;
    background-color: rgba(22, 22, 23, 1);
    overflow-y: hidden;
    overflow-x: hidden;
    box-shadow: 0px 100px 100px rgba(22, 22, 23, 1);
}

.dropdown-menu.show {
    background-color: rgba(22, 22, 23, 1);
    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; 
}


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

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