
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');


a{
    text-decoration: none;
}

li {
    list-style: none;
}

body{
    font-family: 'Outfit', serif;
}

.wrapper{
    display: flex;
}

.main{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
    background-color: #FFF;
}

#sidebar{
    width: 90px;
    min-width: 90px;
    transition: all 0.25s ease-in-out;
    background-color: #0b0f19;
    display: flex;
    flex-direction: column;

}


#sidebar.expand{
    width: 260px;
    min-width: 260px;
}

#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span{
    display:none;



}

.toggle-btn{
    width: 30px;
    height: 30px;
    color:#fff ;
    border-radius:0.425rem;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #323c55;
}


.toggle-btn i{
    color: #FFF;
}

#sidebar.expand .sidebar-logo,
#sidebar.expand a.sidebar-link span{
    animation: fadeln .25s ease;
}

@keyframes fadeln {
    0%{
        opacity:0;
    }
    100%{
        opacity:1;
    }
}

.sidebar-logo a{
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
}

.sidebar-nav{
    padding: 0.7rem 0;
    flex: 11auto;
    z-index: 10;
}

a.sidebar-link{
    padding: .625rem 1.625rem;
    color: #fff;
    display: block;
    white-space: nowrap;
    font-weight:700;
    border-left: 3px solid transparent;
}

.sidebar-link i,
.dropdown-item i{
    font-size: 1.1rem;
    margin-right:.75rem;
}

a.sidebar-link:hover{
    background-color: rgba(255, 255, 255, .075);
    border-left: 3px solid #3b7ddd;
}

.sidebar-item{
    position: relative;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown{
    position: absolute;
    top: 0;
    left: 90px;
    background-color: #0e2238;
    padding: 0;
    min-width: 15rem;
    display: none;
}

#sidebar:not(.expand) .sidebar-item:hover .has-dropdown+.sidebar-dropdown{
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;

}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown .sidebar-dropdown{
left:130px;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after{
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after{
transform: rotate(45deg);
transition: all .2s ease-out;

}

.sidebar-dropdown .sidebar-link{
    position: relative;
    padding-left: 3rem;
    transition: all 0.5s;
}

.sidebar-dropdown a.sidebar-link::before{
    content: "";
    height: 0.125rem;
    width: 0.375rem;
    background-color: #FFFFFF80;
    position: absolute;
    left: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s;
}

.sidebar-dropdown a.sidebar-link:hover{
    background: transparent;
    border-left: 3px solid transparent;
    padding-left: 3.8rem;
    color: #7277f2;
    

}
