/* Seite des Übungsplaners: volle Höhe für das Board, Schriften für Zeichnung und Kopfzeile.
   @font-face muss im Dokument stehen, im Shadow DOM greift es nicht. */
@font-face {
  font-family: Caveat;
  src: url("../assets/fonts/Caveat.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("../assets/fonts/Outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #ffffff; color: #23262d; }
body {
  display: flex;
  flex-direction: column;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  border-bottom: 1px solid #eceef1;
  min-height: 44px;
}
.site-head .brand {
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.045em;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}
.site-head .brand .stop {
  display: inline-block;
  width: 0.24em;
  height: 0.24em;
  border-radius: 50%;
  background: #d6342b;
  margin-left: 0.04em;
}
.site-head h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #5d6270;
}
.site-head nav { margin-left: auto; display: flex; gap: 14px; font-size: 13px; }
.site-head nav a { color: #5d6270; text-decoration: none; }
.site-head nav a:hover, .site-head nav a:focus-visible { color: #23262d; text-decoration: underline; text-underline-offset: 3px; }

#board { flex: 1; min-height: 0; }

.noscript { max-width: 40rem; margin: 2rem auto; padding: 0 1.25rem; line-height: 1.5; }
.noscript a { color: #1f5fd1; }

.site-head .brand { white-space: nowrap; }

@media (max-width: 600px) {
  .site-head h1, .site-head .nav-insta { display: none; }
  .site-head nav { gap: 10px; font-size: 12px; }
}
