*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    align-items: center;
    justify-content: center;
    display: flex;
    height: 100vh;
    background: #fff;

}

.main{
    background-color: #f8f4f4;
    padding: 1em;
    padding-bottom: 1.1em;
    border-radius: 3px;
    margin: 1em;
    transition: .3s all;
}

.main:hover{
    background-color: #fff;
    box-shadow: 0 0 20px #2221218f;
}

.loader{
    display: flex;
    flex-direction: row;
    height: 4em;
    padding: 0 1em;
 transform: rotate(180deg);
 justify-content: right;
 border-radius: 10px;
 transition: .4s ease-in-out;
 
}

.current_playing{
    display: flex;
    margin: 1em;
}
.loader:hover{
    cursor: pointer;
    background-color: rgba(211, 211, 211, 0.692);
}
.spotify{
    width: 50px;
    height: 50px;
    margin-right: 0.6em;
}
.spotify img{
    height: 100%;
    width: 100%;
}
.current_playing{
    display: flex;
    align-items: center;
    justify-content: center;

}
.heading{
    color: #000;
    font-size: 1.1em;
    font-weight: bold;
    align-self: center;
}
.loading{
    display: flex;
    margin-top: 1em;
    margin-left: .3em;

}

.load:nth-child(1){
    animation-delay: .2s;
}

.load:nth-child(2){
    animation-delay: .4s;
}

.load:nth-child(3){
    animation-delay: .6s;
}

.play{
    position: relative;
    left: 0.35em;
    height: 1.6em;
    width: 1.6em;
    clip-path: polygon(50% 50%,100% 50%, 75% 6.6%);
    background-color: #000;
    transform: rotate(-90deg);
    align-self: center;
    margin-top: 0.7em;
    justify-self: center;
}

.album_cover{
    position: relative;
    margin-right: 1em;
    height: 40px;
    width: 40px;
    background-color: rgb(233, 232, 232);
    align-self: center;
    border-radius: 5px;
}

.song{
    position: relative;
    transform: rotate(180deg);
    margin-right: 1em;
    color: #000;
    align-self: center;
}
.artist{
    font-size: 1em;
}

.load{
    width: 2px;
    height: 33px;
    background-color: rgb(20, 211, 45);
 animation: 1s move6 infinite;
 border-radius: 5px;
 margin: 0.1em;

}

@keyframes move6{
    0%{
        height: 0.2em;
    }
    25%{
        height: 0.7em;
    }
    50%{
        height: 1.5em;
    }
    100%{
        height: 0.2em;
    }
}