.submenu-li{
    position: relative;
}
.submenu-li>a{
    display: flex;
    align-items: center;
}
.submenu-li i{
    margin-right: 5px;
    color: rgb(17, 13, 222);
}
.submenu-box{
    width: fit-content;
    float: right;
    position: absolute;
    top: 87%;
    right: -50%;
    display: none;
    padding-top: 1em;
    z-index: 1;
}
.submenu-list{
    width: 10em;
    float: right;
    background: rgb(183 187 203 / 89%);
    box-shadow: 0 8px 32px 0 rgb(126 131 200 / 37%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    padding: 0.5em 1em;
    box-sizing: border-box;
}
:is(.submenu-list,.subcategory-menu) a{
    width: 100%;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 14px;
    z-index: 1;
    padding: 0.3em 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
}
:is(.submenu-list,.subcategory-menu) a:hover{
    border:none;
    color: rgb(255, 255, 255);
}
:is(.submenu-list,.subcategory-menu) i{
    transition: 0.4s;
}
:is(.submenu-list,.subcategory-menu) a:hover i{
    color: rgb(255, 255, 255);
    transition: 0.4s;
}
.submenu-list a:last-child{
    margin: 0;
}
.submenu-li:hover .submenu-box{
    display: flex;
}

/* sub category */
.submenu-category{
    width: 100%;
    float: left;
    display: flex;
    position: relative;
    /*margin-bottom: 0.9em;*/
    line-height: 25px;
}
.submenu-category:last-child{
    margin: 0;
}
.subcategory-box{
width: fit-content;
    float: right;
    position: absolute;
    top: -3%;
    right: 100%;
    display: none;
    padding-right: 1.5em;
    /* z-index: 2; */
    margin-bottom: 0.9em;
}
.subcategory-box>a{
    margin: 0;
}
.subcategory-menu{
    width: 10em;
    float: right;
    background: rgb(195 199 211 / 73%);
    box-shadow: 0 8px 32px 0 rgb(129 131 167 / 37%);
    border-radius: 10px 0 10px 10px;
    /* border: 1px solid white; */
    display: flex;
    flex-direction: column;
    padding: 0.5em 1em;
    box-sizing: border-box;
}

.subcategory-active:hover .subcategory-box{ 
    display: flex;
}
.subcategory-link i{
    color: #343a40;
    font-size: 20px;
}