
/* General Layout */
body {
  margin: 0;
  font-family: 'Courier New', monospace;
  background-color: #222;
  color: #ffbf00;
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  background-image: url("images/retroback.png");
  background-repeat: repeat;
  background-size: 300px auto; /* Adjust size to balance subtlety and visibility */
  background-attachment: fixed;
  background-position: top left;
}

/* Header */
header {
  background-color: #004d4d;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #66cccc;
}

header h1 {
  margin: 0;
  font-size: 36px;
  color: #ffd700;
}

h2 {
  color: #00FF00;
  font-family: 'Courier New', monospace;
}



/* Navigation Bar */
nav {
  background-color: #333;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
}

nav a {
  color: #00ffff;
  text-decoration: none;
  margin: 10px;
  font-weight: bold;
  font-size: 16px;
}

nav a:hover {
  color: #ffd700;
}

/* Main Content */
main {
  padding: 30px;
  max-width: 900px;
  margin: auto;
  flex: 1;
}

section {
  margin-bottom: 40px;
}

/* Award Image Gallery */
.award-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.award-images img {
  max-width: 200px;
  height: auto;
  border: 2px solid #66cccc;
  border-radius: 4px;
  background-color: #004d4d;
  padding: 5px;
}

/* Command Reference Blocks (optional reuse) */
.command-block {
  display: none;
  border: 1px solid #66cccc;
  padding: 15px;
  margin: 20px 0;
  background-color: #2c8080;
  border-radius: 6px;
}

.command-title {
  color: #ffd700;
  font-size: 20px;
  margin-bottom: 10px;
}

.label {
  color: #ffe4b5;
  font-weight: bold;
  margin-top: 10px;
}

.syntax {
  background-color: #004d4d;
  color: #00ffff;
  padding: 5px;
  border-radius: 4px;
}

.description {
  margin-top: 5px;
}

.examples {
  background-color: #003333;
  color: #ccffcc;
  padding: 10px;
  border-radius: 4px;
  white-space: pre-wrap;
}

/* Footer */
footer {
  background-color: #004d4d;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  border-top: 2px solid #66cccc;
  color: #ccc;
}

.ref-links {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.ref-links li {
  margin: 10px 0;
  padding-left: 25px;
  position: relative;
}

.ref-links li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #ffd700; /* Gold bullet */
  font-size: 18px;
}

.ref-links a {
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

.ref-links a:hover {
  color: #ffd700;
}

.software-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background-color: #003333;
  color: #ccffcc;
  font-family: 'Courier New', monospace;
  border: 2px solid #66cccc; /* Outer border */
}

.software-table th,
.software-table td {
  border: 1px solid #66cccc; /* Cell borders */
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.software-table th {
  background-color: #004d4d;
  color: #ffd700;
  font-size: 18px;
}

.software-table a {
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
}

.software-table a:hover {
  color: #ffd700;
}

.ref-links a {
  color: #00ffff; /* Bright cyan */
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

.ref-links a:hover {
  color: #00ff99; /* Neon green */
}

.project-block {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #003333;
  border: 2px solid #66cccc;
  border-radius: 6px;
  color: #ffd700;
}

.project-block h2 {
  color: #00ff99;
  font-size: 24px;
  margin-bottom: 10px;
}

.project-block a {
  color: #00ffff;
  font-weight: bold;
  text-decoration: none;
}

.project-block a:hover {
  color: #00ff99;
}

#project-select {
  font-size: 16px;
  padding: 6px;
  margin-bottom: 20px;
  background-color: #003333;
  color: #ffd700;
  border: 2px solid #66cccc;
  border-radius: 4px;
}

.project-block {
  padding: 20px;
  background-color: #002222;
  border: 2px solid #66cccc;
  border-radius: 6px;
  color: #ffd700;
}

#project-select {
  font-size: 16px;
  padding: 6px;
  margin-bottom: 20px;
  background-color: #003333;
  color: #ffd700;
  border: 2px solid #66cccc;
  border-radius: 4px;
}

