/* a minimalist set of CSS resets */

/* default to border-box */
html {
  box-sizing: border-box;
  font-size: 14px;

  color: white;
  background: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.7)),
              url("./feketefold.webp");
  background-position: center;

  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* adjust typography defaults */
body {
  margin: 1rem;
  font-family: sans-serif;
  line-height: 1.5;
}

#servers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;

  font-size: 1rem;
}

.bold {
  font-weight: bold;
}

.code {
  font-family: monospace;
  white-space: pre;
}

.players {
  color: gray;
}

.red, .c-c {
  color: rgb(255, 85, 85);
}

.dark_red, .c-4 {
  color: rgb(170, 0, 0);
}

.aqua, .c-b {
  color: rgb(85, 255, 255);
}

.dark_aqua, .c-3 {
  color: rgb(0, 170, 170);
}

.yellow, .c-e {
  color: rgb(255, 255, 85);
}

.gold, .c-6 {
  color: rgb(255, 170, 0);
}

.light_purple, .c-d {
  color: rgb(255, 85, 255);
}

.dark_purple, .c-5 {
  color: rgb(170, 0, 170);
}

.blue, .c-9 {
  color: rgb(85, 85, 255);
}

.dark_blue, .c-1 {
  color: rgb(0, 0, 170);
}

.green, .c-a {
  color: rgb(85, 255, 85);
}

.dark_green, .c-2 {
  color: rgb(0, 170, 0);
}

.white, .c-f {
  color: rgb(255, 255, 255);
}

.gray, .c-7 {
  color: rgb(170, 170, 170);
}

.dark_gray, .c-8 {
  color: rgb(85, 85, 85);
}

.black, .c-0 {
  color: rgb(0, 0, 0);
}

.c-r {
  color: unset;
}

.f-l {
  font-weight: bold;
}

.f-o {
  font-style: italic;
}

.f-m {
  text-decoration: line-through;
}

.f-n {
  text-decoration: underline;
}

.name {
  display: flex;
  justify-content: space-between;
  gap: 0.3rem;
}

.server-entry {
  display: flex;
  font-family: "Minecraftia", monospace;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;

  white-space: nowrap;
}

.center {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ip {
  color: gray;
}

.motd {
  white-space: pre;
}

.server-entry img {
  aspect-ratio: 1 / 1;
  height: 4.5rem;
}