html {
  min-width: 320px;
  background: #000020;
}

body {
  margin: 0;
  color: #ffff00;
  background-color: #000020;
  background-image:
    radial-gradient(circle at 12px 8px, #ffffff 0 1px, transparent 1.5px),
    radial-gradient(circle at 38px 31px, #00ffff 0 1px, transparent 1.5px),
    radial-gradient(circle at 70px 18px, #ff66ff 0 1px, transparent 1.5px),
    radial-gradient(circle at 22px 66px, #ffffff 0 1px, transparent 1.5px);
  background-size: 86px 78px;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}

a {
  color: #00ffff;
  text-decoration: underline;
}

a:visited {
  color: #ff66ff;
}

a:hover,
a:focus {
  color: #ffffff;
  background: #0000aa;
}

.news-wire {
  width: 100%;
  padding: 5px 0;
  display: block;
  color: #000000;
  background: #00ff00;
  border-top: 3px ridge #ffffff;
  border-bottom: 3px ridge #ffffff;
  font-family: "Courier New", monospace;
  font-weight: bold;
}

.page-table {
  width: 760px;
  max-width: calc(100% - 16px);
  margin: 12px auto 30px;
  color: #ffff00;
  background: #000000;
  border: 6px ridge #c0c0c0;
  box-shadow: 0 0 0 2px #000080, 8px 8px 0 rgba(255, 0, 255, 0.35);
}

.masthead {
  padding: 10px 12px 5px;
  text-align: center;
  background: #000040;
  border-bottom: 4px double #00ffff;
}

.tiny,
.small {
  font-size: 11px;
}

.tiny {
  color: #c0c0c0;
  font-family: "Courier New", monospace;
  text-align: left;
}

h1 {
  margin: 8px 0 0;
  font-family: "Comic Sans MS", "Arial Black", sans-serif;
  font-size: 58px;
  letter-spacing: -5px;
  line-height: 0.95;
  text-shadow: 3px 3px 0 #0000ff, 6px 6px 0 #ff00ff;
}

h1 span {
  display: inline-block;
  transform: rotate(-2deg);
}

h1 span:nth-child(even) {
  transform: rotate(3deg) translateY(2px);
}

.c1 { color: #ff0000; }
.c2 { color: #ff9900; }
.c3 { color: #ffff00; }
.c4 { color: #00ff00; }
.c5 { color: #00ffff; }
.c6 { color: #ff66ff; }

.tagline {
  margin: 7px 0;
  color: #ffffff;
  font-family: "Comic Sans MS", cursive;
  font-size: 18px;
  font-style: italic;
  font-weight: bold;
}

.rule-stars {
  overflow: hidden;
  color: #00ffff;
  font-size: 19px;
  letter-spacing: 7px;
  white-space: nowrap;
}

.nav-cell {
  padding: 7px 5px;
  color: #ffffff;
  background: #0000aa;
  border-top: 2px solid #6699ff;
  border-bottom: 3px ridge #c0c0c0;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

.nav-cell a {
  color: #ffffff;
}

.sidebar {
  width: 180px;
  padding: 8px;
  color: #ffffff;
  background: #330066;
  border-right: 4px ridge #c0c0c0;
}

.side-box {
  margin-bottom: 10px;
  padding: 5px;
  background: #000033;
  border: 3px outset #808080;
}

.side-title {
  margin: -5px -5px 6px;
  padding: 3px;
  color: #ffffff;
  background: #0000aa;
  border-bottom: 2px solid #00ffff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

.link-list {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
}

.link-list li {
  margin: 7px 0;
}

.new {
  color: #ff0000;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  animation: blink 0.75s steps(1, end) infinite;
}

.center {
  text-align: center;
}

.online {
  margin: 5px;
  color: #00ff00;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.digital-clock,
.hit-counter {
  margin: 4px auto;
  padding: 3px 5px;
  display: inline-block;
  color: #00ff00;
  background: #000000;
  border: 2px inset #808080;
  font-family: "Courier New", monospace;
  font-weight: bold;
  letter-spacing: 2px;
}

.ie-badge {
  padding: 5px 3px;
  color: #ffffff;
  background: linear-gradient(135deg, #0066cc, #000066);
  border: 3px outset #c0c0c0;
  font-family: Arial, sans-serif;
  font-size: 8px;
  text-align: center;
}

.ie-badge span,
.ie-badge strong,
.ie-badge small {
  display: block;
}

.ie-badge span {
  font-family: "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
}

.ie-badge strong {
  color: #ffff00;
  font-size: 25px;
  line-height: 1;
}

.main-content {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.86);
}

.welcome-box {
  padding: 7px 12px;
  color: #ffffff;
  background: #000066;
  border: 4px groove #00ffff;
}

.welcome {
  margin: 2px 0 8px;
  color: #ff66ff;
  font-family: "Comic Sans MS", cursive;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.construction-strip {
  margin: 14px 0;
  padding: 6px;
  overflow: hidden;
  color: #000000;
  background: repeating-linear-gradient(-45deg, #ffff00 0 12px, #000000 12px 24px);
  border: 3px outset #ffff00;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.construction-strip span {
  padding: 2px 8px;
  background: #ffff00;
}

h2 {
  margin: 16px 0 8px;
  color: #00ffff;
  font-family: "Comic Sans MS", cursive;
  font-size: 24px;
  text-align: center;
  text-decoration: underline;
}

.portrait-section {
  text-align: center;
}

.webmaster-photo {
  width: 300px;
  max-width: 90%;
  height: auto;
  padding: 5px;
  background: #ffff00;
  border: 8px ridge #c0c0c0;
}

.photo-caption {
  color: #ffffff;
  font-family: "Comic Sans MS", cursive;
  font-size: 14px;
}

.photo-caption b {
  color: #ff66ff;
  font-size: 24px;
}

.warning-copy {
  padding: 7px;
  color: #000000;
  background: #ffff00;
  border: 3px dashed #ff0000;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

hr {
  height: 5px;
  margin: 18px 0;
  background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  border: 0;
}

.blink {
  animation: blink 0.9s steps(1, end) infinite;
}

@keyframes blink {
  50% { visibility: hidden; }
}

.update-table {
  width: 100%;
  color: #ffffff;
  background: #808080;
  border: 3px outset #c0c0c0;
  font-size: 13px;
}

.update-table th {
  width: 55px;
  color: #ffff00;
  background: #000080;
  font-family: "Courier New", monospace;
  text-align: center;
}

.update-table td {
  background: #000033;
}

.teen-zone {
  margin-top: 18px;
  padding: 10px;
  color: #ffffff;
  background: #330033;
  border: 4px double #ff66ff;
  text-align: center;
}

.big-links a {
  margin: 6px 0;
  padding: 5px;
  display: block;
  color: #ffff00;
  background: #000080;
  border: 2px outset #6699ff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

.music-panel {
  margin: 16px 0 4px;
  padding: 8px;
  color: #000000;
  background: #c0c0c0;
  border: 4px outset #ffffff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
}

.music-panel span,
.music-panel small {
  display: block;
}

.music-panel button {
  margin: 5px;
  padding: 4px 10px;
  color: #000000;
  background: #c0c0c0;
  border: 3px outset #ffffff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
}

.music-panel button:active {
  border-style: inset;
}

.footer-cell {
  padding: 12px;
  color: #ffffff;
  background: #000040;
  border-top: 4px ridge #c0c0c0;
  font-size: 12px;
  text-align: center;
}

.webring {
  width: 330px;
  max-width: 90%;
  margin: 0 auto 12px;
  padding: 7px;
  color: #000000;
  background: #00ffff;
  border: 4px outset #ffffff;
  font-family: Arial, sans-serif;
}

.webring a {
  color: #0000aa;
}

.hit-counter {
  color: #ff0000;
  font-size: 20px;
  text-shadow: 0 0 4px #ff0000;
}

.award-row {
  margin: 12px 0;
}

.award {
  width: 82px;
  min-height: 38px;
  margin: 2px;
  padding: 4px;
  display: inline-block;
  vertical-align: middle;
  border: 3px outset #c0c0c0;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.1;
}

.award-cool { color: #ffff00; background: #0000aa; }
.award-java { color: #00ff00; background: #000000; }
.award-y2k { color: #000000; background: #ff66ff; }

.last-updated {
  color: #00ff00;
  font-family: "Courier New", monospace;
}

.copyright {
  color: #808080;
  font-size: 10px;
}

.noscript {
  width: 600px;
  max-width: 90%;
  margin: 10px auto;
  padding: 6px;
  color: #000000;
  background: #ffff00;
  border: 3px outset #ffffff;
  text-align: center;
}

.cursor-star {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  color: #ffff00;
  font-size: 14px;
  text-shadow: 0 0 3px #ff00ff;
  animation: star-fall 0.65s linear forwards;
}

@keyframes star-fall {
  to {
    opacity: 0;
    transform: translateY(22px) rotate(90deg) scale(0.3);
  }
}

@media (max-width: 650px) {
  h1 {
    font-size: 37px;
    letter-spacing: -4px;
  }

  .layout-row,
  .layout-row > td {
    width: auto;
    display: block;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 4px ridge #c0c0c0;
  }

  .side-box,
  .ie-badge {
    width: calc(50% - 18px);
    margin: 4px;
    display: inline-block;
    vertical-align: top;
  }

  .main-content {
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blink,
  .new,
  .cursor-star {
    animation: none;
  }
}
