@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

html{
    box-sizing: border-box;
}
body{
    margin:0;
    font-family: 'Ubuntu',sans-serif;
    font-size:12px;
    min-height:100vh;
    display:flex;
    align-items: center;
    justify-content: center;
}
.background{
    position:fixed;
    width:200%;
    height:200%;
    top:-50%;
    left:-50%;
    z-index: -1;
}

.background img{
    position:absolute;
    margin:auto;
    top:0;
    left:0;
    bottom:0;
    right:0;
    min-width:50%;
    min-height:50%;
    filter:blur(25px);
    transform: scale(1.1);

}

.container{

    background-color: rgb(236, 236, 236);
    height:500px;
    width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 30px  rgba(0,0,0,0.3);
    transition: all 0.5s ease;

}

.container:hover{
    box-shadow: 0 15px 30px  rgba(0,0,0,0.8);
    
}
.player-img{
    width:300px;
    height: 300px;
    position: relative;
    
   
    top: -50px;
    left: 50px;
}
.player-img img{
    object-fit: cover;
    border-radius:20px;
    height: 0;
    width: 0;
    opacity: 0;
    box-shadow:0 15px 30px  rgba(0,0,0,0.6); ;
}

.player-img:hover img{
    transition: width 0.3s ease, height 0.3s ease;
    transform: scale(1.1);
    box-shadow: 0 15px 30px  rgba(0,0,0,0.9);

}

.player-img img.active{
    width:100%;
    height:100%;
    transition: all 0.5s;
    opacity:1;
}
h2{
    font-size: 25px;
    text-align: center;
    font-style: 500;
    margin: 10px 0 0;
    

}
h3{
    font-size: 18px;
    text-align: center;
    font-style: 500;
    margin: 10px 0 0;
    
}

.player-progress{
    background-color: #fff;
    border-radius: 5px;
    cursor:pointer;
    margin: 40px 20px 35px;
    height: 6px;
    width: 90%;
}

.progress{
    background-color: rgb(44, 44, 44);
    border-radius: 5px;
    height: 100%;
    width: 25%;
    transition: width 0.1s linear;
}

.music-duration{
    position: relative;
    top: -25px;
    display: flex;
    justify-content:space-between ;
}

.player-controls{
    position: relative;
    top:-15px;
    left:22px;
    

}

.fa-solid{

    font-size:40px ;
    color: rgb(117, 117, 117);
    margin-right: 42px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;


}
.fa-solid:hover{
    filter: brightness(40%);
}
.play-button{
    font-size: 44px;
    position: relative;
    top: 3px;
}

.volume-bar{
    width:0;
    height: 100%;
    background-color: #ff0000;
    transition: width 0.3s ease-in-out;
    

}


