/* Café 't Moortgat - old skool stijl, best bekeken in Netscape Navigator 4.0 op 800x600 */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #f4efe6 url(/static/bg.jpg) repeat;
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold; text-align: center; color: #000;
  padding: 0 10px 60px;
  -webkit-text-size-adjust: 100%;
}
a:link { color: #03F; text-decoration: none; }
a:visited { color: #090; text-decoration: none; }
a:hover { color: #FFF; text-decoration: underline; background: #03F; }
.wrap { max-width: 720px; margin: 0 auto; }

/* Titel */
h1.moortgat {
  font-family: Verdana, Geneva, sans-serif; font-size: clamp(30px, 9vw, 54px);
  margin: 18px 0 2px; color: #000; letter-spacing: -1px;
}
h1.moortgat a, h1.moortgat a:visited { color: #000; }
h1.moortgat a:hover { background: none; color: #03F; }
.wordart {
  font-family: Impact, "Arial Black", sans-serif; font-weight: normal;
  font-size: clamp(30px, 10vw, 58px); line-height: 1; margin: 6px 0 10px;
  color: #ffde00; -webkit-text-stroke: 2px #c00000; paint-order: stroke fill;
  text-shadow: 3px 3px 0 #c00000, 6px 6px 0 #000;
  transform: perspective(300px) rotateX(14deg) skewX(-6deg);
  word-break: break-word;
}
.rainbow {
  background: linear-gradient(90deg, #f00, #f80, #fd0, #0b0, #08f, #a0f, #f00);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rb 3s linear infinite;
}
@keyframes rb { to { background-position: 200% 0; } }
.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { visibility: hidden; } }

marquee, .marquee {
  display: block; background: #000; color: #0f0; font-family: "Courier New", monospace;
  padding: 4px 0; border: 3px ridge #c0c0c0; margin: 8px 0 14px; font-size: 15px;
}

/* Kaders */
.box {
  background: rgba(255, 255, 255, .88); border: 3px ridge #c0c0c0;
  padding: 12px; margin: 14px 0; text-align: center;
}
.box h4, .box h3 { margin: 4px 0 8px; }
hr { border: 0; border-top: 3px groove #c0c0c0; margin: 16px 0; }

/* Win98 knoppen & invoer */
button, .btn, input, select { font: bold 15px Tahoma, Geneva, sans-serif; }
button, .btn {
  background: #c0c0c0; color: #000; border: 2px outset #fff; padding: 6px 14px; cursor: pointer;
  box-shadow: 1px 1px 0 #000; display: inline-block;
}
button:active, .btn:active { border-style: inset; box-shadow: none; }
button.danger { color: #c00000; }
input[type=text], input[type=search], input[type=password], select {
  border: 2px inset #fff; background: #fff; padding: 6px 8px; color: #000; max-width: 100%;
}
input[type=checkbox] { width: 18px; height: 18px; vertical-align: middle; }

/* Teller (hit counter) */
.lcd {
  display: inline-block; background: #000; color: #f00; font-family: "Courier New", monospace;
  font-size: 30px; padding: 2px 10px; border: 3px inset #808080; letter-spacing: 4px;
  text-shadow: 0 0 6px #f00;
}

/* Win98-voortgangsbalk */
.progress {
  height: 24px; border: 2px inset #fff; background: #fff; padding: 2px; margin: 10px auto 0; max-width: 420px;
}
.progress i {
  display: block; height: 100%; width: 0; transition: width .4s;
  background: repeating-linear-gradient(90deg, #000080 0 12px, transparent 12px 14px);
}

/* Excel-bierkaart */
table.kaart {
  width: 100%; border-collapse: collapse; background: #fff; font-family: Arial, sans-serif;
  font-weight: normal; font-size: 15px; text-align: left; margin: 0 0 18px;
}
table.kaart th, table.kaart td { border: 1px solid #c0c0c0; padding: 7px 6px; }
table.kaart caption {
  background: aqua; font: 18px "Times New Roman", serif; font-weight: bold; text-align: left;
  padding: 4px 8px; border: 1px solid #000; border-bottom: 0;
}
table.kaart caption small { float: right; font-family: "Courier New", monospace; font-size: 15px; }
table.kaart tbody tr { cursor: pointer; }
table.kaart tbody tr:hover { background: #ffffcc; }
table.kaart tr.on { background: #ffff00; }
table.kaart tr.on:hover { background: #ffef5a; }
table.kaart td.vink {
  width: 38px; text-align: center; font: bold 22px "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
  color: #c00000;
}
table.kaart td.vink span {
  display: inline-block; width: 22px; height: 22px; line-height: 20px; border: 2px inset #fff; background: #fff;
}
table.kaart td.soort { color: #555; font-style: italic; }
table.kaart td.pct { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.kaart .when { display: block; font-size: 11px; color: #c00000; font-family: "Comic Sans MS", "Chalkboard SE", cursive; }

/* Dialoogvenster */
.win {
  background: #c0c0c0; border: 2px outset #fff; box-shadow: 2px 2px 0 #000; text-align: left;
  font-weight: normal; margin: 14px 0;
}
.win .title {
  background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: bold; padding: 3px 6px;
  display: flex; justify-content: space-between; align-items: center;
}
.win .title .x { background: #c0c0c0; color: #000; border: 2px outset #fff; width: 20px; height: 18px; line-height: 12px; text-align: center; font-size: 12px; }
.win .body { padding: 12px; }

.toast { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 160%); transition: transform .25s; z-index: 20; min-width: 260px; max-width: calc(100% - 32px); margin: 0; }
.toast.show { transform: translate(-50%, 0); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.filters input[type=search] { flex: 1 1 200px; }
.share { display: flex; gap: 6px; margin-top: 10px; }
.share input { flex: 1; min-width: 0; font-family: "Courier New", monospace; font-size: 13px; }
.err { color: #c00000; }
.small { font-size: 12px; font-weight: normal; }
.construction {
  display: inline-block; padding: 4px 10px; color: #000; font-size: 13px;
  background: repeating-linear-gradient(45deg, #ffd800 0 12px, #000 12px 24px);
}
.construction span { background: #ffd800; padding: 0 6px; }
footer { font-size: 12px; font-weight: normal; margin-top: 30px; }

@media (max-width: 520px) {
  table.kaart td.soort { display: none; }
  table.kaart { font-size: 14px; }
}

/* Rad van Bier */
canvas.rad { width: min(100%, 340px); aspect-ratio: 1; display: block; margin: 0 auto; filter: drop-shadow(3px 4px 0 rgba(0,0,0,.35)); }
button.spin { font-size: 20px; padding: 10px 22px; background: #ffde00; border-color: #fff8b0; color: #c00000; }
button.spin:disabled { color: #808080; background: #c0c0c0; cursor: not-allowed; }

/* Sterren */
.stars { display: block; margin-top: 2px; white-space: nowrap; }
.stars button {
  background: none; border: 0; box-shadow: none; padding: 0 2px; margin: 0; cursor: pointer;
  font: 24px/1 "Arial Black", Arial, sans-serif; color: #b8a27a; -webkit-text-stroke: 1px #7a5c00;
}
.stars button.on { color: #ffd800; text-shadow: 1px 1px 0 #c00000, 0 0 6px #ffef5a; }
.stars button:hover, .stars button:focus-visible { transform: scale(1.3) rotate(-10deg); outline: none; }
.stars button:active { border: 0; }
.avg {
  font: bold 12px Tahoma, Geneva, sans-serif; color: #7a5c00; white-space: nowrap; margin-left: 4px;
  background: none; border: 0; box-shadow: none; padding: 0; cursor: help;
  text-decoration: underline dotted #b8a27a; text-underline-offset: 2px;
}
.avg:hover, .avg[aria-expanded=true] { color: #c00000; text-decoration-color: #c00000; }
.avg:active { border: 0; }
.who { display: block; font-size: 11px; color: #555; font-style: italic; margin-top: 1px; }
.who-n { font-style: normal; color: #333; }
.avgstars { color: #e0a800; -webkit-text-stroke: .5px #7a5c00; letter-spacing: 1px; }
