:root {
  --color-green-dark: #4d804a;
  --color-green: #579053;
  --color-black: #1a1e1a;
  --color-forest: #2b4125;
  --color-leaf: #99a48c;
  --color-text: #c8cec1;
  --color-orange: #ff905a;
  --color-code: #111311;
  --color-white: #fafff5;
  --color-subheading: #96aa7e;
}

body {
  background-color: var(--color-black);
  margin: 0;
  font-family: "Inconsolata", sans-serif;
  color: var(--color-text);
}
body a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

p a {
  color: var(--color-orange);
  transition: all 200ms ease-in-out;
  border-bottom: 1px dotted var(--color-orange);
  font-weight: 600;
}
p a:hover {
  border-bottom: 1px solid var(--color-orange);
  box-shadow: 0 -1px 0px var(--color-orange) inset;
}

.wrapper {
  display: flex;
}

nav {
  display: flex;
  padding: 0 4rem;
  flex-direction: column
}
nav a {
  display: flex;
  justify-content: center;
  flex-direction: column;
  transition: all 200ms ease-in-out;
  padding: 0.5rem 0.25rem;
}
nav a:hover, nav a.active {
  box-shadow: 0px -4px 0px var(--color-orange) inset;
}
nav .lead {
  padding: 0;
  font-size: 2rem;
  margin: 3rem 3rem 1.25rem 0;
}

.container {
  margin: 0 5% 30px 5%;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.container .header {
  font-size: 2.5rem;
  flex-basis: 100%;
  padding: 3rem 0 1rem 0;
}

.container p,
.container ul {
  max-width: 75ch;
  line-height: 1.6;
  font-size: 1.25rem;
  margin: 2rem 0;
}
article p:first-child {
  margin-top: 1rem;
}
.container h3 + p {
  margin-top: 1rem;
}
.container h4 + p {
  margin-top: 0rem;
}
article.post h3 {
  margin: 1.5rem 0 0 0;
  color: var(--color-subheading);
  font-size: 1.5rem;
}

footer {
  text-align: center;
  color: var(--color-leaf);
}
footer .links {
  padding: 20px;
  background-color: #2b412b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
footer .links a {
  color: #fff;
  border: none;
}
footer .links a:hover {
  box-shadow: 0 -1px 0px #fff inset;
}

.row {
  display: flex;
  flex-direction: column;
}
.row.vertical {
}
.row .header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.row .header ~ p {
  margin: 0 0 1.5rem 0;
  font-size: 1.375rem;
}
.row p {
  flex: 1 0 auto;
}

.article-footer {
  display: flex;
  flex-direction: column;
  margin: 3rem 0 2rem 0;
}
.article-footer p {
  margin: 0;
}

.post-summary,
.thing-summary {
  display: flex;
  flex-direction: column;
  margin: 1rem 0;
}
.thing-summary {
  margin: 2.5rem 0;
}

.post-summary p,
.thing-summary p {
  margin: 0;
}

.post-summary .metadata,
.post-summary p.metadata.small {
  margin: 0.5rem 0;
}

.post-summary h3 a,
.thing-summary h3 a {
  padding-bottom: 0.25rem;
  border-bottom: 2px dotted var(--color-orange);
}

span.metadata {
  display: inline-block;
  float: right;
}

.metadata {
  color: var(--color-leaf);
}

.small,
.post-summary p.small {
  font-size: 1rem;
}

.hidden {
  display: none;
}


.button {
  display: block;
  text-align: center;
  padding: 15px;
  margin: 10px 0;
  border-radius: 2px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  background-color: var(--color-green-dark);
  color: #fff;
  transition: all 200ms ease-in-out;
}
.button:hover {
  background-color: var(--color-green);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

.highlight {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-forest);
  margin: 1.5rem 0 1.5rem -1rem;
  background-color: var(--color-code) !important;
  color: var(--color-green-dark);
  max-width: 48rem;
}

code {
  background-color: var(--color-code);
  font-weight: 600;
  border-radius: 0.5rem;
  border: 1px solid var(--color-forest);
  padding: 0.375rem;
  font-family: "Inconsolata", monospace;
  font-size: 1.125rem;
}

pre code {
  background-color: transparent;
  border: none;
  padding: 0;
  font-weight: 400;
}

.profile {
  margin: 3rem 0 0 10rem;
}
.profile-image {
  border-radius: 50%;
  max-width: 16rem;
  border: 1rem solid var(--color-forest);
  box-shadow: 4px 4px 1rem var(--color-code);
}

.flex-row {
  display: flex;
  gap: 6rem;
}

h1 {
  margin: 0;
  font-weight: 400;
  padding: 0;
  color: var(--color-white);
  font-size: 2.5rem;
}

h2 {
  font-weight: 400;
  margin: 3.5rem 0 1rem -1rem;
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: 0.125rem;
  color: var(--color-subheading);
  border-bottom: 4px solid var(--color-forest);
  max-width: 48rem;
  padding: 0 0 0.5rem 1rem;
}

h3 {
  display: inline-block;
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: var(--color-white);
}

h4 {
  display: inline-block;
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: var(--color-subheading);
}

li::marker {
  color: var(--color-green);
}

.profile .header {
  padding: 0;
  margin: 1rem 0 0.5rem 0;
}

.icon {
  width: 1.25rem;
}

a .icon {
  color: var(--color-orange);
}

.page-links {
  margin: 1rem 0;
}
.page-links a {
  font-size: 1.125rem;
  font-weight: 600;
  border-bottom: 0.125rem dotted var(--color-orange);
  padding-bottom: 0.375rem;
  display: flex;
  align-items: center;
  transition: all 200ms ease-in-out;
  margin-bottom: 1.5rem;
}
.page-links a:hover {
  box-shadow: 0 -4px 0px var(--color-orange) inset;
  border-bottom: 0.125rem dotted var(--color-black);
}
.page-links a svg {
  width: 1.25rem;
  color: var(--color-orange);
  margin-right: 0.75rem;
}
