*,
::after,
::before,
::backdrop,
::file-selector-button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0 solid;
}

body {
  margin: 0;
  padding: 0;
  color: #000;
  background: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
p,
a {
  margin: 0;
  padding: 0;
}

#main-wrapper {
  flex-grow: 1;
}

a {
  color: #000;
  text-decoration: underline;
}

a:hover {
  background: #000;
  color: #fff;
}

a:visited {
  color: #000;
}

ol,
ul,
li {
  margin-left: 1rem;
}

.navigation {
  display: flex;
  width: 100%;
  border-bottom: 2px solid #000;
  background: #f5f5f5;
}

.navigation a {
  color: #000;
  display: block;
  font-size: 16px;
  font-weight: 700;
  padding: 1rem 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-right: 1px solid #000;
}

.navigation a:last-child {
  border-right: none;
}

.navigation a:hover {
  background: #000;
  color: #fff;
}

.navigation.collection {
  margin-bottom: 40px;
  flex-direction: column;
}

.navigation.collection h3 {
  margin: 0 0 12px 0;
  font-size: 1.3em;
  font-weight: 700;
}

.navigation.collection > ul {
  padding: 0;
  list-style: none;
}

.navigation.collection > ul > li {
  padding: 0 0 0 1rem;
}

.navigation.collection > ul > li.selected {
  font-weight: 900;
}

.navigation.collection a {
  text-decoration: none;
  font-weight: 700;
}

.navigation.collection a:hover {
  background: #000;
  color: #fff;
  padding: 2px 4px;
}

code {
  background: #f5f5f5;
  border: 1px solid #000;
  padding: 2px 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

pre {
  background: #000;
  color: #0f0;
  border: 3px solid #000;
  padding: 20px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  max-width: 100%;
  white-space: pre-wrap;
  word-wrap: break-word;
}

pre code {
  background: transparent;
  border: none;
  color: #0f0;
  padding: 0;
}

ul,
ol {
  line-height: 1.8;
}

strong {
  font-weight: 900;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid #000;
  margin: 20px 0;
}

th {
  font-weight: 900;
  background: #000;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

td,
th {
  border: 1px solid #000;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}
