@font-face {
    font-family: MatrixType;
    src: url("/fonts/matrixtype-display-bold.ttf");
}

:root {
    --player-height: 140px;
}

body {
    margin: 0px;
    overflow: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 10pt;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--bg-color-1-transparent);
}
.player {
    width: 100%;
    height: var(--player-height);
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;

    background:
        linear-gradient(#0008, #0008),
        linear-gradient(#AAA 0%, #888 10% , #777 30%, #666 50%, #555 70%, #444 90%, #222 100%);

    box-sizing: border-box;
}

.player .name {
    position: absolute;
    color: #AAA;
    text-shadow: 
        0px -1px 0px #DDD,
        0px 1px 0px #444;
    text-align: left;
    top: 14px;
    left: 8px;
    display: block;
}

.player .box {
    margin: 1px;
    display: block;
    width: auto;
    height: calc(100% - 2px);
    box-sizing: border-box;
    background: 
        linear-gradient(#AAA 0%, #888 10% , #777 30%, #666 50%, #555 70%, #444 90%, #222 100%);
    background-repeat: no-repeat;
    border: 1px solid #a2d750A0;

    position: relative;
}

.player .box input[type="text"],
.player .box .info {
    background-color: #222;
    outline: none !important;

    border: 1px solid #AAA;
    
    height:10pt;

    box-shadow: 0px 0px 2px black inset;

    padding: 4px 0px;

    position: absolute;
    overflow: hidden;

    top: calc(28px + 12pt);

    font-family: MatrixType, 'Courier New', Courier, monospace;
    font-size: 10pt;
    color: #0F0;
    text-align: center;
}

.player .box .info-radio {
    left: 8px;
    right: 8px;
}

.player .box #info-time-current {
    left: 8px;
    width: 80px;
}

.player .box #info-time-total {
    right: 8px;
    width: 80px;

    overflow: hidden;
}

#player-time {
    padding: 8px;
    overflow: shown;

    position: absolute;
    left: 88px;
    right: 88px;

    top: calc(26px + 12pt);
}

.player .box .info span {
    min-width: 100%;
    display:block;

    position: absolute;
    left: 0;
    right: 0;
    top: 1pt;
    bottom: 1pt;
    white-space: nowrap;
}


@keyframes player-marquee-anim {
    0% {
        translate: 100% 0;
    }
    100% {
        translate: -150% 0;
    }
}

.player .box .info #player-pressplay {
    animation: player-marquee-anim;
    animation-iteration-count: infinite;
    animation-duration: 10s;
    animation-timing-function: linear;
}

@keyframes player-marquee-fading {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.player .box .info #player-fading {
    animation: player-marquee-fading;
    animation-iteration-count: infinite;
    animation-duration: 1s;
    animation-timing-function: linear;
}

