/* Inhalt von styles.css */
body {
    font-family: 'Lucida Console', monospace;
    background-color: #1a1a1a;
    color: #33ff33;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    overflow: auto; /* Ermöglicht das Scrollen, falls der Inhalt über die Fenstergröße hinausgeht */
    
  }



.cyberpunk {
    color: #ff00ff;
    text-shadow: 0 0 1px #ff00ff, 0 0 15px #ff00ff;
    text-align: center; /* Zentriert die Überschriften und den Typewriter-Text */
}


/* Behält die ursprüngliche Definition bei */
@keyframes typing {
  from { max-width: 0; }
  to { max-width: 100%; } /* Oder einen festen Wert für max-width */
}

/* Aktualisierte blink-caret Animation, die unendlich läuft */
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #33ff33; }
}

.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  /* Fügt nur die typing Animation hininzu, forwards behält den Endzustand bei */
  animation: typing 3.5s steps(40, end) forwards;
}

/* Fügt die blink-caret Animation hinzu, nachdem die typing Animation beendet ist */
.typewriter::after {
  content: ''; /* Erzeugt ein pseudo-Element für den blinkenden Cursor */
  display: inline-block;
  width: 0;
  height: 1em;
  margin-left: 5px; /* Kleiner Abstand zum Text */
  border-right: .15em solid #33ff33; /* Cursor */
  animation: blink-caret .75s step-end infinite; /* Blink-Animation */
}


main {
  padding-top: 350px; /* Höhe deines Headers oder der Navigationsleiste */
}



:root {
    --background: #00ff3c;
    --icon-color: #344955;
    --width: 50px;
    --height: 50px;
    --border-radius: 100%;
  }
  

  
  .wrapper {
    width: var(--width);
    height: var(--height);
    position: relative;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6rem;
    
    .fab {
      background: var(--background);
      width: var(--width);
      height: var(--height);
      position: relative;
      z-index: 3;
      border-radius: var(--border-radius);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
      display: flex;
      justify-content: center;
      align-items: center;
      animation: fab-animation-reverse 0.4s ease-out forwards;
      
      &::before,
      &::after {
        content: "";
        display: block;
        position: absolute;
        border-radius: 4px;
        background: #fff;
      }
      
      &::before {
        width: 4px;
        height: 18px;
      }
      
      &::after {
        width: 18px;
        height: 4px;
      }
    }
    
    .fac {
      width: 32px;
      height: 150px;
      border-radius: 64px;
      position: absolute;
      background: #fff;
      z-index: 2;
      padding: 0.5rem 0.5rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
      opacity: 0;
      top: -110px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
      transition: opacity 0.2s ease-in, top 0.2s ease-in, width 0.1s ease-in;
      color: var(--icon-color); /* Farbe der Icons */
      font-size: 20px; /* Größe der Icons */
      transition: color 0.3s; /* Übergang für Hover-Effekte */
      
      /*&::after {
        content: "";
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 3px;
        position: absolute;
        left: 50%;
        margin-left: -10px;
        bottom: -8px;
        transform: rotate(45deg);
        z-index: 0;
      }*/
      
      a {
        color: var(--icon-color);
        opacity: 0.8;
        
        &:hover {
          transition: 0.2s;
          opacity: 1;
          color: darken(#344955, 2%);
        }
      }
    }

    .fac a:hover i {
        color: #00ff3c; /* Farbe beim Hover */
      }
    
    input {
      height: 100%;
      width: 100%;
      border-radius: var(--border-radius);
      cursor: pointer;
      position: absolute;
      z-index: 5;
      opacity: 0;
      
      &:checked {
        ~ .fab {
          animation: fab-animation 0.4s ease-out forwards;
        }
        
        ~ .fac {
          width: 32px;
          height: 150px;
          animation: fac-animation 0.4s ease-out forwards 0.1s;
          top: -180px;
          opacity: 1;
        }
      }
    }
  }
  
  @keyframes fab-animation {
    0% {
      transform: rotate(0) scale(1);
    }
    20% {
      transform: rotate(60deg) scale(0.93);
    }
    55% {
      transform: rotate(35deg) scale(0.97);
    }
    80% {
      transform: rotate(48deg) scale(0.94);
    }
    100% {
      transform: rotate(45deg) scale(0.95);
    }
  }
  
  @keyframes fab-animation-reverse {
    0% {
      transform: rotate(45deg) scale(0.95);
    }
    20% {
      transform: rotate(-15deg);
    }
    55% {
      transform: rotate(10deg);
    }
    80% {
      transform: rotate(-3deg);
    }
    100% {
      transform: rotate(0) scale(1);
    }
  }
  
  @keyframes fac-animation {
    0% {
      transform: scale(1, 1);
    }
    33% {
      transform: scale(0.95, 1.05);
    }
    66% {
      transform: scale(1.05, 0.95);
    }
    100% {
      transform: scale(1, 1);
    }
  }
  
  #tarnModusContent {
    background-color: #fff;
    color: #000;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

/* Stil für den Tarn-Modus Button */
.tarn-modus-icon {
  position: fixed; /* Positioniert den Button relativ zum Viewport */
  top: 20px; /* Abstand von oben */
  right: 20px; /* Abstand von rechts */
  background: none; /* Entfernt Hintergrund */
  border: none; /* Entfernt den Rand */
  font-size: 24px; /* Größe des Icons */
  color: #fff; /* Farbe des Icons */
  cursor: pointer; /* Zeigt den Cursor als Zeiger */
}

/* Stil für den Button beim Hover */
.tarn-modus-icon:hover {
  color: #ddd; /* Ändert die Farbe beim Darüberfahren */
}

#closeTarnModus {
  display: block; /* Stellt sicher, dass der Button immer angezeigt wird */
  position: fixed; /* Fixiert den Button relativ zum Viewport */
  top: 20px; /* Abstand von oben */
  right: 20px; /* Abstand von rechts */
  z-index: 1000; /* Stellt sicher, dass der Button über anderen Elementen liegt */
  /* Weitere Stilisierung nach Bedarf */
}


