/* ----------------------------------
   FONT
---------------------------------- */

@font-face {
  font-family: "Toshiba";
  src: url("fonts/WebPlus_ToshibaTxL1_8x16.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =====================================================
   2. RESET / BASIS
   ===================================================== */

* {
  cursor: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ----------------------------------
   GRUNDLAGEN
---------------------------------- */

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;

  height: 1.4em;               /* eine Textzeile */
  min-width: 1.4em;
  padding: 0 0.4em;

  border: 3px solid white;
  pointer-events: none;
  z-index: 9999;

  transform: translate(-50%, -50%);

  transition:
    width 0.15s ease,
    height 0.15s ease,
    top 0.15s ease,
    left 0.15s ease,
    opacity 0.15s ease;

  /* DAS ist der Invertierungs-Trick */
  mix-blend-mode: difference;
}


:root {
  --bg: #0b0b0b;
  --fg: #e0e0e0;
  --hover: #a3ee84;
  --bg-layer: rgba(117, 117, 117, 0.493);
}


html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: "Toshiba", monospace;
  font-size: 32px;
}

/* =====================================================
   DIALOGFELD (STARTSEITE)
   ===================================================== */

.dialog-wrapper {
  width: 100%;
  height: 100%;
  text-align: center;
  
}

.dialog-box {
  width: 80vw;
  text-align: left;
  padding-top: 10vh;
  padding-bottom: 20vh;
  margin: 0 auto;
  
}

.dialog-header {
text-align: left;
text-decoration: underline;
padding-bottom: 32px;
}

.dialog-text {
  display: none;
}

.dialog-text.visible {
  display: block;
  margin-bottom: 1rem;
}

/* read more = Link-Stil wie Map */
.read-more {
  display: inline-block;
  cursor: none;
  color: #f3ff6f;
  text-decoration: underline;
}

.read-more:hover {
  color: #a3ee84;
}

/* Enter-Link initial verstecken */
.enter-link {
  display: none;
  color: #f3ff6f;
  text-decoration: none;
}

.enter-link:hover {
  color: #a3ee84;
}


/* =====================================================
   ARCHIV / MAP (SCROLL WRAPPER ETC.)
   ===================================================== */


/* ----------------------------------
   VIEWPORT (EIN SCROLLRAUM!)
---------------------------------- */

.viewport {
  position: fixed;
  inset: 0;
  overflow-x: auto;
  overflow-y: auto;

}

/* ----------------------------------
   MAP LAYER (GEMEINSAME BASIS)
---------------------------------- */

.map-layer {
  position: absolute;
  top: 0;
  left: 0;
  white-space: pre;
  padding: 60px;
  min-width: max-content;
  min-height: max-content;
}

/* ----------------------------------
   HINTERGRUND-LAYER
---------------------------------- */

.map-layer.bg {
  color: var(--bg-layer);
  pointer-events: none;
  z-index: 1;
}

/* ----------------------------------
   VORDERGRUND-LAYER
---------------------------------- */

.map-layer.fg {
  color: var(--fg);
  z-index: 2;
}

/* ----------------------------------
   TEXT, LINKS + HOVER
---------------------------------- */

/* ASCII TEXT REGELN */
pre {
  font-family: "Toshiba", monospace;
  white-space: pre;
  line-height: 1.1;
  margin: 0;
}

/* LINK TEXT REGELN */
pre a {
  color: #f3ff6f;
  text-decoration: none;
}

a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s linear;
}

a:hover {
  color: var(--hover);
}



