html,
body {
  margin: 0;
  padding: 0;
  background: black;
  color: white;
  font-family: "Fira Code", monospace;
  overflow-x: hidden;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  display: block;
}

.content-wrapper {
  position: relative;
  z-index: 10;
}

.matrix-text {
  color: white;
  font-size: 60px;
  font-family: monospace;
  white-space: nowrap;
  text-shadow: 0 0 10px #0f0, 0 0 20px #0f0, 0 0 30px #0f0;
}

.typing-shadow {
  filter: drop-shadow(0 0 6px #0f0) drop-shadow(0 0 12px #0f0);
}

/* style.css */

@keyframes matrixFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
  60% { opacity: 1; }
  70% { opacity: 0.9; }
  80% { opacity: 1; }
}

.matrix-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 1);
  color: #39ff14;
  font-weight: bold;
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
  /* Removed the glow from box-shadow, kept only the drop shadow */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  z-index: 50;
  transform: translateY(-100%);
  transition: transform 0.7s ease;
  overflow: hidden;
  /* Simple solid neon green bottom border without glow */
  border-bottom: 1px solid #39ff14;
}

.matrix-header.visible {
  transform: translateY(0);
}

.matrix-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px; /* Much thinner line */
  height: 100%;
  background: #39ff14;
  box-shadow: 
    0 0 5px #39ff14,
    0 0 10px #39ff14,
    0 0 15px #39ff14;
  animation: scanline 18s linear infinite; /* Slower animation */
  z-index: -1;
  opacity: 0.9;
}

@keyframes scanline {
  0% {
    transform: translateX(-20px); /* Start slightly off-screen */
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  98% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100vw + 20px)); /* End slightly off-screen */
    opacity: 0;
  }
}

.matrix-glow {
  position: relative;
  color: #39ff14;
  text-shadow: 
    0 0 5px #39ff14, 
    0 0 10px #39ff14, 
    0 0 15px #39ff14;
  animation: matrixFlicker 3s infinite ease-in-out;
}

.matrix-nav {
  display: inline-block;
  margin-right: 2rem;
}

.matrix-link {
  color: #39ff14;
  text-decoration: none;
  margin-right: 1.5rem;
  font-size: 1rem;
  position: relative;
  text-shadow: 0 0 2px #39ff14;
  transition: all 0.3s ease;
}

.matrix-link:hover {
  text-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14;
}

.matrix-link:last-child {
  margin-right: 0;
}

/* Add this to your existing .matrix-header class to adjust spacing */
.matrix-header {
  display: flex;
  align-items: center;
  /* ... rest of your existing header styles ... */
}

/* Optional: Add this if you want the name to appear on the right */
.matrix-glow {
  margin-left: auto;
}

/* PDF Container Styles */
.pdf-container {
  width: 100%;
  height: 800px; /* Adjust height as needed */
  border: none;
}

/* Neon Button Styles */
.neon-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #0f0;
  border: 2px solid #0f0;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5), 0 0 20px rgba(0, 255, 0, 0.3);
}

.neon-button:hover {
  background-color: rgba(0, 255, 0, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.8), 0 0 25px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

/* Black Box Styles */
.black-box {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}