@font-face {
    font-family: myFont;
    src: url(All\ Always.otf);
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: serif;

}
html, body {
    height: 100%;
    width: 100%;
}

#main {
    width: 100%;
    height: 100%;
    background-color: #dadada;
}

#panel{
    
    position: relative;
    display: flex;
    /* position: absolute;  */
     overflow: hidden; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 80px;
    border-radius: 10px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.4);
    background-color: #333;

    /* new */
    padding-bottom: 20px;

}

#panel .name {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px;
    color: #ffffff;
    font-size: 14px;
    font-family: myFont;
    font-weight: bold;
    
  }

.icon{
    
    display: flex;
    align-items: center;
    justify-content: center;
    /* to equally distribute the iconson the panel */
     /* width: 25%; */
     width: 100px; 
     /* 100px isliye kara hai kyuki hame shadow ko icon ke center mein lana hai so 100px poori width icon ki width 50px ,  centre mein laane ke liye 25px panel img */
     height: 100%;
     color:#fff;
     /* background-color: red; */
}

.icon i{
    opacity: .3;
}

#first i{
    opacity: 1;
}

#panel img{
    position: absolute;
    top: 0;
    left: 0;
    left: 25px;
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;

}


#circle {
    pointer-events: none;
    position: absolute;
    z-index: 1;
    transform:translate(-50%, -50%);
    border-radius: 50%;
    /* border: 3px solid dodgerblue; */
    /* border: 3px solid rgb(0, 0, 0); */
    top: 0;
    left: 0;
    width: 2vw;
    height: 2vw;
    /* background-color: rgb(72, 18, 137); */
    /* background-color: #fbfb4e; */
    transition: all cubic-bezier(0.19, 1, 0.22, 1) .5s;
}


   


