@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/BodoniModa-Medium.woff2") format("woff2"),
       url("/fonts/BodoniModa-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #f4f4f4;
  font-family: "Bodoni Moda", "Times New Roman", Times, serif;
  -webkit-font-smoothing: antialiased;
}

#fallback {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-weight: 500;
  font-size: clamp(2.4rem, 9vw, 8rem);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  pointer-events: none;
  user-select: none;
}

body.is-live #fallback {
  opacity: 0;
}

#stage,
#stage canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  cursor: none;
}

canvas {
  outline: none;
}
