body {
  margin: 0;
  height: 100%;
  animation: background 4s forwards;
}

#dave {
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: fixed;
  text-align: center;
  right: -100%;
  width: 100%;
  transform: translateY(0);
  font-family: "Lucida Console", "Courier New", monospace; 
  font-size: 20vw;
  animation: flyin 4s forwards, shake 0.2s 4s infinite; 
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-0.5deg); }
  20% { transform: translate(-3px, 0px) rotate(0.5deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(0.5deg); }
  50% { transform: translate(-1px, 2px) rotate(-0.5deg); }
  60% { transform: translate(-3px, 1px) rotate(0.5deg); }
  70% { transform: translate(3px, 1px) rotate(-0.5deg); }
  80% { transform: translate(-1px, -1px) rotate(0.5deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-0.5deg); }
}

@keyframes flyin {
  0% {
    right: -100%;
    color: black;
  }
  6.25%, 12.5% {
    right: -87.5%;
    color: white;
  }
  18.75%, 25% {
    right: -75%;
    color: black;
  }
  31.25%, 37.5% {
    right: -62.5%;
    color: white;
  }
  43.75%, 50% {
    right: -50%;
    color: black;
  }
  56.25%, 62.5% {
    right: -37.5%;
    color: white;
  }
  68.75%, 75% {
    right: -25%;
    color: black;
  }
  81.25%, 87.5% {
    right: -12.5%;
    color: white;
  }
  93.75%, 100% {
    right: 0;
    color: cyan;
  }
}

@keyframes background {
  0% {
    background-color: white
  }
  6.25%, 12.5% {
    background-color: black;
  }
  18.75%, 25% {
    background-color: white;
  }
  31.25%, 37.5% {
    background-color: black;
  }
  43.75%, 50% {
    background-color: white;
  }
  56.25%, 62.5% {
    background-color: black;
  }
  68.75%, 75% {
    background-color: white;
  }
  81.25%, 87.5% {
    background-color: black;
  }
  93.75%, 100% {
    background-color: magenta;
  }
}
