/* IndieWeb Ballarat: an intentionally old-fashioned website that still behaves on modern browsers. */

html {
  background: #000022 url("assets/stars.gif") repeat;
}

body {
  margin: 0;
  padding: 12px;
  color: #ffffcc;
  background: transparent;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  line-height: 1.35;
}

a { color: #00ffff; }
a:visited { color: #ff66ff; }
a:hover {
  color: #ffff00;
  background: #000080;
}

.skip {
  position: absolute;
  left: -10000px;
  top: auto;
}
.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 999;
  padding: 6px;
  color: #000;
  background: #fff;
}

.page-shell {
  width: 760px;
  max-width: calc(100vw - 24px);
  margin: 0 auto;
  border: 4px ridge #c0c0c0;
  background: #000033;
  box-shadow: 8px 8px 0 #000;
}

.masthead {
  width: 100%;
  border-collapse: collapse;
  background: #000080;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px);
}

.masthead td { padding: 8px; }
.globe-cell { width: 78px; text-align: center; }
.new-cell { width: 58px; text-align: center; }

h1 {
  margin: 0;
  color: #ffff00;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -2px;
  text-align: center;
  text-shadow: 2px 2px #ff00ff, 4px 4px #000;
}

.eyebrow,
.subtitle {
  margin: 2px 0;
  text-align: center;
  font-weight: bold;
}

.eyebrow { color: #00ffff; font-size: 12px; }
.subtitle { color: #ffffff; font-style: italic; }

.ticker {
  display: block;
  padding: 5px 0;
  border-top: 3px ridge #fff;
  border-bottom: 3px ridge #fff;
  color: #000;
  background: #ffff00;
  font-weight: bold;
}

.layout {
  width: 100%;
  border-collapse: collapse;
  padding: 10px;
}

.sidebar {
  width: 178px;
  padding: 10px 0 10px 10px;
}

.gutter { width: 12px; }
.content { padding: 10px 10px 10px 0; }

.winbox {
  margin-bottom: 12px;
  border: 3px outset #c0c0c0;
  color: #000;
  background: #c0c0c0;
}

.winbar {
  padding: 2px 4px;
  color: #fff;
  background: #000080;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: bold;
}

.winbody {
  padding: 7px;
  border-top: 2px inset #fff;
}

.nav a {
  display: block;
  margin: 0 0 6px;
  color: #000080;
  font-weight: bold;
  text-decoration: none;
}
.nav a:visited { color: #000080; }
.nav a:hover { color: #fff; background: #000080; }

.panel {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 3px ridge #c0c0c0;
  color: #ffffcc;
  background: #000044;
}

.panel h2 {
  margin: -10px -12px 10px;
  padding: 4px 7px;
  border-bottom: 2px solid #fff;
  color: #fff;
  background: #800080;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
}

.panel p { margin: 8px 0; }

.construction {
  float: right;
  margin: 0 0 8px 12px;
  padding: 4px;
  border: 2px inset #c0c0c0;
  background: #000;
}

.callout {
  clear: both;
  padding: 8px;
  border: 2px dashed #ffff00;
  color: #ffff00;
  background: #400040;
  text-align: center;
  font-weight: bold;
}

.principles {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
}

.principles td {
  padding: 6px;
  border: 1px solid #00ffff;
  background: #000066;
}

.principles .bullet {
  width: 28px;
  color: #ffff00;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.info-table {
  width: 100%;
  border: 3px ridge #c0c0c0;
  border-collapse: collapse;
  color: #000;
  background: #c0c0c0;
}

.info-table th,
.info-table td {
  padding: 6px;
  border: 2px inset #eee;
  text-align: left;
}

.info-table th {
  width: 90px;
  color: #fff;
  background: #000080;
}

.retro-list {
  list-style: square;
}
.retro-list li::marker { color: #00ffff; }

.contact {
  text-align: center;
}

.email-link {
  font-size: 17px;
  font-weight: bold;
}

.flames {
  display: block;
  max-width: 100%;
  height: 18px;
  margin: -4px auto 10px;
  image-rendering: pixelated;
}

.button-wall {
  padding: 8px;
  border-top: 3px ridge #c0c0c0;
  border-bottom: 3px ridge #c0c0c0;
  background: #000;
  text-align: center;
}

.button-wall img {
  margin: 2px;
  image-rendering: pixelated;
  vertical-align: middle;
}

footer {
  padding: 8px 12px;
  color: #c0c0c0;
  background: #000033;
  text-align: center;
}

.counter {
  display: inline-block;
  padding: 2px 5px;
  border: 3px inset #aaa;
  color: #ff3300;
  background: #000;
  font-family: "Courier New", monospace;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
}

.center { text-align: center; }
.lime { color: #00aa00; }
.tiny { font-size: 12px; }
.micro { font-size: 10px; }

.blink {
  animation: blink 1s steps(1, end) infinite;
}
@keyframes blink {
  50% { visibility: hidden; }
}

img {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .blink { animation: none; }
  marquee { display: none; }
}

@media (max-width: 680px) {
  body { padding: 4px; font-size: 14px; }
  .page-shell { max-width: calc(100vw - 8px); }
  h1 { font-size: 31px; }
  .new-cell { display: none; }
  .layout,
  .layout tbody,
  .layout tr,
  .layout td {
    display: block;
    width: auto;
  }
  .sidebar,
  .content {
    padding: 8px;
  }
  .gutter { display: none !important; }
  .nav {
    text-align: center;
  }
  .nav a {
    display: inline-block;
    margin: 3px;
  }
  .construction {
    float: none;
    width: fit-content;
    margin: 0 auto 8px;
  }
}
