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

body {
    text-align: center;
    background-color: #151515;
    font-family: 'Noto Sans', sans-serif;
    font-size: 100%;
    overflow: hidden;
}

a {
    text-decoration: none;
}

.player-container {
    width: 100%;
    position: absolute;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
}

.player {
    display: block;
    padding: 1.875rem 0;
    /* 30px */
    background-color: #FEFFFE;
    height: 40rem;
    /* 640px */
    width: 22.5rem;
    /* 360px */
    border-radius: 1.25rem;
    /* 20px */
    overflow: hidden;
}

.top-controls {
    margin: 0 1.875rem;
    /* 30px */
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
}

.top-controls div {
    margin: 0;
    padding: 5px;
    cursor: pointer;
}

.album-cover {
    margin: 1.75rem auto;
    /* 28px */
    width: 15rem;
    /* 240px */
    height: 15rem;
    /* 240px */
    border-radius: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    user-select: none;
}

.album-cover img {
    width: 15rem;
    /* 240px */
    height: 15rem;
    /* 240px */
    border-radius: 100%;
}

.song-info {
    margin: 2.25rem auto 1.75rem auto;
    /* 36px 28px*/
}

.title {
    max-width: 18.75rem;
    /* 300px */
    color: #242423;
    font-size: 1.25em;
    font-weight: 700;
}

.artist {
    max-width: 18.75rem;
    /* 300px */
    color: #808782;
    font-size: 1em;
}

.song-timeline {
    margin: 2.25rem auto 2.25rem auto;
    /* 36px */
    max-width: 18.75rem;
    /* 300px */
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    --seek-before-width: 0%;
    --buffered-width: 0%;
}

.song-timeline div {
    margin: 0 auto;
    padding: 5px;
}

input[type="range"] {
    position: relative;
    -webkit-appearance: none;
    outline: none;
    width: 60%;
    height: 3px;
    padding: 0;
    cursor: pointer;
}

/* on Chrome browser */

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background-color: #8087829a;
}

input[type="range"]::before {
    position: absolute;
    content: "";
    height: 3px;
    top: 8px;
    left: 0;
    width: var(--seek-before-width);
    background-color: #cc7e859a;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    position: relative;
    -webkit-appearance: none;
    box-sizing: content-box;
    margin: -6.5px 0 0 0;
    border: 1px solid #cc7e85;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    cursor: pointer;
    background-color: #cc7e85;
}

input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.2);
    background: #cc7e85;
}

/* on Mozilla Firefox browser */

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: #8087829a;
}

input[type="range"]::-moz-range-progress {
    background-color: #cc7e859a;
}

input[type="range"]::-moz-focus-outer {
    border: 0;
}

input[type="range"]::-moz-range-thumb {
    box-sizing: content-box;
    margin: -6.5px 0 0 0;
    border: 1px solid #cc7e85;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    cursor: pointer;
    background-color: #cc7e85;
}

input[type="range"]:active::-moz-range-thumb {
    transform: scale(1.2);
    background: #cc7e85;
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: transparent;
    border: solid transparent;
    color: transparent;
}

/* on Internet Explorer browser */

input[type="range"]::-ms-fill-lower {
    background-color: #8087829a;
}

input[type="range"]::-ms-fill-upper {
    background-color: #cc7e859a;
}

input[type="range"]::-ms-thumb {
    box-sizing: content-box;
    border: 1px solid #cc7e85;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #cc7e85;
    cursor: pointer;
}

input[type="range"]:active::-ms-thumb {
    transform: scale(1.2);
    background: #cc7e85;
}

.time-stamp {
    color: #242423;
    font-size: 0.75em;
}

.bottom-controls {
    margin: 1.75rem auto 0 auto;
    /* 28px */
    max-width: 18.75rem;
    /* 300px */
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
}

.bottom-controls div {
    margin: 0;
    padding: 5px;
    cursor: pointer;
}

.play-pause {
    display: none;
}

.active {
    display: block;
}

.active svg path {
    fill: #cc7e85;
}