.navbar {
    background: none;
    border-radius: 15px;
    width: 83.33%;
    margin-left: auto;
    margin-right: auto;
    height: 84px;
}

.bg-navbar {
    background-color: #1e1e1e;
}

.dropdown-menu > li > a:hover {
    background-image: none;
    background-color: black;

    color: white;
}

.dropdown > a:hover > span {
    background-image: none;
    background-color: black;
}

.dropdown > a > span {
    padding: 2px 8px;
}

.dropdown-menu {
    background: #1e1e1e;
    border-radius: 0px 0px 20px 20px;
    padding-bottom: unset;
    outline: none;
    border: none;
}

.dropdown-item {
    color: white;
    border-radius: 15px;

    padding: 10px 20px;
    background: #1e1e1e;
}

.underline {
    border-bottom: 1px solid white;
    display: block;
    width: 90%;
    margin: 0 auto;
}

.navbar-collapse {
    background: #1e1e1e;
}
.nav-link span {
    border-radius: 15px;
}

/* .dropdown-menu li:not(:last-child) .dropdown-item {
    text-decoration: underline; 
    text-underline-offset: 10px;
    margin: 0 auto;
} */

.nav-item.dropdown .nav-link {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: white;
}

#font-toggler {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-align: center;
}

.font-togglers {
    display: flex;
    justify-content: space-around;
    text-align: center;
    width: 100%;
}

#decrease-font-size,
#increase-font-size {
    font-size: 4vw;
    line-height: 3vw;
}

@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
    }
    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }
    .navbar .nav-item .dropdown-menu {
        margin-top: 0;
        font-size: 20px;
        background: #1e1e1e;
    }
    .nav-link span {
        font-size: 1.3vw;
    }

    #accessibility-dropdown {
        position: absolute;
        right: calc(100% - 60px);
    }

    #language-dropdown {
        position: absolute;
        right: calc(100% - 60px);
        cursor: pointer;
    }

    #language-dropdown > li {
        margin: auto;
    }

    #language-dropdown > li:last-child .underline {
        border-bottom: none;
    }
    .nav-item.dropdown .nav-link {
        height: 84px;
    }
}

@media all and (max-width: 1600px) {
    .navbar {
        width: 100%;
    }
    .navbar .container {
        width: 100%;
        margin: 0;
        max-width: unset;
    }
}
