

body {
    color: green;
    position: relative;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Share Tech Mono', monospace;
    
}
@font-face {
  font-family: "Orbitron";
  src: url("../fonts/Orbitron/Orbitron-VariableFont_wght.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("../fonts/Orbitron/Orbitron-VariableFont_wght.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Share Tech Mono";
  src: url("../fonts/Share_Tech_Mono/ShareTechMono-Regular.ttfm") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


.scifi-counter .frame {
  padding: 20px 35px;
  border: 1px solid green;
  box-shadow:
    0 0 8px 2px green;
  text-align: center;
  border-radius: 8px;
  position: fixed;
  top: 840px;
  right: 40px;
  z-index: 10;
}

#counter {
  font-size: 64px;
  color: green;
  letter-spacing: 4px;
  
}

.label {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 3px;
  color: green;
}

.frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: green;
  animation: scan 3s linear infinite;
}

@keyframes scan {
  0% { top: 0; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}



/* Überschriften */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
}

/* ----------------------------------------------------------
   HINTERGRUND
   ---------------------------------------------------------- */

.background-layer {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image: url("../img/Leiterbahn.png");
  background-size: cover;
  background-repeat: repeat;

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 20%,
    black 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 20%,
    black 80%,
    transparent 100%
  );

  will-change: transform;
  transform: translateZ(0);
}


/* ----------------------------------------------------------
   LAYOUT
   ---------------------------------------------------------- */
.content-wrapper {
    padding-top: 60px;
    padding-left: 40px;
}

h1 {
    font-size: 40px;
    margin-top: 160px;
    margin-bottom: 20px;
    margin-left: 40px;
}

h2 {
    font-size: 30px;
    margin-bottom: 20px;
    margin-left: 40px;
}

h3 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-left: 40px;
}

/* ----------------------------------------------------------
   MENÜ
   ---------------------------------------------------------- */
/* Menü als Stack */
.menu {
    overscroll-behavior: contain;
    position: relative;
    width: 220px;
    margin-top: 100px;
    margin-left: 10px;
}

/* Alle Buttons liegen übereinander */
.menu-button {
    position: absolute;
    left: 40px;                 /* Button nach rechts */
    width: 100%;

    display: flex;              /* ← wichtig für Zentrierung */
    align-items: center;        /* vertikal mittig */
    justify-content: center;    /* horizontal mittig */

    padding: 12px;
    text-decoration: none;
    color: green;

    border: 2px solid green;
    border-radius: 8px;

    opacity: 0;
    transform: translateY(40px) scale(0.9);
    z-index: 0;

    transition:
        transform 0.15s cubic-bezier(.4,0,.2,1),
        opacity 0.15s linear,
        box-shadow 0.15s linear;
    
    pointer-events: none;
}

/* Aktiver Button vorne */
.menu-button.active {
    opacity: 1;
    transform: translateY(0) scale(1.1);
    z-index: 3;
    pointer-events: auto;

    box-shadow: 0 0 8px 2px green;
}

/* Direkt hinter dem aktiven */
.menu-button.behind {
    opacity: 0.4;
    transform: translateY(55px) scale(0.88); /* weiter weg + kleiner */
    z-index: 1;
}

.site-footer {
    margin-top: 120vh;        /* erzwingt Scroll-Entfernung */
    padding: 40px;
    text-align: left;
    font-family: 'Share Tech Mono', monospace;
    color: green;
    background:none;
    
}
.background-layer {
  contain: paint;
}