@charset "UTF-8";

:root {
    --cur-regular: url('../cursor/regular.png');
    --cur-pointer: url('../cursor/pointer.cur');
}

html {
    height: 100%;
    width: 100%;
    position: relative;
    cursor: var(--cur-regular), auto;
}

button, a { cursor: var(--cur-pointer), pointer; }

body {
    font-family: Courier, monospace;
    image-rendering: pixelated;
    margin: 0;
}

#nowplaying {
    width: 100%;
    height: calc(100vh - 52px);
    overflow-x: hidden;
    background-color: #000000;
    background: url('/static/image/musicplayer.gif') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    image-rendering: auto;
}

#nowplaying .info {
    position: relative;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    z-index: 10;
    font-weight: bold;
    text-shadow: 3px 3px 2px #404040;
}

#nowplaying #name {
    font-size: 26px;
    color: #C0C0C0;
}

#nowplaying #artist {
    font-size: 18px;
    color: #A0A0A0;
}

#controls {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background-color: #C0C0C0;
    border-top: 2px #FFFFFF solid;
    overflow-x: hidden;
}

#controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    margin: 1px;
    aspect-ratio: 1 / 1;
    background: none;
    border: none;
}

#controls button:hover {
    border-color: #FFFFFF #808080 #808080 #FFFFFF;
    border-style: solid;
    border-width: 2px;
}

#controls button:active { border-color: #808080 #FFFFFF #FFFFFF #808080; }

#controls .timestamp {
    display: inline-block;
    margin: auto 8px;
    transform: translateY(3px);
    white-space: nowrap;
}

#controls #vol {
    appearance: none;
    -webkit-appearance: none;
    width: 50px;
    height: 4px;
    background-color: #C0C0C0;
    border-color: #808080 #FFFFFF #FFFFFF #808080;
    border-style: solid;
    border-width: 1px;
    outline: none;
    margin: 0 10px;
    cursor: var(--cur-pointer), pointer;
}

#controls #vol::-webkit-slider-thumb,
#controls #vol::-moz-range-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 8px;
    height: 24px;
    background-color: #C0C0C0;
    border-color: #FFFFFF #808080 #808080 #FFFFFF;
    border-style: solid;
    border-width: 2px;
    border-radius: 0;
}

#controls #vol::-webkit-slider-thumb { margin-top: -8px; }
