/* ===============================
   Linux – Ein Preis für den offenen Geist
   Nobel-Sonderausgabe 2026 – CSS Theme
   =============================== */

/* ----- Grundlayout ----- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=IBM+Plex+Mono&display=swap');

:root {
  --text-color: #111111;
  --accent: #00ff7f;
  --bg-light: #efefef;
  --bg-medium: #cccccc;
  --bg-dark: #1b1b1b;
  --mono: 'IBM Plex Mono', monospace;
  --serif: 'Merriweather', serif;
}

html {
  background: var(--bg-medium);
}

body {
  margin: 3rem auto;
  max-width: 860px;
  background: var(--bg-light);
  color: var(--text-color);
  font-family: var(--serif);
  line-height: 1.7;
  hyphens: auto;
  padding: 1rem;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.3;
  color: #000;
  text-align: center;
  margin-top: 2.5rem;
}

h1 {
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3em;
  color: #004d26;
}
h3 {
  font-size: 1.3rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ----- Zitate und Terminalelemente ----- */
blockquote {
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding-left: 1em;
  margin-left: 0;
  color: #333;
}

pre, code {
  font-family: var(--mono);
  background: var(--bg-dark);
  color: var(--accent);
  padding: 0.6em 0.8em;
  border-radius: 6px;
  display: block;
  overflow-x: auto;
  line-height: 1.5;
}

code {
  background: var(--bg-dark);
  display: inline;
  padding: 0.15em 0.25em;
  border-radius: 3px;
}

/* ----- Tabellen (für Q&A / Drinks etc.) ----- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
th, td {
  border: 1px solid #ccc;
  padding: 0.6em;
  text-align: left;
}
th {
  background: var(--bg-dark);
  color: var(--accent);
  font-family: var(--mono);
}
tr:nth-child(odd) {
  background: #f7f7f7;
}

/* ----- Zitatleisten & grafische Akzente ----- */
hr {
  border: none;
  border-top: 2px solid #ddd;
  margin: 2.5rem 0;
}

.terminal {
  background: var(--bg-dark);
  color: var(--accent);
  padding: 1em;
  border-radius: 8px;
  font-family: var(--mono);
  box-shadow: 0 0 20px rgba(0, 255, 127, 0.1);
}

/* ----- Fußnoten / Kleindruck ----- */
footer {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  color: #666;
  border-top: 1px dashed #ccc;
}

/* ----- Cursor als blinkender Block ----- */

.cursor {
  display: inline-block;
  animation: blink 1s steps(1) infinite;
  width: 0.6em;
  height: 1.1em;
  background: currentColor;
}

/* Blinken: sichtbar ↔ unsichtbar */
@keyframes blink {
50% { opacity: 0; }
}

/* ----- Medienoptimierung (PDF / Print) ----- */
@media print {
  body {
    background: #fff;
    color: #000;
  }
  pre, code {
    background: #eee;
    color: #000;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}

