/*/////////////////////////////// Menu styles /////////////////////////*/
.menu-section {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    height: 100vh;
    padding: 25px 10px;
    border-radius: 10px;
    right: 0;
    left: unset;
    top: 0;
    bottom: 0;
    z-index: -10;
    opacity: 0;
    transition: all .4s;
}

.menu-section__close {
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.menu-section__open {
    z-index: 100;
    opacity: 1;
}

.menu-section__list {
    width: 15rem;
    right: 1rem;
    top: 1rem;
    position: absolute;
    transform: translateX(150%);
    opacity: 0;
    visibility: hidden;
    transition: transform .4s linear .4s;
    z-index: 10;
}

.menu-section__close-page {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-color: transparent;
    position: absolute;
    inset: 0;
    z-index: 5;
}

.menu-section__open .menu-section__list {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.user-information {
    margin-bottom: 0.7rem;
}

.menu-list {
    padding: 0;
    list-style: none;
    width: 100%;
}

.menu-btn {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: right;
    border: 1px solid var(--bs-light);
    outline: 0;
    color: var(--bs-light);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(163, 163, 163, 0.2);
    display: flex;
    position: relative;
    align-items: center;
    overflow: hidden;
    gap: 10px;
    transition: all .3s ease;
}

.menu-item:not(:last-child){
    margin-bottom: 10px;
}

.menu-btn::before {
    content: '';
    width: 20px;
    height: 200%;
    position: absolute;
    top: 50%;
    border-radius: 5px;
    background-color: rgba(251, 251, 251, 0.5);
    transform: translate(-300px ,-50%) rotate(-45deg);
    transition: all 0.5s ease;
}

.menu-btn__text {
    width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-btn:hover::before {
    transform: translate(300px ,-50%) rotate(-45deg);
}

.menu-item:hover .menu-btn {
    color: var(--bs-warning);
    transform: translateX(-5px);
}

.menu-item__active .menu-btn,
.menu-item__active > .menu-list__child-button{
    color: var(--bs-warning) !important;
}

.menu-list__child {
    position: absolute;
    list-style: none;
    right: 105%;
    padding: 0;
    top: 5.5rem;
    visibility: hidden;
    white-space: nowrap;
}

.menu-list__child-last {
    top: 1rem;
}

.menu-list__child-item {
    opacity: 0;
    transform: translateX(15px);
    transition: all .2s;
}

.menu-list__child-button {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: right;
    border: 1px solid var(--bs-light);
    outline: 0;
    color: var(--bs-light);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(163, 163, 163, 0.2);
    display: flex;
    position: relative;
    align-items: center;
    justify-content: end;
    overflow: hidden;
    gap: 10px;
    transition: all .3s ease;
}

.menu-list__child-first {
    font-size: 14px;
    padding: 10px;
}

.menu-list__child-second {
    font-size: 12px;
    padding: 8px;
}

.menu-list__child-third {
    font-size: 11px;
    padding: 6px;
}

.menu-list__child-button::before {
    content: '';
    width: 10px;
    height: 200%;
    position: absolute;
    top: 50%;
    border-radius: 5px;
    background-color: rgba(251, 251, 251, 0.5);
    transform: translate(-300px ,-50%) rotate(-45deg);
    transition: all 0.8s ease;
}


.menu-list__child-button:hover::before {
    transform: translate(300px ,-50%) rotate(-45deg);
}

.menu-list__child-button:hover {
    color: var(--bs-warning);
    transform: translateX(-3px);
}

.menu-list__child-item:not(:last-child){
    margin-bottom: 5px;
}

.menu-list__child-open {
    opacity: 1;
    visibility: visible;
}

.menu-list__child-open > .menu-list__child-item {
    opacity: 1;
    transform: translateX(0);
    transition: all .2s;
}
/*/////////////////////////////// Menu styles end /////////////////////////*/