@font-face {
  font-family: Everett-Mono;
  src: url("EverettMono-Regular.83489e7c.woff2") format("woff2"), url("EverettMono-Regular.0fd8f795.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

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

html {
  color: #fff;
  background: #000;
  font-family: Everett-Mono, monospace, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

main {
  justify-content: center;
  align-items: center;
  height: 100dvh;
  display: flex;
  position: relative;
}

canvas {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
}

a {
  color: #fff;
  text-decoration: none;
}

.info-panel {
  z-index: 50;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
}

.btn-info {
  cursor: pointer;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  display: flex;
}

.btn-info img {
  object-fit: contain;
  filter: invert();
  opacity: .75;
  width: 100%;
  height: 100%;
  transition: opacity .2s;
}

.btn-info:hover img {
  opacity: 1;
}

.credits {
  flex-direction: column;
  gap: .75rem;
  font-size: .875rem;
  display: flex;
}

.credits.hidden {
  display: none;
}

.credits p {
  margin: 0;
}

.credits u {
  text-decoration: underline;
}

.intro {
  width: 100vw;
  height: 100dvh;
  padding: 1.25rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
  z-index: 200;
  opacity: 1;
  background: #000;
  justify-content: center;
  align-items: center;
  transition: opacity .3s ease-out;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
}

.intro.hidden {
  opacity: 0;
  pointer-events: none;
}

.intro-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-height: 100%;
  font-size: 1.25rem;
  display: flex;
}

.intro-content h2 {
  font-size: 1.25rem;
  text-decoration: underline;
}

.btn {
  color: #fff;
  cursor: pointer;
  background-color: #0000;
  border: 2px solid #fff;
  border-radius: 9999px;
  padding: .35rem 1rem .4rem;
  font-family: Everett-Mono, monospace, Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  transition: background-color .3s, color .2s;
}

.btn:hover {
  color: #000;
  background-color: #fff;
}

.btn-start {
  margin-top: 1.5rem;
}

.overlay {
  width: 100vw;
  height: 100dvh;
  padding: 1.25rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
  z-index: 100;
  backdrop-filter: blur(8px);
  background: #000000bf;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
}

.overlay.hidden {
  display: none;
}

.overlay-content {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  max-width: 90vw;
  display: flex;
}

.overlay-content > img {
  object-fit: contain;
  border: 2px solid #fff;
  flex-shrink: 1;
  max-width: 55vw;
  max-height: 70dvh;
}

.overlay-buttons {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.overlay-buttons-mobile {
  display: none;
}

.overlay-buttons-desktop {
  flex-direction: column;
  gap: 1.5rem;
  display: flex;
}

.btn-again-desktop {
  display: block;
}

.camera-error-message {
  color: #fff;
  max-width: 20%;
  font-size: 1rem;
  position: absolute;
  top: 1.75rem;
  left: 1.5rem;
}

@media (width <= 768px) {
  .info-panel {
    padding-bottom: env(safe-area-inset-bottom, 0);
    flex-direction: row;
    align-items: flex-end;
    bottom: 1rem;
    left: 1rem;
  }

  .credits {
    font-size: .75rem;
  }

  .intro {
    align-items: flex-start;
    padding-top: 3rem;
  }

  .intro-content {
    font-size: 1.1rem;
  }

  .overlay {
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }

  .overlay-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: fit-content;
    max-width: 100%;
  }

  .overlay-content > img {
    max-width: 85vw;
    max-height: 50dvh;
  }

  .overlay-buttons-mobile {
    padding-bottom: 1rem;
    display: flex;
  }

  .overlay-buttons-desktop, .btn-again-desktop {
    display: none;
  }

  .btn {
    padding: .25rem .75rem .3rem;
    font-size: 1rem;
  }

  .camera-error-message {
    text-align: right;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    max-width: 100%;
    font-size: .75rem;
    display: flex;
    bottom: 1rem;
    right: 1rem;
  }

  .camera-error-message p {
    width: 50%;
  }
}
/*# sourceMappingURL=generative-christmas.4ee4707b.css.map */
