.custom-menu-item {
    text-align: center;
    height: 120px;
    width: 100%;

    background-color: rgba(255, 255, 255, 0.294);

    display: flex;
    justify-content: center;
    align-items: center;

    border-bottom: 2px solid black;

    z-index: 1001;

    transition: all 0.2s linear;
}

.custom-menu-item.close-button {
    position: relative;
    width: 100%;
    border-top: 2px solid black;
    flex-shrink: 0;
}

.custom-menu-item:hover {
    background-color: #fff;
    z-index: 1300;
    cursor: pointer;
}

.custom-menu-items {
    position: fixed;
    height: 100dvh;
    width: 400px;
    top: 0;
    right: -400px;

    display: flex;
    flex-direction: column;

    background-color: rgba(250, 250, 250, 0.938);
    background-position: center;
    background-size: cover;
    background-repeat: repeat-x;

    z-index: 1001;

    box-shadow: -10px 0 25px 10px rgba(0, 0, 0, 0.741);
}

.custom-menu-items-overlay {
    position: fixed;
    height: 100dvh;
    width: 400px;
    top: 0;
    right: 0;

    background-color: rgba(255, 255, 255, 0.25);
}

.custom-menu-label {
    z-index: 1200;
    font-size: 26px;
}

.custom-menu-label>a {
    text-decoration: none;
    color: black;
}

.custom-nav {
    position: fixed;
    z-index: 9000;
}

.custom-nav-button {
    position: fixed;
    top: 20px;
    right: 27px;

    font-size: 40px;
    color: #fff;

    z-index: 1000;
}

.custom-nav-button:hover {
    cursor: pointer;
}

/* https://uiverse.io/Ali-Tahmazi99/unlucky-termite-68 */
input[type="checkbox"] {
    -webkit-appearance: none;
    display: none;
    visibility: hidden;
}

.bar {
    display: block;
    position: relative;
    cursor: pointer;
    width: 30px;
    height: 27px;
}

.bar span {
    position: absolute;
    width: 32px;
    height: 5px;
    background: #f1faee;
    border-radius: 100px;
    display: inline-block;
    transition: 0.3s ease;
    left: 0;
}

.bar span.top {
    top: 0;
}

.bar span.middle {
    top: 11px;
}

.bar span.bottom {
    bottom: 0;
}

input[type]:checked~span.top {
    transform: rotate(44.5deg);
    transform-origin: top left;
    width: 34px;
    left: 4px;
}

input[type]:checked~span.bottom {
    transform: rotate(-45deg);
    transform-origin: top left;
    width: 33px;
    bottom: -1px;
    box-shadow: 0 0 10px #495057;
}

input[type]:checked~span.middle {
    transform: translateX(-20px);
    opacity: 0;
}

.top-section-nav {
    flex-grow: 1; /* Takes up all available space */
    overflow-y: auto;
}

@media only screen and (max-width: 600px) {
    .custom-menu-items {
        width: 300px;
    }
}