#music-player
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 5px;
}

#song-info
{
    flex: 100%;
    overflow: hidden;
}

#song-title
{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#song-artist
{
    display: block;
    font-size: 0.8em;
}

#music-seeker-wrapper
{
    flex: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

#music-seeker
{
    width: 100%;
    appearance: none;
    height: 1vh;
    margin: 0;
    border: 1px solid black;
    border-radius: 9999px;
    background-color: white;
    cursor: pointer;
    box-sizing: border-box;
}

#music-seeker::-webkit-slider-thumb
{
    -webkit-appearance: none;
    appearance: none;
    width: 2vh;
    height: 2vh;
    border: 2px solid black;
    border-radius: 9999px;
    background: white;
    box-shadow: none;
}

#previous-music-button,
#toggle-music-button,
#next-music-button
{
    padding: 0.5vh;
    font-size: 1.3em
}

#previous-music-button:active,
#toggle-music-button:active,
#next-music-button:active
{
    transform: scale(0.98);
}

#previous-music-button
{
    margin-left: auto;
}

#next-music-button
{
    margin-right: auto;
}

#shuffle-music-button,
#repeat-music-button
{
    padding: 0.5vh;
}

#shuffle-music-button.active > i,
#repeat-music-button.active > i
{
    text-shadow: 0px 0px 5px #ca0a09, 0px 0px 20px #ca0a09;
}

#toggle-music-button:not(.media-paused) i:nth-child(1)
{
    display: none;
}

#toggle-music-button:not(.media-paused) i:nth-child(2)
{
    display: block;
}

.media-paused i:nth-child(1)
{
    display: block;
}

.media-paused i:nth-child(2)
{
    display: none;
}

.mpage-header
{
    padding: 0 0.5vh;
    font-size: 1.4em;
    line-height: 0.7;
    text-align: left;
}

.mpage-outer
{
    border: 0.2em solid white;
    border-radius: 15px;
    margin-top: 1vh;
    padding: 1vw;
    
    outline: 1px solid black;
    margin: 40px;

    font-size: 16px;
    color: white;
    text-align: left;

    position: absolute;
    bottom: 0;
}

.reset-button
{
    border-radius: 0;
    text-align: inherit;
    background: none;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    border: none;
    color: inherit;
    font: inherit;
}