body {
  background-color: #000;
  color: #33ff33;
  font-family: 'Courier New', monospace;
  margin: 0;
  padding: 1rem;
}
a {
   color: #33ff33;
  font-family: 'Courier New', monospace; 
}

#terminal {
  max-width: 800px;
  margin: 0 auto;
}

#output p {
  margin: 0.5rem 0;
  white-space: pre-wrap;
}

input[type="text"] {
  width: 100%;
  background-color: #000;
  border: none;
  border-bottom: 2px solid #33ff33;
  color: #33ff33;
  font-size: 1rem;
  font-family: inherit;
  padding: 0.5rem 0;
  outline: none;
}

.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#glitch-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: none;
  font-family: 'Courier New', monospace;
}

.glitch-text {
  font-size: 2rem;
  color: red;
  animation: glitch 1s infinite;
  text-shadow: 1px 0 red, -1px 0 blue;
}
#flash-image {
  position: fixed;
  inset: 0;
  background: black;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

#flash-image img {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: cover;
}

.glitching {
  animation: glitchText 0.2s infinite;
}

@keyframes glitchText {
  0% { transform: translate(0, 0); color: #33ff33; }
  20% { transform: translate(1px, -1px); color: red; }
  40% { transform: translate(-1px, 1px); color: blue; }
  60% { transform: translate(1px, 1px); color: #fff; }
  80% { transform: translate(-1px, -1px); color: #33ff33; }
  100% { transform: translate(0, 0); }
}

@keyframes glitch {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-2px, 2px); }
  20% { transform: translate(2px, -2px); }
  30% { transform: translate(-2px, -2px); }
  40% { transform: translate(2px, 2px); }
  50% { transform: translate(0, 0); }
  60% { transform: translate(-2px, 2px); }
  70% { transform: translate(2px, -2px); }
  80% { transform: translate(-2px, -2px); }
  90% { transform: translate(2px, 2px); }
  100% { transform: translate(0, 0); }
}
