.menu_background {
    overflow-y: auto !important;
    z-index: 1;
    padding-right: 5px;
    scrollbar-gutter: stable;
}

.menu_background.defaultIndex {
    z-index: auto;
}

.menu_background::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.9);
    width: calc(100% - 5px);
    height: 100%;
}

.menu_background::-webkit-scrollbar {
    width: 5px;
    position: absolute;
    background-color: #FFFFFF80;
}

.menu_background::-webkit-scrollbar-thumb {
    background-color: var(--brandColorHexa);
}

.categoryCloner {
    width: calc(100% - 0px);
    height: max-content;
    overflow: hidden;
    position: relative;
    transition: height 400ms ease-in-out;
}

.categoryCloner .categoryTitle {
    width: 100%;
    height: max-content;
    padding: 5px;
    background-color: #FFFFFF;
    color: #000000;
    margin-bottom: 1px;
    text-align: center;
    font-weight: 600;
    transition: background-color 200ms ease, color 200ms ease;
    cursor: pointer;
    position: relative;
    overflow: hidden !important;
}

.categoryCloner .categoryTitle:hover,
.categoryCloner.active .categoryTitle {
    color: #FFFFFF;
}

.categoryCloner .categoryTitle .title {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.menu_background.defaultIndex .categoryCloner .categoryTitle .title{
    z-index: auto;
}

/* buttons animation */
.categoryCloner .categoryTitle .ripple {
    position: absolute;
    background: rgba(var(--brandColorRGB), 1);
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    animation: ripple_categoryTitle 0.7s ease-out forwards;
}

.categoryCloner .categoryTitle .ripple.fallback {
    animation: ripple_fallback_categoryTitle 0.7s ease-out forwards;
}

@keyframes ripple_categoryTitle {
    0% {
        width: 0px;
        height: 0px;
        background: rgba(var(--brandColorRGB), 0);
    }

    100% {
        width: 210%;
        height: 600px;
        background: rgba(var(--brandColorRGB), 1);
    }
}

@keyframes ripple_fallback_categoryTitle {
    0% {
        width: 210%;
        height: 500px;
        background: rgba(var(--brandColorRGB), 1);
    }

    100% {
        width: 0px;
        height: 0px;
        background: rgba(var(--brandColorRGB), 0);
    }

}

.categoryCloner .nodeCloner {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.categoryCloner.active .nodeCloner {
    position: static;
    opacity: 1;
    pointer-events: all;
}

.categoryCloner .nodeCloner .nodeContainer {
    position: relative;
    width: 100%;
    height: max-content;
    display: flex;
    overflow: hidden;
    cursor: pointer;
}

.menu_background[mode="night"] .categoryCloner .nodeCloner .nodeContainer[node-mode="day"],
.menu_background[mode="day"] .categoryCloner .nodeCloner .nodeContainer[node-mode="night"] {
    display: none;
}

.categoryCloner .nodeCloner .nodeContainer.active::after {
    content: '';
    width: 8px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--brandColorHexa);
    transition: all 400ms ease-in-out;
}

.categoryCloner .nodeCloner .nodeContainer .nodeImage {
    width: 100%;
    position: relative;
    transition: transform 400ms ease;
}

.categoryCloner .nodeCloner .nodeContainer .backgroundOverlay {
    position: absolute;
    inset: 0;
    background-color: rgba(8, 9, 30, 0.6);
    transition: background-color 400ms ease;
    pointer-events: none;
}

.categoryCloner .nodeCloner .nodeContainer:hover .nodeImage {
    transform: scale(1.2);
}

.categoryCloner .nodeCloner .nodeContainer:hover .backgroundOverlay,
.categoryCloner .nodeCloner .nodeContainer.active .backgroundOverlay {
    background-color: rgba(8, 9, 30, 0);
}


.categoryCloner .nodeCloner .nodeContainer .nodeTitle {
    width: 100%;
    color: #FFFFFF;
    padding: 0 10px;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 1px 1px;
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    bottom: 10px;
    left: 0;
}

.categoryCloner .nodeCloner .nodeContainer .nodeCheckbox {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
}

.categoryCloner .nodeCloner .nodeContainer .nodeCheckbox svg {
    width: 100%;
    height: 100%;
}