/* The whole site's styling: readable defaults and nothing more. */
body {
  margin: 0 auto;
  max-width: 800px;
  line-height: 1.6;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  color: #454545;
  padding: 0 1em 2em;
}
h1,
h2,
h3 {
  line-height: 1.2;
}
a {
  color: inherit;
}
nav {
  display: flex;
  justify-content: space-between;
  margin: 1.5em 0;
}

table {
  border-collapse: collapse;
}
th,
td {
  border-bottom: 1px solid #ddd;
  padding: 0.4em 0.6em;
  text-align: left;
  vertical-align: top;
}

/* Phones: each table row stacks, with its column name above each value. */
@media (max-width: 600px) {
  table, tbody, tr, td {
    display: block;
  }
  thead {
    display: none;
  }
  tr {
    border-bottom: 1px solid #ddd;
    padding: 0.5em 0;
  }
  td {
    border: 0;
    padding: 0.2em 0;
  }
  td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8em;
    color: #888;
  }
}
