/********** ANIMATION KEYFRAMES **********/

@keyframes blink {
  from {
    color: #df9711;
  }

  to {
    color: transparent;
  }
}

.blinky {
  animation: blink 0.5s infinite linear;
}

@keyframes flick {
  from {
    top: -25%;
  }

  to {
    top: 125%;
  }
}

.scanny {
  animation: flick 1.6s infinite linear;
}

@keyframes glitch {
  from {
    transform: translate(-5em, -10em) rotate(180deg);
  }

  to {
    transform: translate(10em, 1em) rotate(180deg);
  }
}

.glitchy {
  animation: glitch .1s infinite steps(2);
}

/********** FX **********/

body {
  background-color: #976107;
  overflow: hidden;

  user-select: none;
  -webkit-user-select: none;
}

#scanner {
  position: absolute;
  width: 100%;
  height: 0;

  box-shadow: 0 0 50px 5px #df9711;
}

#shadow-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  box-shadow: inset 0 0 100px 1px black;
}

/********** LAYOUT **********/

#screen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  padding: 30px;

  overflow: hidden;
  background-color: inherit;
  font-family: "Andale Mono", "Monotype.com", monospace;
  font-weight: bold;
  color: #df9711;
}

#content {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;

  border: 3px solid #df9711;
  overflow: hidden;
}

#output {
  white-space: pre;
}

#boxes {
  position: absolute;
  right: 41px;
  top: 22px;
  height: 100px;
}

#boxes>div {
  height: 100%;
  margin-right: 5px;
  border: 3px solid #df9711;
  background-color: #976107;
  float: right;
  overflow: hidden;
}

#logo {
  width: 100px;
}

#logo>img {
  padding: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
}

#numbers>span {
  display: block;
  margin: 5px;
  line-height: 25px;
}

#scroll-box>div {
  float: left;
  line-height: 4px;
}

#scroll-box span {
  display: block;
  white-space: pre-wrap;
}

#scroll-down-box {
  margin-left: 5px;
}

#scroll-up-box {
  margin-left: 5px;
  margin-right: 4px;
}