/* Early 2000s Web Design Theme */

body {
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGUlEQVQYlWNgYGD4z4AHMDGQC0YVjiqkTwAABZ0BAfRGpH0AAAAASUVORK5CYII=');
  color: #000000;
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  color: #0000cc;
  font-size: 28px;
  font-weight: bold;
  text-decoration: underline;
  margin: 20px 0 10px;
  text-shadow: 2px 2px #cccccc;
  font-family: "Comic Sans MS", "Trebuchet MS", Verdana, sans-serif;
}

table {
  width: 90%;
  margin: 20px auto;
  border-collapse: collapse;
  background-color: #ffffcc;
  border: 3px ridge #999999;
  box-shadow: 5px 5px 0px #666666;
}

th,
td {
  border: 2px groove #999999;
  padding: 6px 10px;
  text-align: center;
  font-size: 12px;
}

th {
  background-color: #6699cc;
  background-image: linear-gradient(to bottom, #99ccff 0%, #6699cc 50%, #3366cc 100%);
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

tr.highlight {
  background-color: #ffff99 !important;
  border: 2px solid #ff6600;
}

tr.highlight td {
  background-color: #ffff99 !important;
  font-weight: bold;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

td:empty {
  background-color: #e0e0e0;
  background-image: repeating-linear-gradient(
    45deg,
    #e0e0e0,
    #e0e0e0 10px,
    #d0d0d0 10px,
    #d0d0d0 20px
  );
}

/* Farbzuweisungen pro Person */
.lukas {
  background-color: #99ccff !important;
  color: #000066;
  font-weight: bold;
  border: 2px inset #6699cc !important;
}

.pascal {
  background-color: #99ff99 !important;
  color: #006600;
  font-weight: bold;
  border: 2px inset #66cc66 !important;
}

.felix {
  background-color: #ffcc99 !important;
  color: #663300;
  font-weight: bold;
  border: 2px inset #cc9966 !important;
}

caption {
  caption-side: bottom;
  text-align: center;
  font-style: italic;
  margin-top: 10px;
  color: #666666;
  font-size: 11px;
}

/* Abschnitt Wichtige Links */
#links {
  width: 90%;
  margin: 30px auto 40px;
  background-color: #ccffcc;
  padding: 15px;
  border: 3px dotted #009900;
  box-shadow: 5px 5px 0px #666666;
}

#links h2 {
  margin-top: 0;
  text-align: center;
  color: #cc0000;
  font-family: "Comic Sans MS", "Trebuchet MS", Verdana, sans-serif;
  font-size: 22px;
  text-decoration: underline;
  text-shadow: 1px 1px #ffcccc;
}

#links ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

#links li {
  flex: 1 1 200px;
  display: flex;
}

#links a {
  color: #0000ee;
  text-decoration: underline;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  border: 3px outset #cccccc;
  background-color: #c0c0c0;
  background-image: linear-gradient(to bottom, #e0e0e0 0%, #c0c0c0 50%, #a0a0a0 100%);
  font-size: 11px;
  transition: none;
  box-shadow: 2px 2px 0px #666666;
}

#links a:hover {
  color: #ee0000;
  border-style: inset;
  background-image: linear-gradient(to bottom, #a0a0a0 0%, #c0c0c0 50%, #e0e0e0 100%);
  text-decoration: underline;
}

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

#links a:active {
  border-style: inset;
  background-image: linear-gradient(to bottom, #808080 0%, #a0a0a0 100%);
}

/* Retro scrollbar (WebKit only) */
::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

::-webkit-scrollbar-track {
  background: #c0c0c0;
  border: 1px solid #808080;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #e0e0e0 0%, #c0c0c0 50%, #a0a0a0 100%);
  border: 2px outset #cccccc;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #d0d0d0 0%, #b0b0b0 50%, #909090 100%);
}

::-webkit-scrollbar-button {
  background: #c0c0c0;
  border: 2px outset #cccccc;
}
