html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans","Helvetica Neue",sans-serif;
  font-size: 16px;
}

/* Values were calculated based on the Golden Ration for Typography.
 * source - https://pearsonified.com/2011/12/golden-ratio-typography.php
 * base font size (f) = 16px
 * line height (l) = 1.7
 * line width = (l * f) ^ 2
 * max width = line width + padding left + padding right
 */
body {
  line-height: 1.7;
  max-width: 48.2rem;
  margin: 5vh auto;
  padding: 0 1rem;
}

h1 a {
  color: #8a5a32;
  font-size: 1.5rem;
  font-weight: normal;
  letter-spacing: 0.1rem;
  text-decoration: none;
}

h2 {
  font-size: 1.7rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.14rem;
}

time {
  color: #595959;
}

pre,
blockquote {
  background-color: rgba(241, 236, 229, 0.34);
  padding: 1rem;
  overflow: auto;
}

pre {
  line-height: 1.5;
}

code {
  font-family: Menlo, Monaco, "Roboto Mono", "Courier New", Courier, monospace;
}

p > code {
  background-color: rgba(241, 236, 229, 0.34);
  padding: 0.2rem;
}

blockquote {
  margin: 0;
  padding: 1rem 2rem;
}

figure {
  margin: 1rem 0;
}

figure > img {
  width: 100%;
}

/* home */
.home.content {
  max-width: 32.5rem;
  margin: 8vh auto;
}

.profile-pic {
  margin: 0 auto;
  max-width: 400px;
}

.profile-pic img {
  width: 100%;
}

.blurb {
  font-size: 1.2rem;
}

.blurb h2 {
  color: #8a5a32;
  text-align: center;
}

/* archive */
.posts ul {
  list-style: none;
  padding-left: 0;
}

.posts ul li {
  border-bottom: 1px dotted #bfbfbf;
  display: flex;
  flex-flow: column-reverse wrap;
  justify-content: flex-start;
  margin: 0.5rem 0;
  padding: 0.5rem 0;
}

.posts ul li:first-of-type {
  margin-top: 0;
}

.posts ul li:last-of-type {
  border-bottom: 0;
}

.posts ul a {
  text-decoration: none;
}

.posts ul time {
  font-size: 0.8rem;
}
