@font-face {
  font-family: "Fredoka";
  src: url("/fredoka.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/nunito.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg-top: #fff6ec;
  --bg-bottom: #fdebdd;
  --ink: #3b2f4a;
  --ink-soft: #5c4d6b;
  --door-sand: #f4d9c6;
  --door-sand-lip: #dfb99d;
  --door-coral: #ff8a5b;
  --door-coral-lip: #d9603a;
  --door-ink: #3b2f4a;
  --link: #8a3d1d;
  --focus: #3b2f4a;
  --display: "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-top: #2b2238;
    --bg-bottom: #1d1626;
    --ink: #fff6ec;
    --ink-soft: #dccfe6;
    --door-sand: #4a3b5c;
    --door-sand-lip: #2e2340;
    --door-coral-lip: #b4502f;
    --door-ink: #fff6ec;
    --link: #ffb393;
    --focus: #fff6ec;
  }
}

* {
  box-sizing: border-box;
}
html {
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  background-color: var(--bg-bottom);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font: 500 1.0625rem / 1.55 var(--body);
}
a {
  color: inherit;
}
:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  padding: 0.75rem 1rem;
  background: var(--bg-top);
  border-radius: 0.75rem;
}
.skip:focus {
  top: 0.75rem;
}

main {
  flex: 1;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mascot {
  width: 8.5rem;
  height: 8.5rem;
  flex: none;
  margin-bottom: 0.25rem;
}
h1 {
  margin: 0;
  font: 700 clamp(2.5rem, 9vw, 3.75rem) / 1.05 var(--display);
  letter-spacing: -0.01em;
}
.lead {
  max-width: 34rem;
  margin: 0.875rem 0 0;
  font-size: 1.1875rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.doors-nav {
  width: 100%;
}
.doors {
  width: 100%;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}
.door {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 4.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 1.5rem;
  background: var(--door-sand);
  color: var(--door-ink);
  text-decoration: none;
  box-shadow: 0 5px 0 var(--door-sand-lip);
  overflow-wrap: anywhere;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.door-play {
  background: var(--door-coral);
  color: #3b2f4a;
  box-shadow: 0 5px 0 var(--door-coral-lip);
}
.door:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--door-sand-lip);
}
.door-play:active {
  box-shadow: 0 2px 0 var(--door-coral-lip);
}
.door-name {
  font: 700 1.375rem / 1.2 var(--display);
}
.door-note {
  font-size: 0.9375rem;
  opacity: 0.85;
}

.hs {
  max-width: 30rem;
  margin: 1.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

footer {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
footer p {
  margin: 0.25rem 0;
}
footer ul {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.25rem;
}
footer a {
  display: inline-block;
  padding: 0.75rem 0;
  min-height: 2.75rem;
  color: var(--link);
  font-weight: 700;
}
.email {
  overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
  .door:hover {
    filter: brightness(1.04);
  }
}
@media (min-width: 720px) {
  main {
    padding-top: 3rem;
  }
  .mascot {
    width: 10rem;
    height: 10rem;
  }
}
