:root {
  --txt: #c4c7c4;
  --body-bg: #272c31;
  --dark: #000;
  --accent: #42a5f5;
  --font-body: "Consolas", monaco, "Liberation Mono", "Lucida Console", monospace;
}

body {
  font-family: var(--font-body);
  color: var(--txt);
  text-align: center;
  background-color: var(--body-bg);
  margin: 0;
}

#root {
  max-width: 1000px;
  min-height: 100vh;
  margin: 0 auto;
}

header {
  padding: 1.5rem 0;
}

header a {
  color: var(--accent);
  font-size: 2rem;
  font-weight: bold;
}

header a:hover {
  text-decoration: none !important;
}

nav {
  padding-bottom: 1rem;
}

nav a,
footer a {
  padding: 1rem;
}

main {
  padding-bottom: 2.5rem;
}

main p {
  max-width: 70%;
  margin: 0 auto;
}

main ul {
  margin: 0 auto;
  margin-bottom: 2rem;
  max-width: fit-content;
  text-align: left;
}

.blog-entries a {
  padding-top: 1rem;
  display: block;
}

.inline {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1rem;
}

p {
  margin: 1rem;
  font-size: 1.1em;
  line-height: 1.5rem;
}

a {
  color: var(--txt);
  text-decoration: none;
  transition: 300ms;
}

b {
  text-shadow: 0 0 .4rem var(--txt);
}

code {
  background: var(--dark);
  padding: .2rem .3rem;
  border-radius: .3rem;
}

a:hover,
a:active {
  text-decoration: underline !important;
  color: var(--accent);
}
