/* ui.css */
:root {
  --buncss-light: initial;
  --buncss-dark: ;
  color-scheme: light dark;
  color: #e6e6e6;
  --color-surface: oklch(98% .005 var(--hue-primary));
  --color-primary: oklch(55% .15 var(--hue-primary));
  --spacing-unit: 1rem;
  --spacing-sm: calc(var(--spacing-unit) * .5);
  --spacing-md: var(--spacing-unit);
  --spacing-lg: calc(var(--spacing-unit) * 1.5);
  background-color: #1a1a1a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
  font-size: clamp(1rem, .9rem + .5vw, 1.125rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --buncss-light: ;
    --buncss-dark: initial;
    --color-text: oklch(85% .02 var(--hue-primary));
    --color-surface: oklch(12% .01 var(--hue-primary));
  }
}

* {
  padding: 0;
}

html {
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  forced-color-adjust: none;
  hanging-punctuation: first last;
  font-variant-emoji: unicode;
  overscroll-behavior: none;
  font-variant-numeric: tabular-nums;
}

body {
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: center;
  align-items:  center;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  line-height: 1.5;
}

header {
  display: flex;
  flex-direction: column;
}

header nav {
  width: 100%;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

a, button {
  text-decoration: none;
  border-radius: 2pt;
}

code, pre {
  font-family: ui-monospace, monospace;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}
