/* Quizarena – presentasjonsside
   Samme stil som AasenGaare / Kunstagenda / Aasen Kommunikasjon */

/* Self-hosted IBM Plex Mono (kun nødvendige vekter) */
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/IBMPlexMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/IBMPlexMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/IBMPlexMono-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f5f0;
  --paper: #fdfcf8;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --border: #2a2a2a;
  --footer: #666;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 1.5rem 1rem 3rem;
  font-family: "IBM Plex Mono", "Courier New", Courier, monospace;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-family: "IBM Plex Mono", "Courier New", Courier, monospace;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.85rem;
  margin: 2rem 0 1.25rem;
  text-align: center;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.4rem;
  display: inline-block;
}

.intro {
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
  text-align: center;
}

.a4 {
  width: 100%;
  max-width: 42rem;
  background: var(--paper);
  border: 2px solid var(--border);
  padding: 2rem 1.75rem 2.5rem;
  text-align: left;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
  margin-bottom: 2.5rem;
}

.a4 h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
}

.a4 h2:first-child {
  margin-top: 0;
}

.a4 p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
}

.a4 p:last-child {
  margin-bottom: 0;
}

.link-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

.link-list li {
  margin-bottom: 0.35rem;
}

.link-list a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid #999;
  transition: border-color 0.15s;
}

.link-list a:hover {
  border-bottom-color: var(--text);
}

.proff-link {
  text-align: center;
  margin: 0 0 2.5rem;
  font-size: 0.85rem;
}

.proff-link a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid #999;
  transition: color 0.15s, border-color 0.15s;
}

.proff-link a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

footer {
  margin-top: auto;
  padding: 1.5rem 0.75rem;
  font-size: 0.75rem;
  color: var(--footer);
  text-align: center;
  width: 100%;
  max-width: 42rem;
  border-top: 1px solid #ccc;
  letter-spacing: 0.03em;
}

footer a {
  color: var(--footer);
  text-decoration: none;
  border-bottom: 1px solid #999;
}

footer a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

@media (max-width: 600px) {
  body {
    padding: 1rem 0.6rem 2rem;
  }

  h1 {
    font-size: 1.5rem;
    margin: 1.25rem 0 1rem;
  }

  .a4 {
    padding: 1.4rem 1.1rem 1.8rem;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.06);
  }
}
