html {
  font-size: 1.1em;
}

body {
  font-family: monospace;
  background-color: #333333;
  margin: 0;
  color: #dddddd;
  font-size: 1rem;
  line-height: 1.5rem;

  display: flex;
  height: 100%;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1;
}

header {
  width: 100%;
  background-color: #282828;
  border-bottom: 1px dashed #00aa31;
}

a {
  text-decoration: none;
  color: #00dd31;
}

header a {
  font-weight: 800;
}

.container {
  margin: 0 auto;
  max-width: 700px;
  padding: 20px 20px 20px 20px;
}

h1,
h2,
h3 {
  font-weight: 800;
  margin: 1.5rem 0 0.25rem 0;
  font-size: 1rem;
}

/* formatting for `foo` that doesn't interfere with code blocks */
code:not(pre *) {
  background-color: #1f1f1f;
  padding: 0 0.4em 0.2em 0.4em;
  margin: 0 -0.4em -0.2em -0.4em;
  border-radius: 7px;
}

h1::before {
  content: "# ";
}

h2::before {
  content: "## ";
}

h3::before {
  content: "### ";
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

pre {
  padding: 1rem;
  overflow-x: scroll;
}

.prompt {
  font-weight: 800;
  margin-bottom: 1rem;
}

.prompt::before {
  content: "$ ";
}

ul.unstyled {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.unstyled li::before {
  content: "- ";
}

footer {
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #282828;
  border-top: 1px dashed #00aa31;
  text-align: center;
  color: #999999;
}
