@font-face {
  font-family: "Inter";
  src: url("Inter-Regular.woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("Inter-Bold.woff2");
  font-weight: 800;
}

:root {
  --txt: #e2dfdb;
  --body-bg: #222426;
  --accent: #9a9184;
  --border: #3f4447;
  --font-body: "Inter", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

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

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

header {
  padding: 1.5rem 0 2.5rem 0;
  font-weight: bold;
  font-size: 2rem;
}

nav,
footer {
  margin-bottom: 1.7rem;
}

nav a {
  border: 1px solid var(--border);
  border-radius: .3rem;
  margin: .7rem;
  padding: .4rem 1.2rem;
  text-decoration: none;
  box-shadow: 0px 2px 3px -2px rgba(0,0,0,.3);
  user-select: none;
  cursor: pointer;
}

nav a:hover {
  color: var(--txt);
  border: 1px solid #51585c;
}

main {
  padding-bottom: 2.5rem;
  overflow: hidden;
}

main p {
  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;
}

.author {
  float: left;
  max-width: 400px;
}

.date {
  overflow: hidden;
  text-align: right;
  margin-bottom: 2rem;
}

.inline {
  text-decoration: underline;
  color: #06c;
}

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

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

a:hover,
a:active {
  color: var(--accent);
}

code {
  padding: .2rem .3rem;
  border-radius: .3rem;
  border: 1px solid var(--border);
  margin: .3rem;
}

