﻿.navbar {
    flex-wrap: nowrap;
    padding-bottom: 0;
}

    .navbar > .container-fluid {
        justify-content: start;
        gap: var(--bs-gutter-x, 0.75rem);
    }

#menu__toggle {
    opacity: 0;
}

    #menu__toggle:checked + .menu__btn > .menu__patty {
        transform: translateY(-50%) rotate(45deg);
        top: 50%;
    }

        #menu__toggle:checked + .menu__btn > .menu__patty::before {
            top: 0;
            transform: rotate(0deg);
        }

        #menu__toggle:checked + .menu__btn > .menu__patty::after {
            top: 0;
            transform: rotate(90deg);
        }

    #menu__toggle:checked ~ .menu__box {
        left: 0 !important;
    }

.menu__btn > .menu__patty,
.menu__btn > .menu__patty::before,
.menu__btn > .menu__patty::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #616161;
    transition-duration: 0.25s;
    content: "";
}

    .menu__btn > .menu__patty::before {
        top: 16px;
    }

    .menu__btn > .menu__patty::after {
        top: 8px;
    }

.menu__btn {
    position: relative;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1;
}

.menu__box {
    display: block;
    position: absolute;
    top: 100%;
    width: 100vw;
    max-width: 400px;
    margin: 0;
    line-height: 22px;
    padding: 0 0;
    list-style: none;
    background-color: #ebebeb;
    box-shadow: inset 0 1rem 1rem -1rem rgba(0, 0, 0, 0.25), 0px 3px 6px #29292965;
    transition-duration: 0.25s;
    left: -100%;
    align-items: center;
}

.menu__item + .menu__item {
    border-top: 1px solid #c2c2c2;
}

.menu__link {
    color: #1d5182;
    cursor: pointer;
    display: block;
    padding: 1em var(--bs-gutter-x);
    text-decoration: none;
    transition-duration: 0.25s;
}

    .menu__link:hover {
        background-color: #cfd8dc;
        color: #0d6efd;
    }

.menu__link--text {
    color: inherit;
    cursor: inherit;
}

    .menu__link--text:hover {
        background-color: initial;
    }

.menu__link--button {
    display: block;
    color: #fff;
    background-color: #387abc;
}

    .menu__link--button:hover {
        background-color: #ffcd32;
        transition: background-color 0.2s ease-in-out;
        color: #21578a;
    }

@media (min-width: 1200px) {
    .navbar > .container-fluid {
        justify-content: space-between;
    }

    .menu-toggler {
        display: none;
    }

    .menu__box {
        display: flex;
        position: initial;
        width: auto;
        line-height: 1.3;
        box-shadow: none;
        background-color: initial;
        max-width: initial;
    }

    .menu__item + .menu__item {
        border-top: 0;
    }

    .menu__link {
        padding: 0.5em 1em;
        border-radius: 0.25em;
        text-align: center;
        font-family: museo-sans, Arial, sans-serif;
        font-size: 18px;
    }

    #adminDropDown .dropdown-item {
        font-size: 1rem;
    }
}
