/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Media Queries
*/


html {
  font-size: clamp(14px, 2vw, 18px);
  /* Minimum: 16px, Preferred: 2vw, Maximum: 20px */
}
body {
  background-color: black;
  color: #00aa00; /* Classic terminal green */
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  letter-spacing: 0.07rem;
  padding: 20px;
  line-height: 1.28;
}

/* Add CRT scan lines for extra retro feel
  target body::before instead of header::before, if it should be applied to the entire body  */

header {
  position: relative; /* Required for absolute positioning of the pseudo-element */
  overflow: hidden; /* Ensure scan lines don’t overflow */
  display: flex; /* Use flexbox for horizontal layout */
  justify-content: space-between; /* Push nav to left and image to right */
  align-items: top; /* Vertically center both elements */
  background-color: black;
  padding: 10px 20px; /* Add padding as needed */
}

header::before {
  content: "";
  position: absolute; /* Use absolute instead of fixed */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0.1) 50%,
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 2px;
  pointer-events: none;
  z-index: 1; /* Lower z-index to avoid covering content */
}


/* Optional: Add a subtle glow effect to the text */
.terminal-text {
  text-shadow: 0 0 5px #00ff00;
}


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-weight: bold;
}
h1 {
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: 0.04rem;
}
h2 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside;
}
ol {
  list-style: decimal inside;
}
ol,
ul {
  padding-left: 0;
  margin-top: 0;
}
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 0.5rem 0 1rem 3rem;
}
li {
  margin-bottom: 1rem;
}
blockquote {
 /* Base styling */
  color: #00ccff; /* Electric blue */
  font-family: 'Courier New', monospace;
  font-style: italic;
  padding: 10px 20px;
  margin: 20px 0;
  position: relative;
  border-left: 3px solid #00ccff; /* Green accent border */

  /* Retro scan lines background */
  background: linear-gradient(
    rgba(0, 20, 40, 0.3),
    rgba(0, 20, 40, 0.3)
  );
  background-size: 100% 2px;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(0, 20, 40, 0.1) 1px,
    rgba(0, 20, 40, 0.1) 2px
  );}
img {
  width: 100%;
  height: auto;
}

a {
  color: #00aa00; /* Match the terminal text color */
  text-decoration: underline;
  text-decoration-style: dotted;
}

a:hover {
  color: #00ff00; /* Slightly brighter green on hover */
  text-decoration: none; /* Optional: Remove underline on hover */
}

hr {
  border: 0;
  height: 1px;
  background: #333; /* Dark color for contrast */
  background-image: linear-gradient(to right, #f8f8f8, #333, #f8f8f8); /* Optional: Gradient effect */
  margin: 10px 0; /* Add space above and below */
}

.container {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}


.iframe-wrapper {
  width: 100%;
  height: 1200px;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}



nav ul {
  list-style: none;
}

nav li {
  margin-bottom: 0.4em;
}

nav li::before {
  content: "> "; /* Use '>', '$', or 'C:\' as the caret */
  color: #00ff00;
  font-weight: bold;
  margin-right: 5px;
}

/* Style for the active navigation element */
nav li.active::before {
  animation: blink 1s infinite;
}

/* Style submenu items */
nav ul ul li {
  padding: 2px 0;
  border-bottom: 1px dotted #00ff00; /* Dotted divider */
}



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