.player .buttons {
    position: absolute;
    left: 8px;
    bottom: 26px;
    right: 8px;

    display: flex;
    background: linear-gradient(#313131, #212121);
}

.player .buttons button {
    border: 1px solid black;
    background: 
        linear-gradient(#AAA 0%, #888 10% , #777 30%, #666 50%, #555 70%, #444 90%, #222 100%);
    cursor: pointer;

    display: inline-block;
    height: 32px;
    flex: 1;
    color: white;
    font-size: 10pt;
    
    position: relative;
    text-shadow: 0px 1px 1px black;
}

.player .buttons button span {
    line-height: 28px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 4px;
    padding: 0;
}
.player .buttons button span:active {
    transform: translate(0px, 2px);
}

.player .buttons button.fixedbutton {
    min-width: 40px;
    max-width: 40px;
    margin-right: 2px;
    text-align: center;
}

.player .buttons button img {
    width: 20px;
    height: 20px;
}

.player .buttons button:active {
    background: 
        linear-gradient(0deg, #222 0%, #888 10% , #777 30%, #666 50%, #555 70%, #444 90%, #222 100%);
}

.player .buttons .label {
    line-height: 30px;
    font-style: italic;
    color: #888;
    text-shadow: 0px -1px 0px #444;
    padding: 0px 4px;
}


.player .player-label {
    display: inline-block;
    line-height: 100%;
}

/*
    SLIDER
*/
input[type=range] {
    flex: 1;
    appearance: none;
    -webkit-appearance: none;

    background: none;
    min-width: 0px;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px;
    background: linear-gradient(180deg, #000 0%, #222 30% 70%, #444 100%);
    border: 1px solid #a2d750A0;

}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: linear-gradient(180deg, #000 0%, #222 30% 70%, #444 100%);
    border: 1px solid #a2d750A0;
    -webkit-appearance: none;

}

input[type=range]::-moz-range-progress {
    height: 100%;
}

input[type=range]::-webkit-slider-thumb {
    appearance: none;
    border: none;
    width: 11px;
    height: 26px;
    border-radius: 0;
    background: url('/img/hamburger.svg') no-repeat center/5px 20px, linear-gradient(0deg, #888 0%, #BBB 30% 70%, #CCC 100%);
    border: 1px solid black;
    box-shadow: 1px 1px #a2d750A0, -1px -1px #a2d750A0, -1px 1px #a2d750A0, 1px -1px #a2d750A0;
    position: relative;
    top: -11px;
    -webkit-appearance: none;
}

input[type=range]::-moz-range-thumb {
    appearance: none;
    border: none;
    width: 11px;
    height: 26px;
    border-radius: 0;
    background: url('/img/hamburger.svg') no-repeat center/5px 20px, linear-gradient(0deg, #888 0%, #BBB 30% 70%, #CCC 100%);
    border: 1px solid black;
    box-shadow: 1px 1px #a2d750A0, -1px -1px #a2d750A0, -1px 1px #a2d750A0, 1px -1px #a2d750A0;
    -webkit-appearance: none;
}

.lastmusic {
    border: 1px solid #a2d750A0;
    color: #777;
    text-shadow: 0px 1px 0px #222;
    text-align: left;
    position: absolute;
    left: 0;
    right: 1px;
    display: block;
    text-align: center;
    top: -1px;
    padding: 5px;
    background: linear-gradient(0deg, #222 0%, #111 30% 70%, #222 100%);
    box-shadow: 0px 2px 4px black;
    height: 1rem;
}

* {
	scrollbar-width: thin;
	scrollbar-color: #a2d750A0 #1b2d01a0;
}

/*
    MUSIC LIST
*/
#musiclist {
    position: absolute;
    left: 0px;
    top: calc(1rem + 10px);
    right: 1px;
    bottom: var(--player-height);
    border: 1px solid #a2d750A0;
    border-top: none;

    overflow: hidden scroll;

    background: linear-gradient(90deg, #222 0%, #111 30% 70%, #222 100%);
    display: flex;
    flex-direction: column;
}

#musiclist div {
    min-height: 0px;
    flex: 1;
}
#musiclist a {
    position: relative;
    left: 0px;
    top: 0;
    min-height: 60px;
    background-color: #8882;
    border-top: 1px solid #444F;
    border-right: 1px solid #444F;
    flex:0;
    display: block;
}

#musiclist a img {
    border: 1px solid #a2d750A0;
    width: 50px;
    height: 50px;
    position: absolute;
    left: 4px;
    top: 4px;
}

#musiclist a:not(:hover) span {
    text-decoration: none !important;
}
#musiclist a span {
    position:absolute;
    left: 65px;
    display: block;
    height: 20px;
    line-height: 20px;
    color: white;
    font-size: 9pt;
    right: 8px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

#musiclist a .songname {
    top: 8px;
}

#musiclist a .artist {
    bottom: 8px;
    opacity: 0.75;
    font-size: 8pt;
}

#musiclist a .time {
    bottom: 8px;
    opacity: 0.75;
    font-size: 8pt;
    text-align: right;
}

#player {
    display: none;
}

.podcast #musiclist .image {
    width: 80vw;
    height: 45vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 10vw;
}

.podcast #musiclist span {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(45vh);
    color: white;
    text-align: center;
}

.podcast #musiclist h3 {
    opacity: 0.5;
}
.podcast #musiclist {
    overflow-y: hidden;
}