/* THE PACKET MILL - style.css - optimized for Netscape Navigator 4.0 */

body {
  background-color: #f4ecd8;
  background-image:
    repeating-linear-gradient(0deg, rgba(27,77,62,0.13) 0px, rgba(27,77,62,0.13) 2px, transparent 2px, transparent 26px),
    repeating-linear-gradient(90deg, rgba(92,67,38,0.13) 0px, rgba(92,67,38,0.13) 2px, transparent 2px, transparent 26px);
  color: #2b1d10;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

a:link    { color: #1b4d3e; }
a:visited { color: #5c4326; }
a:active  { color: #b23a1d; }

.page {
  max-width: 800px;
  margin: 12px auto;
  background-color: #fffdf6;
  border: 4px double #1b4d3e;
  padding: 10px 18px 18px 18px;
}

/* ---- banner / title ---- */
.banner {
  text-align: center;
  padding: 6px 0 2px 0;
}
.banner h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 42px;
  font-weight: bold;
  margin: 4px 0 0 0;
  color: #1b4d3e;
  text-shadow: 2px 2px 0 #c9a24b;
  letter-spacing: 1px;
}
.banner .tagline {
  font-family: "Comic Sans MS", cursive, sans-serif;
  font-size: 18px;
  color: #5c4326;
  font-weight: bold;
}
.spin {
  display: inline-block;
  font-size: 34px;
  animation: spin 2.5s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---- rainbow rule (ironic 90s contrast against the flannel) ---- */
hr.rainbow {
  height: 5px;
  border: 0;
  margin: 10px 0;
  background: repeating-linear-gradient(
    90deg,
    red 0 8px, orange 8px 16px, yellow 16px 24px,
    green 24px 32px, blue 32px 40px, violet 40px 48px
  );
}

/* ---- nav bar ---- */
.navbar {
  text-align: center;
  background-color: #3e2723;
  padding: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}
.navbar a {
  color: #c9f2c0 !important;
  text-decoration: none;
  margin: 0 6px;
  border: 2px outset #8d6e63;
  background-color: #3e2723;
  padding: 2px 8px;
  white-space: nowrap;
  display: inline-block;
  margin-bottom: 4px;
}
.navbar a:hover {
  background-color: #c9a24b;
  color: #3e2723 !important;
  border-style: inset;
}

/* ---- marquee announcement ---- */
.announce {
  background-color: #000000;
  color: #39ff14;
  font-family: "Courier New", monospace;
  font-weight: bold;
  padding: 4px;
  border: 2px inset #808080;
  margin: 8px 0;
}

.blink {
  animation: blinker 1s step-start infinite;
  color: #b23a1d;
  font-weight: bold;
}
@keyframes blinker { 50% { opacity: 0; } }

/* ---- section headers ---- */
h2.section {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #1b4d3e;
  color: #ffffff;
  padding: 4px 8px;
  font-size: 20px;
}
h3 { color: #5c4326; font-family: Arial, Helvetica, sans-serif; }

/* ---- toc ---- */
.toc {
  border: 2px groove #8d6e63;
  background-color: #fff6dd;
  padding: 8px 20px;
  margin: 10px 0;
}

/* ---- tables (plans, specs, orders) ---- */
table.retro {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0;
  background-color: #ffffff;
}
table.retro th {
  background-color: #1b4d3e;
  color: #ffffff;
  border: 2px solid #000000;
  padding: 5px;
  font-family: Arial, Helvetica, sans-serif;
}
table.retro td {
  border: 1px solid #000000;
  padding: 5px;
  text-align: center;
}
table.retro tr.drizzle    td { background-color: #eaf3ea; }
table.retro tr.stumptown  td { background-color: #f2e6d8; }
table.retro tr.douglasfir td { background-color: #e4efe0; }
table.retro tr.hood       td { background-color: #fff2cf; }

/* ---- retro 3D button (wood-grain) ---- */
.retro-btn {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 14px;
  background-color: #c9a24b;
  border: 3px outset #e6c88a;
  padding: 6px 14px;
  color: #2b1d10;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.retro-btn:link, .retro-btn:visited { color: #2b1d10 !important; }
.retro-btn:active {
  border-style: inset;
}

/* ---- bar-chart made of blocks (ascii-ish comparison) ---- */
.barrow { font-family: "Courier New", monospace; white-space: pre; }

/* ---- construction / status banner ---- */
.construction {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #000000;
  background: repeating-linear-gradient(45deg, #c9a24b 0 14px, #1b4d3e 14px 28px);
  padding: 8px;
  margin: 12px 0;
  border: 2px solid #000000;
}
.construction span {
  background-color: #ffffff;
  padding: 2px 10px;
  border: 1px solid #000;
}

/* ---- footer ---- */
.footer {
  text-align: center;
  font-size: 12px;
  margin-top: 16px;
  border-top: 2px solid #1b4d3e;
  padding-top: 8px;
}

.counter {
  display: inline-block;
  background-color: #000000;
  color: #39ff14;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 3px;
  padding: 3px 8px;
  border: 2px inset #808080;
}

.webring {
  border: 2px dashed #5c4326;
  background-color: #f2e6d8;
  padding: 6px;
  margin: 10px 0;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.badge-row { text-align: center; margin: 8px 0; }
.badge {
  display: inline-block;
  border: 1px solid #000;
  background-color: #eef5ea;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  padding: 3px 6px;
  margin: 2px;
}

/* ---- mill report status list ---- */
.mill-status {
  font-family: "Courier New", monospace;
  font-size: 16px;
  background-color: #000000;
  color: #39ff14;
  border: 2px inset #808080;
  padding: 10px 14px;
  line-height: 1.6;
}

/* ---- certification table ---- */
table.cert td { text-align: left; }

/* ---- forms ---- */
form.retro-form table.retro td { text-align: left; }
select, input[type=text], input[type=email] {
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  border: 2px inset #808080;
}
fieldset {
  border: 2px groove #8d6e63;
  margin: 10px 0;
  background-color: #fbf7ec;
}
legend {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #1b4d3e;
  padding: 0 6px;
}

/* ---- build-your-packet category grid ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 6px 0;
}
.category-option {
  border: 1px solid #000;
  padding: 6px;
  background-color: #ffffff;
}
.category-option label { cursor: pointer; }
.category-blurb {
  font-family: "Comic Sans MS", cursive, sans-serif;
  font-size: 13px;
  color: #5c4326;
  margin: 2px 0 8px 0;
}
