*{
    box-sizing: border-box;
}
body{
    height: 100vh;
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-weight: lighter;
    background-image: linear-gradient(0deg, rgb(247, 247, 247) 23.8%,
    rgb(253, 197, 165)92%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.music-container{
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 20px 20px 0 rgba(235, 191, 155, 0.6);
    display: flex;
    padding: 20px 30px;
    position: relative;
    margin: 100px 0;
    z-index: 10;
}
.img-container{
    position: relative;
    width: 110px;
}

.img-container::after{
    content: '';
    background-color: #fff;
    height: 20px;
    width: 20px;
    position: absolute;
    left: 50%;
    bottom: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);

}

.img-container img{
    width: inherit;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    bottom: 0;
    left: 0;

    animation: rotate 3s linear infinite;

    animation-play-state: paused;
}

.music-container.play .img-container img{
     animation-play-state: running; 
}

@keyframes rotate{
    from{
        transform: rotate(0deg);
    }

    to{
        transform: rotate(360deg);
    }
}

.navigation{
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.action-btn{
    background-color: #fff;
    border: 0;
    color: #dfdbdf;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    margin: 0 20px;
    transition: transform .4s;
    text-shadow: 0px 0px 5px rgba(228, 167, 117, 0.596), 0px 0px 15px #886a5144;
}
.action-btn:hover{
    transform: scale(1.2);
}

.action-btn-big{
    color: #cdc2d0;
    font-size: 30px;
}

.action-btn:focus{
    outline: 0;
}

.music-info{
    background-color: rgb(255, 255,  255, 0.5);
    border-radius: 15px 15px 0 0;
    position: absolute;
    top: 0;
    left: 20px;
    width: calc(100% - 40px);
    padding: 10px 10px 10px 150px;
    opacity: 0;
    transform: translateY(0%);
    transition: transform 0.3s ease-in, opacity 0.3s ease-in;
}

.music-info h4{
    margin: 0;
    font-size: 12px;
}

.music-container.play .music-info{
    opacity: 1;
    transform: translateY(-100%);
}

.progress-container{
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
    height: 4px;
    width: 100%;
}

.progress{
    background-color: #feba8d;
    border-radius: 5px;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}
span{
    color: #fc7b25ab;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.116) , 1px 2px 4px rgba(151, 126, 103, 0.274) ;
}
h1{
    font-weight: lighter;
}

@media screen and (max-width: 340px) {
    body{
        height: 105vh;
        margin: 0;
        font-family: 'Courier New', Courier, monospace;
        font-weight: lighter;
        background-image: linear-gradient(0deg, rgb(247, 247, 247) 23.8%,
        rgb(253, 197, 165)92%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .music-container{
        background-color: #fff;
        border-radius: 15px;
        box-shadow: 0 20px 20px 0 rgba(235, 191, 155, 0.6);
        display: flex;
        padding: 10px 20px;
        position: relative;
        margin: 20px 0;
        z-index: 10;
    }

    .img-container{
        position: relative;
        width: 70px;
    }
    
    .img-container::after{
        content: '';
        background-color: #fff;
        height: 10px;
        width: 10px;
        position: absolute;
        left: 50%;
        bottom: 50%;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    
    }
    
    .img-container img{
        width: inherit;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        position: absolute;
        bottom: 0;
        left: 0;
    
        animation: rotate 3s linear infinite;
    
        animation-play-state: paused;
    }

    h1{
        font-weight: lighter;
        text-align: center;
        padding-bottom: 20px;
    }

    .action-btn{
        background-color: #fff;
        border: 0;
        color: #dfdbdf;
        font-size: 20px;
        cursor: pointer;
        padding: 10px;
        margin: 0 10px;
        transition: transform .4s;
        text-shadow: 0px 0px 5px rgba(228, 167, 117, 0.596), 0px 0px 15px #886a5144;
    }
}

@media screen and (max-width: 375px) {
    .action-btn{
        background-color: #fff;
        border: 0;
        color: #dfdbdf;
        font-size: 20px;
        cursor: pointer;
        padding: 10px;
        margin: 0 10px;
        transition: transform .4s;
        text-shadow: 0px 0px 5px rgba(228, 167, 117, 0.596), 0px 0px 15px #886a5144;
    }
}