:root {
  --Background: #f4f1ea;
  --Text: #222;
  --Accent: #87CEEB;
}

@media (prefers-color-scheme: dark) {
  :root {
    --Background: #1b1a17;
    --Text: #e8e4da;
  }
}

body {
  background: var(--Background);
  color: var(--Text);
  font-family: system-ui, sans-serif;
  max-width: 40rem;
  margin: 2rem auto;
  padding: 0 1rem;
}

a {
  color: var(--Accent);
}

.QrCode {
  position: relative;
  box-sizing: border-box;
  width: min(90vw, 90vh);
  background: white;
  padding: 1rem;
}

.QrCode img {
  display: block;
  width: 100%;
  image-rendering: pixelated;
}

.QrCode .QrLogo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15%;
  transform: translate(-50%, -50%);
}