/* Terminal CRT Theme CSS */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: auto;
  min-height: 100vh;
}

body {
  background-color: black;
  color: #00FF00; /* Green phosphor text */
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Create scanline effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  animation: flicker 0.15s infinite;
  z-index: 1;
}

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

.terminal {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  border: 3px dashed #00FF00;
  background-color: black;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5), inset 0 0 20px rgba(0, 255, 0, 0.1);
}

.terminal-header, .terminal-footer {
  margin-bottom: 20px;
}

h1, h2, h3 {
  color: #00FF00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
  margin: 15px 0 10px 0;
  font-weight: bold;
  text-transform: uppercase;
}

h1 {
  font-size: 24px;
  border-bottom: 2px dashed #00FF00;
  padding-bottom: 10px;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 14px;
  margin-left: 20px;
  color: rgba(0, 255, 0, 0.8);
}

p {
  margin: 10px 0;
  color: #00FF00;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

hr {
  border: none;
  border-top: 1px dashed #00FF00;
  margin: 15px 0;
  opacity: 0.7;
}

.prompt {
  color: #00FF00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
  font-weight: bold;
  margin: 5px 0;
}

.command {
  margin: 20px 0;
  padding: 15px;
  border: 1px dashed #00FF00;
  background-color: rgba(0, 51, 0, 0.3);
}

.command-name {
  color: #00FF00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #00FF00;
}

section {
  margin: 10px 0 10px 20px;
  padding: 10px;
  border-left: 2px solid #00FF00;
  padding-left: 15px;
}

/* Blinking cursor */
@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background-color: #00FF00;
  margin-left: 5px;
  animation: blink 1s infinite;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* Responsive design */
@media (max-width: 768px) {
  .terminal {
    margin: 10px;
    padding: 15px;
    border-width: 2px;
  }
  
  h1 {
    font-size: 18px;
  }
  
  h2 {
    font-size: 14px;
  }
  
  h3 {
    font-size: 12px;
  }
  
  body {
    font-size: 12px;
  }
}
@keyframes retro-flicker {
    0%   { opacity: 1; }
    5%   { opacity: 0.9; }
    10%  { opacity: 1; }
    15%  { opacity: 0.9; }
    20%  { opacity: 1; }
    25%  { opacity: 0.9; }
    100% { opacity: 1; }
}

/* Any additional elements would go here */
