/* Using flex with the column direction to
   align items in a vertical direction */
.player {
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.details {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 25px;
}

.track-art {
    margin: 0px;
    height: 300px;
    width: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

/* Changing the font sizes to suitable ones */
.now-playing {
    font-size: 1rem;
}

.track-name {
    font-size: 1.5rem;
}

.track-artist {
    font-size: 1rem;
}

/* Using flex with the row direction to
     align items in a horizontal direction */
.buttons {
    /* flex-direction: row; */
    /* align-items: center; */
    text-align: center;
    width: 100%;
    display: inline-block;
    margin-bottom:40px !important;
}

.playpause-track, .prev-track, .next-track {
    padding: 0px;
    opacity: 0.8;
    transition: opacity .2s;
    display: inline-block;
    vertical-align: -webkit-baseline-middle;
    border-radius: 50%;
    padding-left: 10px;
    padding-right: 10px;
}

    .playpause-track i, .prev-track i, .next-track i {
        color: #3082a6 !important;
    }

    /* Change the opacity when mouse is hovered */
    .playpause-track:hover,
    .prev-track:hover,
    .next-track:hover {
        opacity: 1.0;
    }

/* Define the slider width so that it scales properly */
.slider_container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Modify the appearance of the slider */
.seek_slider, .volume_slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 5px;
    background: #9e9e9e;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    /* Modify the appearance of the slider thumb */
    .seek_slider::-webkit-slider-thumb,
    .volume_slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 15px;
        height: 15px;
        background: rgb(193, 193, 193);
        cursor: pointer;
        border-radius: 50%;
    }

    /* Change the opacity when mouse is hovered */
    .seek_slider:hover,
    .volume_slider:hover {
        opacity: 1.0;
    }

.seek_slider {
    width: 100%;
}

.volume_slider {
    width: 30%;
}

.current-time,
.total-duration {
    padding: 10px;
}

.total-duration {
    position: absolute;
    right: -10px;
    top: -45px;
}

.current-time {
    position: absolute;
    left: -10px;
    top: -45px;
}

i.fa-volume-down,
i.fa-volume-up {
    padding: 10px;
}

/* Change the mouse cursor to a pointer
     when hovered over */
i.fa-play-circle,
i.fa-pause-circle,
i.fa-step-forward,
i.fa-step-backward {
    cursor: pointer;
}

.fa.fa-volume-down, .fa.fa-volume-up, .volume_slider {
    display: none !important;
}