@font-face {
  font-family: 'Permanent Marker';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/PermanentMarker-Regular.ttf) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #ffffff;
  --background-alt: #dddcdc;
  --foreground: #303030;
  --valid: #176B3C;
  --invalid: #8B0000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #303030;
    --background-alt: #404040;
    --foreground: #dddcdc;
    --valid: #4FD171;
    --invalid: #FF4D4D;
  }
}

html {
  height: 100%;
  font-size: 100%;
  overscroll-behavior: none;
  font-family: 'Permanent Marker', cursive;
}

body {
  margin: 0;
  padding: 1rem 0.5rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  color: var(--foreground);
  background: var(--background);
}

*, *:before, *:after {
  box-sizing: border-box;
}

.container {
  position: relative;
}

h1 {
  font-size: clamp(1.5rem, 10vw, 4rem);
  letter-spacing: 0.125em;
  text-align: center;
}

.links {
  font-size: clamp(1.5rem, 10vw, 4rem);
  letter-spacing: 0.125em;
  font-weight: 700;
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  & * {
    opacity: 0;
  }

  & a {
    cursor: help;
  }
}