@font-face {
  font-family: "Corundum Bold";
  src:
    url("fonts/Corundum-Bold.woff2") format("woff2"),
    url("fonts/Corundum-Bold.woff") format("woff"),
    url("fonts/Corundum-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

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

html,
body {
  width: 100%;
  height: 100%;
  background: #ffffff;
  color: #eeefe4;
  font-family: "Corundum Bold";
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

#intro {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: #ffffff;
  opacity: 1;
  transition: opacity 0.165s ease;
}

#dice-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  background: #ffffff;
}

#archive {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: #141919;
  opacity: 0;
  transition: opacity 0.165s ease;
}

#archive.visible {
  opacity: 1;
}

#archive h1 {
  font-family: "Corundum Bold";
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: #eeefe4;
}

#archive-subtitle {
  font-family: "Corundum Bold";
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: #eeefe4;
}

.hidden {
  display: none !important;
}
