html, body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #00FF00;
  font-family: 'Courier New', Courier, monospace;
  overflow-x: hidden;
  animation: bg-flicker 3s infinite;
}

@keyframes bg-flicker {
  0%, 100% { background-color: #000; }
  5% { background-color: #020202; }
  10% { background-color: #000; }
  15% { background-color: #010101; }
  20% { background-color: #000; }
}

h1 {
  text-align: center;
  margin: 20px 0;
  font-size: 24px;
  position: relative;
}
h1::after {
  content: '_';
  display: inline-block;
  margin-left: 5px;
  animation: blink-cursor 0.8s steps(1) infinite;
}
@keyframes blink-cursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

nav div {
  background: #000;
  border: 2px solid #00FF00;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  position: relative;
  animation: neon-glow 2s infinite alternate;
}
nav div:hover {
  background: #00FF00;
  color: #000;
  transform: scale(1.1);
  box-shadow:
    0 0 5px #00FF00,
    0 0 10px #00FF00,
    0 0 20px #00FF00;
}

@keyframes neon-glow {
  from {
    text-shadow:
      0 0 5px #00FF00,
      0 0 10px #00FF00;
    box-shadow:
      0 0 5px #00FF00,
      0 0 10px #00FF00;
  }
  to {
    text-shadow:
      0 0 20px #00FF00,
      0 0 30px #00FF00,
      0 0 40px #00FF00;
    box-shadow:
      0 0 20px #00FF00,
      0 0 30px #00FF00,
      0 0 40px #00FF00;
  }
}

.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}

.project {
  border: 2px dashed #00FF00;
  background: #000;
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  animation: neon-glow 2.5s infinite alternate-reverse;
}
.project:hover {
  background: #00FF00;
  color: #000;
  transform: scale(1.1);
  border-color: #000;
}

pre {
  width: 90%;
  margin: 20px auto;
  background: #000;
  border: 2px solid #00FF00;
  padding: 15px;
  font-size: 12px;
  line-height: 1.4;
  overflow: auto;
  animation: text-flicker 4s infinite;
}

@keyframes text-flicker {
  0%, 100% { opacity: 1; }
  10% { opacity: 0.9; }
  20% { opacity: 1; }
  30% { opacity: 0.95; }
  40% { opacity: 1; }
}

.copy-button {
  display: block;
  margin: 20px auto;
  padding: 8px 16px;
  background: #000;
  color: #00FF00;
  border: 2px solid #00FF00;
  cursor: pointer;
  font-family: 'Courier New', Courier, monospace;
  transition: all 0.15s ease-in-out;
  position: relative;
  animation: neon-glow 1.8s infinite alternate;
}
.copy-button:hover {
  background: #00FF00;
  color: #000;
  transform: scale(1.05);
}

a {
  color: #00FF00;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
