/* Font import */

*{
    margin: 0;
    padding: 0;
}

body{
    width: 600px;
    height: 250px;
    font-family: "Tektur", sans-serif;
    letter-spacing: 4px;
    color: white;
    background: black;
    text-transform: lowercase;
    overflow: hidden;
}

select{
    margin-right: 1px;
}

button{
    padding: 2px;
    margin-right: 1px;
    font-family: "Tektur", sans-serif;
    letter-spacing: 4px;
    background: white;
    border: outset 2px white;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.75);
}

button:active{
    background: #E7E7E7;
    border: inset 2px white;
    box-shadow: none;
}

.toggle-button[state='off'] > p::before{
    content: url(./images/green-light-off.gif);
    margin-right: 3px;
}

.toggle-button[state='on'] > p::before{
    content: url(./images/green-light-on.gif);
    margin-right: 3px;
}


select{
    letter-spacing: 4px;
    font-family: "Tektur", sans-serif;
    background: white;
    border: outset 2px white;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.75);
}

select:active{
    background: white;
    border: inset 2px white;
    box-shadow: none;
}




/* Blink class */
.blink {
    animation: blinker 2s step-start infinite;
}
  
@keyframes blinker {
    50% {
        opacity: 0;
    }
}


/* Columns section */
.columns{
    display: flex;
}

.columns > div:first-child{
    flex-shrink: 0;
    margin-right: 5px;
}

.columns > div:last-child{
    flex-grow: 1;
}



/* -- Sliders -- */
input[type="range"] {
    appearance: none;
    background: none;
    border: groove 1px white;
    height: 5px;
    margin: 3px 0px;
    position: relative;
    top: -5px;
}

/* slider track */
input[type="range"]::-webkit-slider-runnable-track /* For Chrome */ {
    background-color: black;
    height: 100%;
}

input[type="range"]::-moz-range-track /* For Firefox */ {
    background-color: black;
    height: 100%;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb /* For Chrome */ {
    appearance: none;
    position: relative;
    top: -5px;

    background: url(./images/slider.png), black;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: outset 2px white;
    
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.75);

    height: 16px;
    width: 40px;
}

input[type="range"]::-webkit-slider-thumb:active /* For Chrome */ {
    background: url(./images/slider.png), black;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: inset 2px white;
    box-shadow: none;
}



input[type="range"]::-moz-range-thumb /* For Firefox */ {
    background: url(./images/slider.png), black;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: outset 2px white;
    
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.75);

    height: 1rem;
    width: 2.5rem;
}

input[type="range"]::-moz-range-thumb:active /* For Firefox */ {
    background: url(./images/slider.png), black;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: inset 2px white;
    box-shadow: none;
}



/* ---- Web Deck Player ---- */
#web-deck-player{
    padding: 0 5px;
    background: black;
}


/* Player title bar */
#player-title-bar{
    display: flex;
    background-color: black;
}

#player-title-bar:before,
#player-title-bar:after{
    content: "";
    flex: 1;
    margin: auto 1em;
    height: 2px;
    border-top: dashed #FF56D0 2px;
    border-bottom: dashed #FF56D0 2px;
}

/* Player body */
#player-body{
    padding: 5px;
    border: double 3px white;
    border-radius: 5px;
    background-color: black;
}

/* Player main section */
#player-main-section{
    margin-bottom: 5px;
}


/* Player display */
#player-display{
    width: 250px;
    height: 140px;
    background: black;
    border: ridge 2px white;
}


/* Player info */
#info-screen{
    background: black;
    color: #FF56D0;
    border: ridge 2px #FE91E0;
    margin-bottom: 5px;
}

#songLabel{
    text-shadow: 0 0 10px #FF56D0, 0 0 20px black, 2px 2px 2px rgba(206,89,55,0);
    margin: 0px 5px;
}

#statusLabel{
    text-shadow: 0 0 10px #FF56D0, 0 0 20px #FF56D0, 2px 2px 2px rgba(206,89,55,0);
    margin: 0px 5px;
}

.player-row{
    margin-top: 5px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#volumeButton{
    height: 25px;
    width: 25px;
}

#volumeButton img{
    height: 100%;
}

#volumeBar{
    width: 120px;
}

#themeSelector{
    height: 25px;
    max-width: 150px;
    text-overflow: ellipsis;
}

#videoButton{
    height: 25px;
}

#playerLogo{
    text-align: center;
    height: fit-content;
}

#playerLogo > img{
    margin-top: 5px;
    max-height: 50px;
}

/* Player control panel */
#player-control-panel{
    font-size: 0;
}

#seekBar{
    width: 99%;
    margin-bottom: 5px;
}

.playing-controls{
    margin-bottom: 5px;
    margin-right: 5px;
    display: inline-block;
    width: fit-content;
    background: black;
    border: inset 2px black;
    vertical-align: middle;
}

.playing-controls[rounded]{
    border-radius: 20px;
}

.playing-controls[float-right]{
    float: right;
}

.playing-controls button{
    height: 30px;
    min-width: 50px;
}

.playing-controls button img{
    height: 100%;
}


#infoButton{
    border-radius: 20px;
    height: 30px;
    min-width: 30px;
    font-size: large;
}

#playlistSelector{
    height: 30px;
    max-width: 175px;
    text-overflow: ellipsis;
}