nav {
    width: 100%;
}

.custom-logo {
    position: relative;
}

.nav-row1 {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

.nav-row1 button {
    display: none;
}

.nav-row2-items {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-row2-items ul .left-icon {
    display: none;
}

.nav-row2-items a:hover {
    text-decoration: none;
}

.social-icons {
    display: flex;
}

.social-icons li {
    border-radius: 100%;
    padding: 0;
}

.social-icons i {
    display: inline;
}

.nav-row2-items .remove-hr {
    border-top: 0;
}

.menu-container {
    width: 55%;
}

.desktop-menu {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding-bottom: 0;
}

.desktop-menu ul {
    list-style: none;
    padding: 0;
    display: none;
    font-weight: bold;
}

.desktop-menu li {
    font-weight: bold;
}

.mobile-menu {
    display: none;
}

.desktop-menu #submenu {
    display: none;
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: white;
    width: 10vw;
    top: 100px;
    height: auto;
    animation: animateSubmenu 2s 0s ease forwards;
}

@keyframes animateSubmenu {
    0% {
        opacity: 0;
        height: 0;
    }
    100% {
        opacity: 1;
        height: auto;
    }
}

.desktop-menu #submenu li {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.desktop-menu #submenu li i {
    color: grey;
}

#mobile-menu-toggle {
    display: none;
}

.desktop-menu-item {
    padding: 5px 10px;
    border-radius: 5px;
}

@media screen and (max-width: 900px) {
    .nav-row1 button {
        display: inline;
    }

    .social-icons {
        display: none;
    }

    .nav-row2-items button {
        margin-top: 20px;
    }
    .desktop-menu {
        display: none;
    }
    .mobile-menu-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        position: relative;
    }

    .menu-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #mobile-menu-toggle {
        font-size: 20px;
        display: inline;
        border-radius: 5px;
    }

    #mobile-menu-content {
        display: none;
        flex-direction: column;
        align-items: center;
        position: fixed;
        background-color: white;
        list-style: none;
        right: 0;
        top: 120px;
        z-index: 100;
        width: 80%;
        padding: 20px;
        animation: animateDropdown 1s 0s ease;
        opacity: 1;
    }

    @keyframes animateDropdown {
        0% {
            width: 0%;
            opacity: 0;
        }

        100% {
            width: 80%;
            opacity: 1;
        }
    }

    #mobile-menu-content li {
        padding-top: 10px;
    }

    #mobile-menu-content ul {
        list-style: none;
        width: 100%;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #mobile-menu-content ul li {
        list-style: none;
        width: 90%;
        display: flex;
        justify-content: space-between;
    }

    #mobile-menu-content a {
        font-weight: bold;
    }

    #mobile-menu-content .parent-menu-item {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding-bottom: 10px;
    }

    #complex-menu-item {
        width: 100%;
        position: relative;
        left: 0;
        top: 0;
        padding: 0px;
    }

    #complex-menu-item .submenu {
        display: none;
        animation: animateSubmenu 1s 0s ease;
        height: auto;
    }

    @keyframes animateSubmenu {
        0% {
            opacity: 0;
            height: 0;
        }
        100% {
            opacity: 1;
            height: auto;
        }
    }

    #complex-menu-item .parent-menu-item {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .nav-row1 {
        padding-right: 0%;
    }
}
