body {
  background-color: #000000;
  color: #00ff00;
  font-family: 'Inconsolata', monospace;
  position: relative;
  overflow-y: scroll;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 255, 0, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Scroll-bar styles */
body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background-color: #000000;
}

body::-webkit-scrollbar-thumb {
  background-color: #00ff00;
  border-radius: 6px;
  border: 2px solid #000000;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 0;
}

.header-card {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.header {
  text-align: center;
  text-shadow: 0 0 10px #00ff00;
  position: relative;
}

.header h3 {
  animation: flashing 1s infinite;
}

@keyframes flashing {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.menu {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 1rem;
}

.menu a {
  color: #00ff00;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
}

.menu a:hover,
.menu a.active {
  text-shadow: 0 0 10px;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #00ff00;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
  transform: scaleX(1);
}

/* Different colors for active menu items */
.menu a.active[data-section="dossier"] {
  color: #409eff;
  text-shadow: 0 0 10px #409eff;
}

.menu a.active[data-section="training"] {
  color: #ff9e40;
  text-shadow: 0 0 10px #ff9e40;
}

.menu a.active[data-section="specialties"] {
  color: #40ff9e;
  text-shadow: 0 0 10px #40ff9e;
}

.menu a.active[data-section="missions"] {
  color: #9e40ff;
  text-shadow: 0 0 10px #9e40ff;
}

.menu a.active[data-section="clearance"] {
  color: #ff409e;
  text-shadow: 0 0 10px #ff409e;
}

.options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.options a {
  color: #00ff00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.options a:hover {
  color: #00ff00;
  text-shadow: 0 0 10px #00ff00;
}

.bio {
  white-space: pre-wrap;
  text-align: center;
  margin-top: 2rem;
  max-width: 800px;
}

.bio-line {
  background-color: rgba(0, 255, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  margin-bottom: 0.5rem;
  width: 60%; /* Consistent width for all bio lines */
  margin-left: auto;
  margin-right: auto;
  transition: box-shadow 0.3s ease;
  text-align: left;
}

.bio-line:hover {
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
  animation: strobe 0.5s infinite;
}

@keyframes strobe {
  0% {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 0, 1);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
  }
}

.footer {
  margin-top: 2rem;
  text-align: center;
  color: #00ff00;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

/* Bio line colors */
.bio.blue .bio-line {
  color: #409eff;
  box-shadow: 0 0 10px rgba(64, 158, 255, 0.5);
}

.bio.orange .bio-line {
  color: #ff9e40;
  box-shadow: 0 0 10px rgba(255, 158, 64, 0.5);
}

.bio.lightgreen .bio-line {
  color: #40ff9e;
  box-shadow: 0 0 10px rgba(64, 255, 158, 0.5);
}

.bio.purple .bio-line {
  color: #9e40ff;
  box-shadow: 0 0 10px rgba(158, 64, 255, 0.5);
}

.bio.pink .bio-line {
  color: #ff409e;
  box-shadow: 0 0 10px rgba(255, 64, 158, 0.5);
}

body.flash {
  background-color: white;
  transition: background-color 0.1s ease;
}

/* UFO and Shooting Star Styles */
#ufo-container, #shooting-star-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.ufo {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: url('assets/ufo.png');
  background-size: contain;
  background-repeat: no-repeat;
  animation: ufo-animation 5s linear infinite;
}

@keyframes ufo-animation {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100vh);
  }
}


@keyframes fly {
  0% {
    transform: translateX(-100vw) translateY(0);
  }
  100% {
    transform: translateX(100vw) translateY(100vh);
  }
}

.shooting-star {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(white, transparent);
  animation: shoot linear infinite;
}

@keyframes shoot {
  0% {
    transform: translateX(0) translateY(0) rotate(135deg);
    opacity: 1;
  }
  100% {
    transform: translateX(100vw) translateY(100vh) rotate(135deg);
    opacity: 0;
  }
}