/* === General === */
body {
  font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
  background: linear-gradient(135deg, #ffccff, #ccffff);
  color: #000;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-attachment: fixed;
  text-align: center;
}

/* === Header === */
header {
  background: linear-gradient(to right, #00ccff, #ff66cc);
  color: white;
  padding: 1rem 0.5rem;
  border-bottom: 4px double #000;
  text-shadow: 2px 2px 0 #000;
}

header h1 {
  margin: 0.3em 0;
  font-size: 2em;
  letter-spacing: 1px;
}

/* === Navigation === */
nav {
  margin-top: 0.5em;
}

nav a {
  color: #fff;
  text-decoration: none;
  background: #000;
  padding: 0.3em 0.7em;
  border-radius: 4px;
  margin: 0 0.3em;
  box-shadow: 2px 2px 0 #333;
  transition: all 0.2s ease-in-out;
}

nav a:hover {
  background: yellow;
  color: #000;
  transform: scale(1.1);
}

/* === Main Content === */
main {
  background: rgba(255, 255, 255, 0.85);
  border: 3px ridge #000;
  margin: 1rem auto;
  padding: 2rem;
  max-width: 800px;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

h2 {
  background: linear-gradient(to right, #ffcc00, #ff6699);
  color: #000;
  padding: 0.3em;
  border: 2px groove #000;
  text-transform: uppercase;
}

a {
  color: #0000ee;
  text-decoration: underline;
}

a:hover {
  color: #ff0000;
}

pre {
  background: #ffffcc;
  border: 2px dashed #000;
  padding: 0.5em;
  font-family: "Courier New", monospace;
  overflow-x: auto;
}

/* === Footer === */
footer {
  background: #000;
  color: #0f0;
  border-top: 4px double #0f0;
  padding: 1rem;
  font-family: "Courier New", monospace;
}

/* === Retro Blink Animation === */
.blink {
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

/* === Marquee === */
marquee {
  color: #ff00ff;
  font-weight: bold;
  font-size: 1.2em;
}

/* === Responsive === */
@media (max-width: 600px) {
  body {
    font-size: 90%;
  }
  main {
    padding: 1rem;
  }
}
