body {
  font-family: "Amaranth", Sans-serif, serif;
  color: #3f3e34;

  margin: 1em;
  font-size: 2em;
}
a {
  color: #4a8eff;
}
#links ul {
  padding: 0;
}
#links ul li {
  list-style-type: none;
  margin: 0.5em;
  display: inline;
}

h2 {
  text-shadow: 10px 10px 7px rgba(0, 0, 0, 0.3);
}

table {
  margin: 0 auto;
}

#downloads th {
  text-align: left;
}
#downloads td,
#downloads th {
  padding: 1em;
}

#downloads .size {
  text-align: right;
}

/*zebra stripes for table #downloads */
#downloads tr:nth-child(odd) {
  background: #eee;
}

#downloads .link a {
  background-color: #4a8eff;
  color: #fff;
  text-decoration: none;
  padding: 0.5em;
  border-radius: 0.25em;
}

.center {
  text-align: center;
}


a:has(#chatcounter) {

  background: none;
  text-decoration: none;

}

#chatcounter {
  background: #eee;
  padding: 0.5em;
  font-size: 0.6em;
  text-decoration: none;
  border: 1px solid #ccc;
  box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.3);
  border-radius: 0.5em;
  color: #4a8eff;
  top:0.25em;
  right:0.25em;
  position: fixed;
  transition: 0.5s;
  transition-timing-function: ease-in-out;
}
.hidden {
  opacity: 0;

}


@media (prefers-color-scheme: dark) {
  body {
    background: #313337;
    color: #e6e2d3;
  }

  a {
    color: #7fb3ff;
  }

  h2 {
    text-shadow: 8px 8px 6px rgba(20, 20, 20, 0.6);
  }

  #downloads tr:nth-child(odd) {
    background: #3b3f46;
  }

  #downloads tr:nth-child(even) {
    background: #343840;
  }

  #downloads .link a {
    background-color: #3f78d1;
    color: #f7f9ff;
  }

  #chatcounter {
    background: #1b1f26;
    border-color: #2a3140;
    box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.6);
    color: #7fb3ff;
  }

  code{
    background: #1b1f26;
  }
}