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

*{
    box-sizing: border-box;
    margin: 0;
}

body{
    background-color: #2F2F2F;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'League Spartan', sans-serif;
    color: white;
}

.player-container{
    background-color: #474747;
    width: 400px;
    padding: 40px 50px 40px 50px;
    border-radius: 20px;
    box-shadow: 0px 15px 35px 5px rgba(0, 0, 0, 0.25);
}

.img-container{
    width: 300px;
    height: 300px;
    box-shadow: 0px 15px 35px 5px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    overflow: hidden;
}

.img-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h2{
    font-weight: 600;
    font-size: 35px;
    text-align: center;
    margin: 35px 0 10px 0;
}

h3{
    font-size: 20px;
    font-weight: 300;
    text-align: center;
}

/* Progress Container */
.progress-container{
    background: black;
    margin: 50px 0 36px 0;
    height: 4px;
    border-radius: 5px;
    cursor: pointer;
}

.progress{
    height: 100%;
    border-radius: 5px;
    width: 0;
    background: white;
    transition: width 0.1 linear;
}

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


/* Player controls */
.player-controls{
    display: flex;
    justify-content: center;
    align-items: center;
}

.fa-solid{
    font-size: 22px;
    cursor: pointer;
    user-select: none;
}

.main-button{
    font-size: 45px;
    margin: 0 30px;
}

.fa-solid:hover{
    color: #c7c7c7;
}

/* Mobile screen 376px */
@media screen and (max-width: 376px) {
    .player-container{
        width: 80vw;
        border-radius: 15px;
    }

    .img-container{
        width: 200px;
        height: 200px;
        border-radius: 15px;
    }

    h2{
        font-size: 25px;
    }

    h3{
        font-size: 14px;
    }

    .duration-wrapper span{
        font-size: 14px;
    }
}