@font-face {
  font-family: '04b_03';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/04b03.woff2) format("woff2");
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font: 1em '04b_03';
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  min-height: 100vh;
  color: #aaa;
  background-color: #222;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 2rem;
  text-align: center;
  color: rgb(255, 196, 77);
  background: #000;
  padding: 1rem;
}

main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1rem;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-align: center;
  color: rgb(255, 196, 77);
  background: #000;
  padding: 1rem;
}

canvas {
  display: block;
  cursor: none;
  background: #000;
  border: solid 2px #333;
  margin: auto;
}

main .stats-bar {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: space-around;
  font-size: .9rem;
  padding-inline: .5rem;
}

main span,
footer span {
  display: inline-block;
  /* max-width: fit-content; */
  width: 40px;
  text-align: right;
  color: #fff;
  background-color: #000;
  border-radius: .2rem;
  border: solid 1px #555;
  padding: .25rem .5rem 0;
}

footer span {
  border: none;
}

#message {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  font-size: 3.5rem;
  text-align: center;
}

.pulse {
  animation: pulse 1.2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 30%;
  }

  50% {
    opacity: 100%;
  }
}