#menu-button {
    border: 1px solid #000000;
    border-radius: 3px;
    background: transparent;
    margin: 15px;
    padding: 6px 12px;
    position: relative;
}

#mobile-menu {
    display: none;
    z-index: 2;
    position: absolute;
    height: 100vh;
    width: 90%;
    background: #316498;
    color: var(--text-white);
    border-color: #ffffff;
    line-height: 31px;
    list-style-type: none;
    overflow-y: auto;
    right: 0;
    animation-duration: 0.5s;
    animation-name: slide-from-right;
}

@keyframes slide-from-right {
    from {
        right: -100%;
    }
    to {
        right: 0;
    }
}

#mobile-menu a,
#mobile-menu .fa,
#mobile-menu .fab {
    text-decoration: none;
    color: var(--btn-text-white);
    font-size: 20px;
    text-align: center;
    padding: 10px;
}

#mobile-menu ul {
    padding: 1em 0;
    margin: 0;
}

#mobile-menu li .selected,
#mobile-menu li .selected i {
    background: var(--default-white);
    color: var(--text-black);
    font-weight: bold;
}

#mobile-menu hr {
    border-color: #ffffff;
}

#menu-header {
    border-bottom: 2px solid #ffffff;
}

.mobile-title {
    margin: 0;
    font-size: 31px;
}

#menu-header > * {
    padding: 15px;
}

#menu-overlay {
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 55%);
    z-index: 1;
}

#menu-exit {
    background: none;
    border: none;
    color: var(--btn-text-white);
    font-size: 31px;
}

.icon-title {
    /* commenting this out because the sidebar text was not wrapping */

    /* flex: 1 0 auto; */
}

#menu-button .notification-badge {
    position: absolute;
    right: -10%;
    top: -30%;
}

#mobile-menu .notification-badge {
    background-color: var(--danger-red);
    padding: 0 10px;
    color: var(--always-default-white);
    font-weight: bold;
    border-radius: 4px;
    height: 40px;
    display: flex;
    align-items: center;
}

@media (min-width: 541px) {
    #menu-button,
    #mobile-menu,
    #menu-overlay {
        display: none;
    }
}