.fac a {
  position: relative;
  display: inline-block;
}

.tooltip {
  font-family: 'Lucida Console', monospace;
  visibility: hidden;
  width: 150px;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  /* Positionieren des Tooltips */
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px; /* Verschiebt den Tooltip zur Mitte des Icons */
  /* Fügt ein Fade-in Effekt hinzu */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Zeigt den Tooltip beim Hover über dem Link an */
.fac a:hover .tooltip {
  visibility: visible;
  opacity: 1;
}




.faelle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Abstand zwischen den Akten */
}

p {
  hyphens: auto;
}

.fall {
  background-color: #2c2f33; /* Dunkler Hintergrund für jede Akte */
  color: #e2e2e2; /* Heller Text für besseren Kontrast */
  padding: 15px;
  border-radius: 8px;
  display: flex;
  flex-direction: column; /* Änderung zu column, um Inhalte übereinander anzuordnen */
  margin-bottom: 20px;
  width: 100%; /* Anpassung von 80% auf 100% für eine bessere Responsivität */
  max-width: 650px; /* Maximale Breite begrenzt */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fall-thumbnail img {
  max-width: 100%; /* Sorgt dafür, dass das Bild responsiv ist */
  height: auto;
  border-radius: 5px;
}


.fall-details h2 {
  color: #ffcc00; /* Gelb für die Überschriften */
  margin: 10px 0; /* Etwas Abstand oben und unten */
}

.fall-details p {
  margin: 0 0 10px 0;
}

.fall button {
  font-family: 'Lucida Console', monospace;
  background-color: #007bff; /* Helle, auffällige Farbe für den Button */
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: center; /* Zentriert den Button im Flex-Container */
}

.fall button:hover {
  background-color: #0056b3;
}

/* Anpassungen für kleinere Bildschirme */
@media (max-width: 768px) {
  .fall {
    flex-basis: calc(50% - 20px); /* Zweispaltiges Layout auf Tablets */
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .fall {
    flex-basis: 100%; /* Einspaltiges Layout auf Smartphones */
    max-width: 100%;
  }
}











.zurueck-button-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100; /* Stellt sicher, dass der Button über anderen Elementen liegt */
}


.zurueck-button {
  font-family: 'Lucida Console', monospace;
  margin: 20px;
  padding: 10px 20px;
  background-color: #007bff; /* Helle, auffällige Farbe für den Button */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-right: 5px;
}



.zurueck-button-container {
  margin-top: 20px;
  margin-left: 20px;
}

.zurueck-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.zurueck-button i {
  margin-right: 5px;
}

.blog-post {
  padding-top: 70px; /* Erzwingt einen Abstand zwischen dem oberen Rand und dem Beginn des Inhalts */
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}




.blog-post-thumbnail {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 20px 0;
}





article p {
  text-align: justify;
  margin-bottom: 20px;
}





.fallakte-seite {
  padding-top: 70px; /* Stellt einen oberen Abstand ein, um Überdeckung zu vermeiden */
}

/* Alternativ, wenn du den Abstand nur innerhalb von <main> anpassen möchtest */
.fallakte-seite main {
  padding-top: 60px; /* Passt den oberen Abstand an */
}


.quellen-liste {
  counter-reset: quellen-counter; /* Setzt den Zähler */
  list-style-type: none; /* Entfernt die Standard-Zählzeichen */
  padding-left: 0; /* Entfernt den Standard-Einzug */
}

.quellen-liste li {
  position: relative; /* Ermöglicht die Positionierung der Pseudo-Elemente */
  padding-left: 40px; /* Erhöht den linken Abstand für den Text */
}

.quellen-liste li::before {
  counter-increment: quellen-counter; /* Erhöht den Zähler bei jedem Listenelement */
  content: "[" counter(quellen-counter) "] "; /* Stellt die Zählung in eckigen Klammern dar */
  position: absolute; /* Positioniert das Pseudo-Element absolut im Bezug zum Listenelement */
  left: 0; /* Positioniert die Zählung am linken Rand */
  margin-right: 10px; /* Fügt einen rechten Abstand zum Text hinzu */
}

.content-container {
  max-width: 100%;
  box-sizing: border-box; /* Stellt sicher, dass Padding und Border in der Breite inkludiert sind */
  margin-top: 20px; /* Abstand vom oberen Rand */
  padding: 20px; /* Innerer Abstand, falls benötigt */
  overflow: auto; /* Ermöglicht das Scrollen innerhalb des Containers, falls notwendig */
}

.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 5px;
  font-family: 'Lucida Console', monospace;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
  text-decoration: none; /* Entfernt die Unterstreichung */
}

