/*Created by Elora*/
/*google fonts (poppins)*/
@import url("https://fonts.googleapis.com/css2?family=poppins");

*{
    font-family: "poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    height: 100vh;
    width: 100%;
    background: url(images/background.jpg);
    background-position: center;
    background-size: cover;
}
.sidebar{
    position: fixed;
    width: 110px;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}
.sidebar:hover{
    width: 260px;
}
.sidebar .logo{
    display: flex;
    align-items: center;
    color: #000;
    padding: 25px 10px 15px;
}
.sidebar .logo img{
    width: 43px;
    border-radius: 50%;
}
.sidebar .logo h2{
    font-size: 1.15rem;
    font-weight: 600;
    margin-left: 15px;
    display: none;
}
.sidebar:hover .logo h2{
    display: block;
}
.sidebar .links{
    list-style: none;
    margin-top: 20px;
    height: calc(100% - 140px);
    overflow-y: auto;
    scrollbar-width: none;
}
.sidebar .links::-webkit-scrollbar{
    display: none;
}

.sidebar .links h4{
    color: #222;
    font-weight: 500;
    margin-bottom: 10px;
    display: none;
}
.sidebar:hover .links h4{
    display: block;
}
.sidebar .links li{
    display: flex;
    align-items: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.sidebar .links li:hover{
    background: #fff;
}
.sidebar .links li i{
    padding: 12px 10px;
}
.sidebar .links li a{
    color: #000;
    text-decoration: none;
    font-weight: 500;
    padding: 10px;
    white-space: nowrap; 
    display: none;
}
.sidebar:hover .links li a{
    display: block;
}
.sidebar .links hr{
    margin: 10px 8px;
    border: 1px solid #4c4c4c;
}
.sidebar:hover .links hr{
    border-color: transparent;
}










