/* Nur für WebKit-Browser (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1f1f1f; /* dunkler Hintergrund */
}

::-webkit-scrollbar-thumb {
  background-color: #e11d48; /* Tailwind: red-600 */
  border-radius: 6px;
  border: 3px solid #1f1f1f; /* Abstand zum Track */
}

/* Optional: Hover-Effekt */
::-webkit-scrollbar-thumb:hover {
  background-color: #f43f5e; /* Tailwind: red-500 */
}


@font-face {
  font-family: 'Share Tech Mono';
  src: url('fonts/ShareTechMono-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Share Tech Mono', monospace;
  background: #000000;
  color: #e0e0e0;
  position: relative;
}

/* Text container */
.content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  padding: 2rem;
  text-align: center;
}

.glitch {
  position: relative;
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
}

.glitch span {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(0 0 0 0);
}

.glitch.glitch-active span {
  animation: glitchLayer 0.4s steps(1, end) infinite;
  opacity: 0.7;
}

@keyframes glitchLayer {
  0% {
    transform: translate(0);
    clip-path: inset(20% 0 70% 0);
    color: #f0f;
  }
  20% {
    transform: translate(-2px, -1px);
    clip-path: inset(10% 0 50% 0);
    color: #0ff;
  }
  40% {
    transform: translate(2px, 1px);
    clip-path: inset(40% 0 20% 0);
    color: #f00;
  }
  60% {
    transform: translate(-1px, 2px);
    clip-path: inset(60% 0 30% 0);
    color: #0f0;
  }
  80% {
    transform: translate(1px, -2px);
    clip-path: inset(30% 0 40% 0);
    color: #00f;
  }
  100% {
    transform: translate(0);
    clip-path: inset(0 0 0 0);
    color: #fff;
  }
}
