*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section{
    min-height: 100vh;
    background: url('./images/bg.jpg');
    background-size : cover;
    background-position : center ;
    animation:  animateBg 5s linear infinite;
}


@keyframes animateBg {
    100% {
        filter : hue-rotate(360deg)
    }
}
.sidebar {
    position: fixed;
    top:0;
    left :0;
    width :80px;
    height :100%;
    background: rgba(0, 0, 0, .5);
    backdrop-filter : blur(5px);
    border-right : 2px solid rgba(255, 255, 255, .07);
    padding: 6px 14px;
    transition : .5s ease;
    /* overflow: hidden; */
}


.sidebar.active {
    width : 240px
} 
.logo {
    display: flex;
    align-items: center;
    color:#fff;
    width :100%;
    height :50px;
    pointer-events : none;
    opacity: 0;
    transition : .3s ease
}

.sidebar.active .logo{
    transition-delay: .2s;
    opacity: 1;
}

.logo i {
    font-size : 28px;
    margin-right : 5px ;
}

.logo h3{
    font-size : 20px
}


.sidebar ul .list-item.active a {
    background-color: #327aff;
}


#btn {
    position: absolute;
    top:6px;
    left:50%;
    transform: translateX(-50%) ;
    color:  #fff;
    font-size :20px;
    width :50px;
    height :50px;
    background: transparent ;
    text-align: center;
    line-height : 50px;
}

.sidebar.active #btn{
    left : 90%    
}

.sidebar ul{
    margin-top: 20px;;
}
.sidebar ul  li{
    position: relative;
    width: 100%;
    height: 50px;
    list-style : none;
    margin: 5px 0;
    line-height: 50px;
}

.sidebar input {
    position: absolute;
    top:0;
    left :0;
    width: 100%;
    height: 100%;
    background :rgba(255, 255, 255, .1);
    border-radius : 6px;
    border : none;
    outline : none;
    padding-left : 50px;
    font-size : 18px;
    color: #fff
}

.sidebar.active input {
   padding:  0 20px 0 50px ; 
}

.sidebar ul li .bx-search {
    position: absolute;
    color: #fff;
    font-size : 22px;
    z-index :99
}


.sidebar ul li a {
    display: flex;
    align-items: center;
    color :#fff;
    text-decoration : none;
    transition : background .5s ease;
    white-space: none;
    border-radius : 6px;
}

.sidebar ul li a:hover {
    background : rgba(255, 255, 255, .1)  
} 
.sidebar ul li i {
    min-width: 50px;
    height : 50px;
    text-align : center;
    line-height:  50px;
}

.list-logout{
    position: absolute;
    bottom: 0;
    margin: 15px 0;
    width: 64%;
}

.sidebar.active .list-logout {
    width: 89%;
}

.sidebar .links-name {
    opacity: 0;
    pointer-events: none;
    transition : opacity .3s ease
}

.sidebar.active .links-name{
    transition-delay: .2s;
    opacity: 1;
    pointer-events : auto
}

.tooltip{
    position: absolute;
    top : 0;
    left : 130px;
    transform: translate(-50%, -50%);
    width: 122px;
    height : 35px;
    background: #327aff;
    color:#fff;
    border-radius : 6px;
    box-shadow : 0 5px 10px rgba(0, 0, 0, .2);
    text-align : center;
    line-height: 35px;
    pointer-events: none;
    opacity: 0;
}

.sidebar ul li:hover .tooltip {
    top : 50%;
    transition : .5s ease;
    opacity: 1;
}

.sidebar.active ul li .tooltip {
    display: none
}