.floating-button:hover {
  background-color: #0056b3;
}


.zusammenfassung {
  background-image: url('path/to/old-paper.jpg'); /* Verblasstes Papier oder Pergament als Hintergrund */
  font-family: 'Lucida Console', monospace;
  color: #333; /* Dunkelgraue Schriftfarbe für einen abgenutzten Look */
  padding: 20px;
  margin: 20px 0;
  border: 2px solid #666; /* Verblasster Rand */
  border-radius: 5px; /* Leicht abgerundete Ecken */
  position: relative; /* Für das positionieren des "Geheim"-Stempels */
  overflow: hidden; /* Hält den Stempel innerhalb der Grenzen der Zusammenfassung */
}

.zusammenfassung::before {
  content: 'GEHEIM';
  font-size: 5em;
  color: rgba(255, 0, 0, 0.1); /* Roter, durchsichtiger Text */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg); /* Zentriert und rotiert den Stempel */
  z-index: -1;
}

.zusammenfassung h2 {
  text-decoration: underline; /* Unterstreicht die Überschrift */
  color: #000; /* Schwarze Schriftfarbe für die Überschrift */
  font-size: 1.5em;
  margin-bottom: 15px;
}


.zusammenfassung p {
  font-size: 1.2em;
  line-height: 1.5;
  text-align: justify; /* Sorgt für einen gefüllten Blocksatz */
}


.inhaltsverzeichnis {
  margin: 20px 0;
  padding: 15px;
  background-color: #f2f2f2;
  border-radius: 5px;
}

.inhaltsverzeichnis h3 {
  margin-top: 0;
}

