:root {
  --standard-border: 1px solid light-dark(black, white);
  --a-not-visited: light-dark(#07a, #00a2e7);
}

body {
  color: light-dark(black, white);
  background-color: light-dark(white, #121212);
  font-family: sans-serif, serif, monospace;
  width: 940px;
  margin-left: auto;
  margin-right: auto;
  line-height: 175%;
  letter-spacing: 0.5px;
}

h1 {
  text-align: center;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

a {
  color: var(--a-not-visited);
}

a:visited {
  color: light-dark(#941352, #ca1a70);
}

nav > a:visited {
  color: var(--a-not-visited);
}

article:not(:first-child) {
  border-top: var(--standard-border);
}

article > section:not(:first-of-type) {
  border-top: 1px dashed light-dark(black, white);
}

article > section > section:not(:first-of-type) {
  border-top: 1px dotted light-dark(black, white)
}

/* TODO make table data look much better */
td {
  padding: 0px 4px;
  border: var(--standard-border);
}

code {
  border: var(--standard-border);
  border-radius: 5px;
  padding: 2px 8px 2px 8px;
  font-size: larger;
  background-color: #2c2c2c;
  color: white;
}

.win-cmd {
  color: #79c0ff;
}

.win-flag {
  color: #ff7b72;
}

.win-string {
  color: #a5d6ff;
}

.arch {
  padding-bottom: 22px;
}



#editing-metadata table tr td:first-child {
  width: 40%;
  text-align: center;
}

#editing-metadata table tr td:last-child {
  padding: 12px;
  /* display: block;
  justify-content: center;
  align-items: center;
  height: 100%; */
}

#editing-metadata table tr td img {
  width: 100%;
}

thead td {
  text-align: center;
}

table {
  width: 100%;
}

td {
  padding: 4px 8px;
}

footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 12px;
  border-top: var(--standard-border);
  padding: 12px 0px;
}

@media only screen and (max-width: 940px) {
  body {
    width: auto;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  #editing-metadata table tr td:last-child {
    padding: 4px;
  }
}