html {
    height: 100%;
    font-size: 15px;
}

body {
    /* Smoothly transition the background color */
    position: relative;
    height: 100%;
    overflow-y: hidden;
    transition: background-color 1s;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a {
    text-decoration: none;
}

/* Using flex with the column direction to 
   align items in a vertical direction */
.player {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.details {
    text-align: center;
    display: block;
    align-items: center;
    justify-content: center;
}

.track-art {
    margin: 2% auto;
    height: 53rem;
    width: 53rem;
    background-image: URL("https://source.unsplash.com/Qrspubmx6kE/640x360");
    background-size: cover;
    background-position: center;
    border-radius: 15%;
}

/* Changing the font sizes to suitable ones */
.now-playing {
    font-size: 3rem;
    line-height: 1.5;
}

.track-name {
    font-size: 9rem;
}

.track-artist {
    font-size: 2.2rem;
    margin-top: 1rem;
}

/* Using flex with the row direction to 
   align items in a horizontal direction */
.buttons {
    font-size: 2.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3% auto 1%;
}

.playpause-track,
.prev-track,
.next-track {
    padding: 2rem 3rem;
    opacity: 0.8;

    /* Smoothly transition the opacity */
    transition: opacity .2s;
}

/* 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 {
    font-size: 2.2rem;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

/* Modify the appearance of the slider */
.seek_slider,
.volume_slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: .7rem;
    background: black;
    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: white;
    cursor: pointer;
    border-radius: 50%;
}

/* Change the opacity when mouse is hovered */
.seek_slider:hover,
.volume_slider:hover {
    opacity: 1.0;
}

.seek_slider {
    width: 60%;
}

.volume_slider {
    width: 40%;
}

.current-time,
.total-duration {
    padding: 10px;
}

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;
}