:root {
  --bg: #1a0029;
  --fg: #ffffff;
  --fg2: #a9a3ad;
  --primary: #b875e8;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, sans-serif;

  display: flex;
  flex-direction: column;
  align-items: center;
}

nav {
  height: 3rem;
  width: 60vw;
  padding: 2rem;

  display: flex;
  align-items: center;
}

main {
  width: 60vw;
  min-height: calc(100vh - 13rem);
  margin: 1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
}

footer {
  width: 60vw;
  height: 2rem;
  padding: 1rem;

  display: flex;
  align-items: center;
}

nav > a {
  color: var(--fg);
  text-decoration: initial;
  padding: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--fg2);
  font-size: 1.1rem;
}

.icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

@font-face {
  font-family: "Nasalization Regular";
  font-display: swap;
  src: url("/assets/Nasalization-Regular.otf") format("opentype");
}

h1, h2, h3 {
  font-family: Nasalization Regular, system-ui, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #d2a8f0ff;
    --fg: #1a0029;
    --fg2: #390061;
    --primary: #6d1bb3;
  }
}

@media (max-width: 600px) {
  nav, main, footer {
    width: 80vw;
  }
}