#inhaltsverzeichnis-liste {
  list-style: none;
  padding-left: 20px; /* Erhöht den linken Einzug der Liste */
}

#inhaltsverzeichnis-liste li {
  position: relative;
  margin-bottom: 10px;
}

#inhaltsverzeichnis-liste li::before {
  content: '•';
  position: absolute;
  left: -15px; /* Anpassung, um sicherzustellen, dass die Bullet Points innerhalb des grauen Kastens bleiben */
  color: #007bff;
}

#inhaltsverzeichnis-liste li a {
  color: #007bff;
  text-decoration: none;
  padding-left: 5px;
}

#inhaltsverzeichnis-liste li a:hover {
  text-decoration: underline;
}



.letzter-akteneintrag {
  display: inline-block;
  background-color: rgba(255, 0, 0, 0.2); /* Leicht transparentes Rot für den Hintergrund */
  color: red; /* Rote Schrift */
  padding: 5px 10px;
 /* transform: rotate(-3deg);  Schrägstellung für den Stempel-Effekt */
  font-weight: bold;
  border: 2px dashed red; /* Gestrichelte Linie für den Stempelrand */
  border-radius: 5px; /* Leicht abgerundete Ecken */
  margin: 10px 0; /* Abstand nach oben und unten */
  font-size: 24px; /* Größere Schrift */
}


.status-ermittlung {
  font-family: 'Lucida Console', monospace;
  margin-bottom: 10px; /* Etwas Abstand nach unten */
}

.status-stempel {
  color: black; /* Schwarze Schrift */
  padding: 5px 20px;
  font-weight: bold;
  border: none; /* Entfernt den vorherigen Rand */
  display: inline-block;
  font-size: 24px; /* Größere, auffällige Schrift */
  letter-spacing: 2px; /* Etwas Abstand zwischen den Buchstaben */
}

/* Zusätzlicher Stil für den umgebenden Paragraphen, um die Stempeloptik zu unterstützen */
.status-ermittlung p {
  font-size: 18px; /* Leicht vergrößerte Schrift */
  font-style: italic; /* Kursive Schrift für den Hinweis "Status der Ermittlung:" */
}





@media (max-width: 768px) {
  .blog-post, .inhaltsverzeichnis, .zusammenfassung {
    padding: 10px;
  }
  img {
    width: 100%; /* Passt die Breite der Bilder an kleinere Bildschirme an */
  }
}



.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Seitenverhältnis */
  height: 0;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.ermittlungstag {
  font-family: 'Lucida Console', monospace;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #ffcc00;
}


.korrespondenzen-liste li {
  list-style-type: none;
  margin-bottom: 10px;
}

.close {
  padding: 10px 20px;
  background-color: #f44336; /* Roter Hintergrund */
  color: white; /* Weiße Schrift */
  border: none; /* Kein Rand */
  cursor: pointer; /* Cursor ändert sich zum Klick-Zeiger */
  border-radius: 5px; /* Abgerundete Ecken */
  font-size: 16px; /* Schriftgröße */
  position: absolute; /* Absolut positioniert */
  top: 20px; /* Abstand von oben */
  right: 20px; /* Abstand von rechts */
}

.close:hover {
  background-color: #d32f2f; /* Dunklerer Rotton beim Darüberfahren */
}

.overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter Hintergrund */
  z-index: 1000; /* Stellt sicher, dass das Overlay über anderen Inhalten liegt */
}
.overlay-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  max-width: 80%; /* oder ein anderer Wert, der zu deinem Design passt */
  width: 90%; /* Anpassung der Breite des Inhalts */
  text-align: center;
  overflow-y: auto; /* Ermöglicht das vertikale Scrollen, wenn der Inhalt höher als das Overlay ist */
  max-height: 80%; /* Maximale Höhe des Inhalts, um sicherzustellen, dass er nicht über den Bildschirm hinausgeht */
}

.overlay-image {
  width: 100%; /* Passt die Breite des Bildes an die Breite des Overlays an */
  height: auto; /* Behält das Seitenverhältnis des Bildes bei */
  margin-bottom: 20px; /* Fügt einen Abstand zwischen den Bildern hinzu */
}



