@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap');
*{
    padding:0%;
    box-sizing: border-box;
    text-transform: capitalize;
}
body{
    background: rgb(0, 0, 0);
    color:black;
    height: 100vh;
    margin:0;
    font-family: "Parkinsans", sans-serif;
}
.sidebar .header h2{
    margin-left: 35px;
}
.sidebar .header .iMg{
    margin-left: 15px;
    height: 60px;
}
.sidebar{
    overflow: hidden;
    position: fixed;
    top: 0%;
    left: 0%;
    bottom: 0%;
    display: flex;
    flex-direction: column;
    gap: 4%;
    width: 100px;
    transition: width 0.4s;
    background: rgb(233, 232, 232);
}
.sidebar nav{
    padding: 0 8px;
}
.sidebar:hover{
    width: 320px;
}
.header{
    display: flex;
    align-items: center;
    position: relative;
    top: 2%;
    left: 20px;
}
.header img{
    height: 50px;
}
.header h1{
    margin-left: 20px;
    font-size: 20px;
    text-align: center;
    opacity: 0;
}
.sidebar a{
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
    border-radius: 6px;
    font-size: 25px;
    padding: 0 32px;
    cursor: pointer;
    opacity: 0.75;
}
.sidebar a:hover{
    background-color: goldenrod;
    opacity: 1;
}
.sidebar a p{
    position: absolute;
    top: 50%;
    left: 70px;
    translate: 0-50%;
    margin: 0%;
    font-size: 18px;
    transition: 0.175s;
    white-space: nowrap;
    opacity: 0;
}
.sidebar:hover :is(a p, .header h1){
    opacity: 1;
}
.img{
    text-align: center;
    margin-top: 330px;
    margin-left: 150px;
}