.project-block {
  padding: 20px;
  background-color: #002222;
  border: 2px solid #66cccc;
  border-radius: 6px;
  color: #ffd700;
}

.project-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.project-img {
  max-width: 300px;
  border: 2px solid #66cccc;
  border-radius: 4px;
  background-color: #004d4d;
  padding: 5px;
}

.ascii-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.ascii-table th,
.ascii-table td {
  border: 1px solid #ccc;
  padding: 0.5em;
  text-align: left;
  font-family: monospace;
}

.ascii-table th {
  background-color: transparent;
}

.ascii-intro {
  color: #00FF00; /* Monochrome green */
  font-family: monospace;
}

.ascii-table td {
  color: white;
}

.freq-intro {
  color: #00FF00; /* Monochrome green */
  font-family: monospace;
}

.freq-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.freq-table th {
  background-color: transparent;
  color: inherit;
  font-weight: bold;
  font-family: monospace;
}

.freq-table td {
  color: white;
  font-family: monospace;
  padding: 0.5em;
  border: 1px solid #ccc;
}

.freq-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.freq-table th,
.freq-table td {
  border: 1px solid #ccc;
  padding: 0.5em;
  font-family: monospace;
}

.freq-table th {
  background-color: transparent;
  color: inherit;
  font-weight: bold;
}

.freq-table td {
  color: white;
}

.charset-intro {
  color: #00FF00; /* Monochrome green */
  font-family: monospace;
}

.charset-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.charset-table th,
.charset-table td {
  border: 1px solid #ccc;
  padding: 0.5em;
  font-family: monospace;
}

.charset-table th {
  background-color: transparent;
  color: inherit;
  font-weight: bold;
}

.charset-table td {
  color: white;
}

.color-intro {
  color: #00FF00; /* Monochrome green */
  font-family: monospace;
}

.color-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.color-table th,
.color-table td {
  border: 1px solid #ccc;
  padding: 0.5em;
  font-family: monospace;
}

.color-table th {
  background-color: transparent;
  color: inherit;
  font-weight: bold;
}

.color-table td {
  color: white;
}

.pinout-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Optional: limits image size on large screens */
  display: block;
  margin: 0 auto;
  border: 1px solid #ccc;
}

.pinout-image-block {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem;
}

.pinout-description a {
  color: #00FFFF; /* Bright cyan */
  font-family: monospace;
  text-decoration: underline;
}

.pinout-description a:visited {
  color: #FFFF00; /* Bright yellow */
}

.pinout-description a:hover {
  color: #00FF00; /* Monochrome green on hover */
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.gallery-block {
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.gallery-image {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.gallery-caption {
  color: #00FF00;
  font-family: monospace;
  margin-top: 0.5rem;
}

.gallery-viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.image-block {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.gallery-image {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.gallery-caption {
  color: #00FF00;
  font-family: monospace;
  margin-top: 0.5rem;
}

.nav-btn {
  font-size: 2rem;
  background-color: transparent;
  color: #00FFFF;
  border: none;
  cursor: pointer;
  font-family: monospace;
}

.nav-btn:hover {
  color: #FFFF00;
}

.game-entry {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
    }
    .game-entry img {
      width: 150px;
      height: auto;
      margin-right: 20px;
      border: 2px solid #ccc;
      border-radius: 4px;
    }
    .game-entry a:link {
      font-size: 1.2em;
      font-weight: bold;
      color: cyan;
      text-decoration: none;
    }
    .game-entry a:visited {
      color: #00ff00; /* Monochrome green */
    }
    .game-entry a:hover {
      color: #00ffff; /* Bright cyan hover */
      text-decoration: underline;
    }

    .game-entry a:link {
  font-size: 1.2em;
  font-weight: bold;
  color: cyan;
  text-decoration: none;
}

.game-entry a:visited {
  color: #00ff00; /* Monochrome green */
  text-decoration: none;
}

.game-entry a:hover,
.game-entry a:link:hover,
.game-entry a:visited:hover {
  color: #00ffff; /* Bright cyan hover */
  text-decoration: underline;
}