/* luccie.dev: fonts and the navbar, used by every page.
 * MyOS2 Console: the 8x16 bitmap font the MyOS2 kernel draws text with.
 * Bricolage Grotesque: Copyright 2022 The Bricolage Grotesque Project Authors,
 * SIL Open Font License 1.1 (fonts/OFL.txt). Self-hosted: no third-party requests. */

@font-face {
  font-family: "MyOS2 Console";
  font-display: swap;
  src: url("/fonts/myos2-console.woff") format("woff");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
  padding: 0.75rem clamp(1.25rem, 6vw, 5.5rem);
  background: var(--nav-bg, #0000aa);
  font: 16px/2 "MyOS2 Console", ui-monospace, monospace;
  letter-spacing: 1px;
}
.site-nav a { color: #fff; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.site-nav a[aria-current] { color: #ffff55; }
.site-nav a:focus-visible { outline: 2px solid #ffff55; outline-offset: 2px; }