.custom-list {
  list-style-type: none; /* Entfernt das Standard-Aufzählungszeichen */
  padding: 0; /* Entfernt den Standard-Padding */
}

.custom-list li {
  background-color: #f9f9f9; /* Hintergrundfarbe für das Zitat */
  border-left: 5px solid #007bff; /* Blaue vertikale Linie auf der linken Seite */
  margin: 20px 0; /* Abstand zwischen den Listeneinträgen */
  padding: 10px 20px; /* Innenabstand */
  font-style: italic; /* Schräge Schrift für den Zitat-Effekt */
  position: relative; /* Ermöglicht die Positionierung innerhalb des Listenelements */
  quotes: "“" "”" "‘" "’"; /* Definiert die Zitatzeichen */
}

.custom-list li::before {
  content: open-quote; /* Fügt das öffnende Anführungszeichen hinzu */
  color: #007bff; /* Farbe des Anführungszeichens */
  font-size: 1.5em; /* Größere Schrift für das Anführungszeichen */
  line-height: 0.1em; /* Passt die Zeilenhöhe für das Anführungszeichen an */
  margin-right: 10px; /* Abstand zwischen Anführungszeichen und Text */
  vertical-align: -0.4em; /* Vertikale Ausrichtung des Anführungszeichens */
}

.custom-list li::after {
  content: close-quote; /* Fügt das schließende Anführungszeichen hinzu */
  color: #007bff; /* Farbe des Anführungszeichens */
  font-size: 1.5em; /* Größere Schrift für das Anführungszeichen */
  line-height: 0.1em; /* Passt die Zeilenhöhe für das Anführungszeichen an */
  vertical-align: -0.4em; /* Vertikale Ausrichtung des Anführungszeichens */
  position: absolute; /* Absolute Positionierung */
  right: 10px; /* Rechtsbündige Positionierung des schließenden Anführungszeichens */
}

body, p, ul, ol, h1, h2, h3, h4, h5, h6 {
  line-height: 1.5;
}


.karte-icon {
  cursor: pointer; /* Ändert den Cursor zum Zeiger, um Klickbarkeit zu signalisieren */
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out; /* Sanfte Übergänge für Skalierung und Farbwechsel */
}

.karte-icon:hover {
  transform: scale(1.2); /* Vergrößert das Icon leicht beim Hover */
  color: #007bff; /* Ändert die Farbe beim Hover (blau) */
}


blockquote {
  margin: 20px 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 5px solid #ccc;
  font-style: italic;
}

blockquote p {
  margin: 0;
  font-size: 1em;
}

/* Optional, falls <cite> verwendet wird */
cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  text-align: right;
  font-size: 0.9em;
}



.h2-fallakte {
  font-family: 'Courier New', Courier, monospace;
  font-size: 50px; 
  color: #000000; 
  text-transform: uppercase;
  margin-bottom: 20px; 
  padding-bottom: 5px; 
  border-bottom: 5px solid #000000; /* Eine Linie unter dem Text für zusätzliche Prominenz */
}

.h3-schreibmaschine {
  font-family: 'Lucida Console', monospace;
  font-size: 28px; /* Größere Schriftgröße */
  color: #000000; /* Dunkelgraue Schriftfarbe für bessere Lesbarkeit */
  margin-top: 30px; /* Etwas mehr Abstand nach oben */
  margin-bottom: 15px; /* Etwas Abstand nach unten */
}



.custom-button {
  display: inline-block;
  background-color: #007bff; /* Helle, auffällige Farbe für den Button */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-family: 'Lucida Console', monospace; /* Oder eine andere Schriftart deiner Wahl */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.2s;
}

.custom-button:hover {
  background-color: #0056b3; /* Dunklere Farbe beim Hover */
  transform: translateY(-2px); /* Leichter "Lift"-Effekt */
}


.centered-image {
  display: block;
  margin: 0 auto; /* Zentriert das Bild horizontal */
  width: 250px; /* Setzt die Breite auf 150 Pixel */
  height: auto; /* Behält das Seitenverhältnis bei */
}
