/*---------------------------------------------------------------------------------------------------navbar */

.navbar_margin {
    margin-bottom: 7vw;
}

.navbar {
    display: inline-flex;
    position: fixed;
    height: auto;
    width: calc(100% - 10px);
    background-color: rgb(86, 62, 218);
    align-items: center;
    z-index: 999;
    border: solid 5px rgb(255, 255, 255);
    border-radius: 0px 0px 2vw 2vw;
    border-top-style: none;
    top: -5px;
}

.navbar .text {
    position: relative;
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 2vw;
    padding: 10px;
}

.navbar .mvd {
    display: inline-flex;
    position: relative;
    height: 100%;
    width: 20vw;
    background-color: rgb(39, 39, 39);
    justify-content: center;
    align-items: center;
    border: solid 5px rgb(255, 255, 255);
    border-radius: 0px 0px 2vw 2vw;
    border-top-style: none;
    top: 5px;
    left: -5px;
}

/*---------------------------------------------------------------------------------------------------END navbar */



/*-------------------------------------------------------------------------------drop menu ding */

    /* Main Button */
    .navbar .dropdown {
        display: inline-flex;
        cursor: pointer;
        color: white;
        text-align: center;
    }

    /* First-Level Dropdown */
    .navbar .dropdown-menu {
        display: none;
        position: absolute;
        top: 2.88vw;
        min-width: fit-content;
        list-style: none;
        padding: 0;
    }

    /* Show menu on hover */
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu li {
        display: flex;
        position: relative;
        height: auto;
        width: 20vw;
        background-color: rgb(39, 39, 39);
        justify-content: center;
        border: solid 5px rgb(255, 255, 255);
        border-radius: 2vw;
        padding: 10px 0px 10px 0px;
        justify-content: center;
    }

    .navbar .dropdown-menu li:hover {
        background-color: rgb(58, 58, 58);
    }

    /* Second-Level Dropdown */
    .navbar .submenu {
        position: relative;
    }

    .navbar .submenu-menu {
        display: none;
        position: absolute;
        left: 100%;
        top: -0.3vw;
        height: auto;
        min-width: fit-content;
        list-style: none;
        padding: 0;
    }

    .navbar .submenu:hover .submenu-menu {
        display: block;
    }

    .navbar .text-li {
        color: white;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }

    .navbar li a {
        display: block; /* Makes the anchor behave like a block */
        width: 100%; /* Fills the entire list item */
        height: 100%; /* Ensures it covers the entire space */
        text-decoration: none; /* Removes underline */
        color: white;
    }

/*-------------------------------------------------------------------------------END drop menu ding */



/*---------------------------------------------------------------------------------------------------media ding */

@media only screen and (max-width: 1000px) {

    .navbar_margin {
        margin-bottom: 15vw;
    }

    .navbar, .mvd, li {
        border-radius: 0px 0px 3vw 3vw;
    }

    .navbar .text {
        font-size: 3.5vw;
    }

    .navbar li {
        top: 6.45vw;
    }

    .navbar .submenu-menu {
        top: -7vw;
    }

}

/*---------------------------------------------------------------------------------------------------END media ding */
