html,
body {
  height: 100%;
  margin: 0;
  background: #070b12;
  overflow: hidden;
}

#welcome-press {
  animation: welcome-press-flash 1s steps(2, end) infinite;
}

@keyframes welcome-press-flash {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#start-button:hover,
#start-button:active {
  background: #f5418d !important;
}

#try-again {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  animation: try-again-flash 1s steps(2, end) infinite;
}

@keyframes try-again-flash {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#play-again:hover,
#play-again:active {
  background: #f5418d !important;
}

#play-again {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

#dpad button {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  background: rgba(10,12,16,0.72);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  touch-action: none;
}

#dpad button:active {
  background: rgba(245,65,141,0.95);
}

#game {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
}

@font-face {
  font-family: 'Benedict';
  src: url('Benedict13213462019321784137.00e747992b9.6753eb9d235a7882acbb3103f5bab53.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
