body {
  font-family: "Times New Roman", Times, serif;
  background-color: #7eacd1;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.18) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.18) 75%, rgba(255,255,255,0.18)),
    linear-gradient(45deg, rgba(255,255,255,0.18) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.18) 75%, rgba(255,255,255,0.18));
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  color: #000000;
  margin: 0;
}

header {
  text-align: center;
  padding: 20px 12px;
  background: #ffffcc;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #666666;
  border-bottom: 3px solid #666666;
  margin: 16px auto 8px auto;
  width: 90%;
  max-width: 1000px;
}

h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 42px;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
  color: #cc0000;
  text-shadow: 2px 2px 0 #ffff00;
}

h2,
h3 {
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 0;
  color: #ec95fd;
}

.tagline {
  color: #660066;
  font-style: italic;
  font-weight: bold;
  margin: 0;
}

nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px;
  background: #ff99ff;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #666666;
  border-bottom: 3px solid #666666;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 16px auto;
}

nav a {
  display: inline-block;
  padding: 6px 10px;
  background: #ffff99;
  color: #0000ee;
  text-decoration: underline;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #666666;
  border-bottom: 2px solid #666666;
}

nav a:visited {
  color: #551a8b;
}

nav a:hover {
  color: #ff0000;
  background: #ffffff;
}

.hero {
  text-align: center;
  padding: 20px 16px;
  max-width: 700px;
  margin: 0 auto 20px auto;
  background: #ccffcc;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #666666;
  border-bottom: 3px solid #666666;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 30px;
}

.card {
  display: block;
  background: #ffffff;
  padding: 16px;
  text-decoration: none;
  color: #000000;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #666666;
  border-bottom: 3px solid #666666;
}

.card h3 {
  margin-bottom: 10px;
  color: #0000ee;
  text-decoration: underline;
}

.card p {
  margin: 0;
}

.card:visited h3 {
  color: #551a8b;
}

.card:hover {
  background: #ffffcc;
}

.card:hover h3 {
  color: #ff0000;
}

footer {
  text-align: center;
  padding: 18px;
  color: #000000;
  background: #ffffcc;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-right: 3px solid #666666;
  border-bottom: 3px solid #666666;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 20px auto;
}

a {
  color: #0000ee;
}

a:visited {
  color: #551a8b;
}

a:hover {
  color: #ff0000;
}

img {
  max-width: 100%;
  height: auto;
}

/* Optional utility classes for peak GeoCities energy */
.blink {
  animation: blinker 1s step-start infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.rainbow-text {
  color: #ff00ff;
  text-shadow:
    1px 1px 0 #ff0000,
    2px 2px 0 #ffff00,
    3px 3px 0 #00ccff;
}

.construction {
  background: #000000;
  color: #ffff00;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  padding: 8px;
  margin: 12px auto;
  width: 90%;
  max-width: 1000px;
  border: 3px dashed #ffff00;
}

.center-link {
    text-align: center;
}

.center-link a {
    display: inline-block;
    padding: 6px 14px;
    background: #c0c0c0;
    vertical-align: middle;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #555555;
    border-right: 2px solid #555555;
    text-decoration: none;
    color: black;
}

.about-top {
    text-align: center;
    margin: 30px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap; /* prevents stacking */
}

.about-top img {
    max-width: 100%;
    height: auto;
}

.about-frame {
    display: inline-block;
    padding: 8px;
    background: #c0c0c0;
    border-top: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
    border-bottom: 3px solid #555555;
    border-right: 3px solid #555555;
}

.flame {
    width: 8vw;
    max-width: 32px;
    height: auto;
    vertical-align: middle;
    margin: 0 12px;
}

.portrait {
    width: 320px;
    max-width: 90%;
    height: auto;
    vertical-align: middle;
    border: 2px inset #999;
}