@font-face {
  font-family: 'FetteTrumpDeutsch';
  src: url('fonts/FetteTrumpDeutsch.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

#selectWrapper {
  background: #780000;
  text-align: center;
}

#socketWrapper {
  font-size: medium;
  background: black;
  z-index: 99999;
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 1rem;
  opacity: 0.8;
  color: red;
  font-family: 'FetteTrumpDeutsch';
}

#chatWrapper {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 200px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-family: 'FetteTrumpDeutsch';
  z-index: 99999;
  font-size: 80%;
}

#chatWrapper button {
  position: absolute;
    top: 0;
    left: 0;
    background: black;
    color: #e00;
    font-family: 'FetteTrumpDeutsch';
    font-size: large;
    padding: 0.5rem 1rem;
    border: 1px solid red;
    cursor: pointer;
}

#chatContainer {
  position: relative;
    overflow: scroll;
    height: 130px;
}

ul#chat {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
}

ul#chat li {
  color: white;
    border-bottom: 1px solid red;
    text-align: left;
}

#statusWrapper {
  font-size: large;
  background: black;
  z-index: 99999;
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 1rem 3rem;
  opacity: 0.6;
  color: white;
  font-family: 'FetteTrumpDeutsch';
}


/* move the banner into a translucent overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(./channels4_banner.jpg);
  background-repeat: repeat;
  background-position: top;
  background-size: contain;
  opacity: 0.5;
  z-index: 1;         /* behind all content */
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  color: #eee;
  font-family: 'Roboto Mono', monospace;
  
}

h1 {
  font-family: 'FetteTrumpDeutsch', sans-serif;
  font-size: 3em;
  color: #fff;
  text-align: center;
  margin-top: 0.5em;
  text-shadow: -11px -11px 9px #e00;
  position: relative;
  z-index: 1001;
}

#controls {
  margin-top: 1em;
  text-align: center;
}

button, select {
  background: #111;
  color: #eee;
  border: 1px solid #444;
  padding: 0.5em 1em;
  margin: 0.25em;
  position: relative;
  z-index: 1001;
}

#player {
  display: block;
  margin: 1em auto;
  height: auto;          /* preserve aspect ratio */
  position: relative;
  z-index: 1001;
}

#status, #videoName, #buffered, #duration {
  position: relative;
  z-index: 1001;
}

/* mouse‐tracked CSS vars */
:root {
  --sx: 0;    /* for drop‐shadow */
  --sy: 0;
  --lx: 0px;  /* for lightball */
  --ly: 0px;
  --light-size: 300px;
}

/* apply dynamic drop-shadow/glow on key elements */
h1 {
  transition: filter 0.1s ease;
  filter:
    drop-shadow(calc(var(--sx) * 0.2px) calc(var(--sy) * 0.2px) 10px rgba(255,255,255,0.3))
    drop-shadow(calc(var(--sx) * -0.1px) calc(var(--sy) * -0.1px) 5px rgba(0,0,0,0.5));
}


body {
  background-color: #012;
  padding: 1rem 5rem;
}