@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;500&display=swap');


*,
*::before,
*::after{
    margin: 0;
    padding: 0%;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
    font-family: "jost",sans-serif;
}
.main-div{
    width: 100vw;
    height: 100vh;
    background-color: #f6f6f6;
    display: grid;
    place-items: center;
}
.music-container{
    width: 35rem;
    height: 55rem;
    background-color: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 1.2rem 3rem 0.5rem rgba(0, 0, 0, 0.2);
    padding: 3rem;
    text-align: center;
}

.music-container #title{
    text-transform: uppercase;
    letter-spacing: 0rem;
    word-spacing: 0.3rem;
    color: #171717;
    margin: 2rem 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 500;
    text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.3);
}

.music-container #artist{
    color: #cccaca;
    text-transform: capitalize;
    letter-spacing: 0.1rem;
    font-size: 2rem;
    margin-bottom: 4rem;
    font-weight: 300;
}

.img-container{
    width: 25rem;
    height: 25rem;
    margin: auto;
}
img{
    width: 100%;
    height: 100%;
    margin-top: -2rem;
    object-fit: cover;
    border-radius: 50%;
    /* box-shadow: 0 1.2rem 3rem 0.5rem rgba(0, 0, 0, 0.4); */
}

.music-controls{
    width: 20rem;
    display: flex;
    justify-content: space-between;
    margin: auto;
    margin-top:50px ;
    align-items: center;
}

.music-controls .fas{
    color: #111111;
    font-size: 2rem;
    cursor: pointer;
    filter: drop-shadow(0 1.2rem 3rem 0.5rem rgba(0,0,0,0.4));
    
}

.music-controls .main-button{
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: #111;
    color: #f6f6f6;
    font-size: 1.4rem;
    display: flex;
    justify-content: center ;
    align-items: center;
}
.music-controls .fas:hover{
    color: grey;
}
.music-controls .fa-play:hover{
    background-color: #f6f6f6;
    color: #111;
    box-shadow: 0 1rem 2rem 0.2rem rgba(0, 0, 0, 0.4);
}

.anime{
    animation: rotatePlayer 3s linear infinite;
}

@keyframes rotatePlayer{
    from{ transform: rotate(0deg);}
    to{ 
        transform: rotate(360deg);
    }
}