html {
  height: 100%;
  user-select: none;
}

body {
  background-color: black;
  color: white;
  font-family: "Miele Elements", Arial, Helvetica, sans-serif;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  position: absolute;
  top: 0px;
  left: 0px;
}

.blink {
  animation: blink-animation 0.65s steps(5, start) infinite;
}
@keyframes blink-animation {
  0% {
    opacity: 1;
    text-shadow: crimson 0px 0px 25px;
  }
  25% {
    opacity: 1;
    text-shadow: crimson 0px 0px 30px;
  }
  50% {
    opacity: 1;
    text-shadow: crimson 0px 0px 25px;
  }
  90% {
    opacity: 0;
    text-shadow: crimson 0px 0px 20px;
  }
  100% {
    opacity: 0;
    text-shadow: crimson 0px 0px 10px;
  }
}

div.imageContainer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: none;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

div.messageContainer {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.9);
  font-family: "Miele Elements", Arial, Helvetica, sans-serif;
  display: flex;
  box-sizing: border-box;
  padding: 4vw;
}

div.messageContainer span.messageContent {
  display: block;
  max-width: 92%;
  max-height: 92%;
}

div.messageContainer span.messageContent.messageBlink {
  animation: message-glow-pulse 1.5s ease-in-out infinite;
  will-change: opacity, text-shadow, filter;
}

@keyframes message-glow-pulse {
  0%,
  100% {
    opacity: 0.16;
    text-shadow: 0 0 0 var(--message-glow-color);
    filter: brightness(0.55);
  }
  38%,
  62% {
    opacity: 1;
    text-shadow:
      0 0 var(--message-glow-size) var(--message-glow-color),
      0 0 var(--message-glow-size-large) var(--message-glow-color);
    filter: brightness(1.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  div.messageContainer span.messageContent.messageBlink {
    animation-duration: 3s;
  }
}

div.messageContainer.top {
  align-items: flex-start;
}

div.messageContainer.vcenter {
  align-items: center;
}

div.messageContainer.bottom {
  align-items: flex-end;
}

div.messageContainer.left {
  justify-content: flex-start;
  text-align: left;
}

div.messageContainer.hcenter {
  justify-content: center;
  text-align: center;
}

div.messageContainer.right {
  justify-content: flex-end;
  text-align: right;
}

div.messageContainer h1 {
  text-align: inherit;
  font-size: 7vw;
  margin: 2vw;
}

div.messageContainer p {
  text-align: inherit;
  font-size: 5vw;
  margin: 1vw;
}

span.specialCountdown {
  text-align: center;
  display: block;
  font-weight: bold;
  margin: 100px 0px;
  width: 100%;
  position: absolute;
  text-shadow: rgba(0, 0, 0, 0.9) 0px 0px 30px;
  font-family: "Miele Elements", Arial, sans-serif;
  font-weight: 400;
}

video {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
}

div.cntdwncont,
div.timercont {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

span.countdown,
span.gametimer {
  /*text-align: center;*/
  font-size: 5vw;
  /*font-family: 'Share Tech Mono', monospace;*/
  color: #81e300;
  font-family: "Miele Elements", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  /*background-color: rgba(0, 0, 0, 0.7);*/
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  display: block;
  padding: 0.25% 5%;
  margin: 2%;
  border-radius: 5px;
}

div.cntdwncont.top,
div.timercont.top {
  align-items: flex-start;
}
div.cntdwncont.vcenter,
div.timercont.vcenter {
  align-items: center;
}
div.cntdwncont.bottom,
div.timercont.bottom {
  align-items: flex-end;
}

div.cntdwncont.left,
div.timercont.left {
  justify-content: flex-start;
}
div.cntdwncont.hcenter,
div.timercont.hcenter {
  justify-content: center;
}
div.cntdwncont.right,
div.timercont.right {
  justify-content: flex-end;
}

span.cntdwnred {
  color: red;
}

div.clockcont {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 20%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(33, 33, 33);
  border-radius: 25px 25px 0 0;
  padding: 10px 50px;
}

span.clock {
  font-family: "Miele Elements", Arial, Helvetica, sans-serif;
  font-size: 17vh;
  color: #ffffff;
}
