html {
  color: #323a42;
  background-color: #efe5d7;
  font-family: 'Palatino Linotype', Lora, serif;
  max-width: 70ch;
  margin: 1em auto;
  line-height: 1.2;
  font-size: 1.25em;
  height: calc(100vh - 2em);
  position: relative;
}
*::selection {
  background: #eab77555;
}
header {
  margin-bottom: 1em;
}
nav {
  display: flex;
  margin-left: -0.25em;
}
nav a {
  font-size: 0.85em;
  left: 0;
  padding: 0.25em 0.5em;
  margin: -0.25em;
}
body {
  margin: 0;
  margin-left: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #efe5d7;
}
main {
  flex-grow: 1;
  margin-right: 1rem;
  display: flex;
  flex-direction: column;
}
a {
  color: #323a42;
  text-decoration: underline;
  position: relative;
  margin: -0.25em;
  padding: 0.25em;
  border-radius: 2px;
}
a:hover, a:focus {
  color: #6d747a;
  outline: 0;
}
a:focus-visible {
  outline: 1px dashed #984624BB;
}
sup, sub {
  line-height: 0;
}
.socials p {
  font-size: 16px;
  margin: 0 0 0.5em 22px;
}
.socials .social-link {
  display: flex;
  align-items: flex-end;
  line-height: 1;
  margin-right: -1em;
}
.socials .social-link a {
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.25em;
  left: -0.25em;
  text-decoration: none;
}
.socials .social-link a::before {
  content: '⇒ ';
}
.line {
  display: inline-block;
  background-color: #323a42;
  height: 2px;
  position: relative;
}
.socials .line {
  flex-grow: 2;
  bottom: 12px;
}
.line.stop-0 {
  background-color: #984624;
}
.line.stop-1 {
  background-color: #ad5f1e;
}
.line.stop-2 {
  background-color: #c59506;
}
.line.stop-3 {
  background-color: #c8b500;
}
.line.stop-4 {
  background-color: #8ea530;
}
.line.stop-5 {
  background-color: #4b7b52;
}
.line.stop-6 {
  background-color: #426153;
}
.socials p a {
  padding: 0 2px;
  margin: 0 -2px;
  /* change this */
  left: 0;
  text-decoration: underline;
}
.socials p a:before {
  content: initial;
}
h1 {
  font-size: 2em;
  margin: 0 -0.5em 0.5em 0;
  border-bottom: 2px solid #323a42;
  font-family: Optima, 'Palatino Linotype', Lora, sans-serif;
  font-weight: normal;
}
h2, h3, ul, ol, p, main img {
  margin: 0 0 1em 0;
}
p {
  margin: 0 0 20px 0;
}
hr {
  margin: 0 0 20px 0;
  border: none;
  border-bottom: 3px double #323a42;
}
main img {
  border: 1px solid #323a42;
  border-radius: 2px;
  padding: 2px;
  margin: 0 auto 1em auto;
  max-width: 100%;
  height: auto;
}
img.no-border {
  border: none;
}
footer {
  margin-right: 1em;
  margin-top: 1em;
}
footer img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  user-select: none;
}
.rss-link {
  display: inline-block;
  font-size: 0.9em;
  margin-bottom: 1em;
  margin-left: auto;
}
.recipe {
  font-variant-numeric: oldstyle-nums;
  display: flex;
  flex-direction: column;
}
.recipe ul {
  list-style: none;
  padding-left: 30px;
}
.recipe ol li::marker {
  font-variant-numeric: oldstyle-nums;
}
.recipe li {
  margin-bottom: 0.3em;
}
a.journal-link {
  display: grid;
  text-decoration: none;
  grid-template-columns: auto auto 1fr;
  margin-right: -1em;
  padding-right: 0;
  border: 1px solid #323a42;
  box-shadow: 1px 1px #323a42;
  border-radius: 3px;
}
a.journal-link:hover, a.journal-link:focus {
  outline: 0;
  border-color: #6d747a;
  box-shadow: 2px 2px #6d747a;
}
a.journal-link h3 {
  margin: 0 0.5em 0 0;
}
a.journal-link p {
  grid-column: 1 / span 2;
  margin: 0.5em 5px 0.5em 0;
}
a.journal-link .line {
  grid-column: span 2;
  align-self: end;
  bottom: 6px;
}
a.journal-link time {
  grid-column: span 2;
}
time {
  font-size: 0.9em;
  color: #4E5458;
  font-style: italic;
  font-variant-numeric: oldstyle-nums;
}
article time {
  display: block;
  margin-bottom: 1em;
}
a:hover time, a:focus time {
  color: #6d747a;
}
a.journal-link time + p {
  margin-top: 5px;
}
a.journal-link + a.journal-link {
  margin-top: 1em;
}
article .note {
  font-style: italic;
  color: #4E5458;
}
article .note a {
  color: #4E5458;
}
article figure {
  margin: 0 0 1em 0;
}
article figure img {
  margin: 0;
}
article figure figcaption, article figure figcaption a {
  font-size: 0.9rem;
  color: #4E5458;
  font-style: italic;
  font-variant-numeric: oldstyle-nums;
}
article figure figcaption i {
  font-style: normal;
}
.page-nav {
  margin-top: 1em;
  display: flex;
  justify-content: flex-end;
}
.page-nav a, .page-nav span {
  font-size: 0.9em;
  padding: 0.25em;
  line-height: 1;
  margin: 0 0.25em;
  text-decoration: none;
  font-variant-numeric: oldstyle-nums;
}
.page-nav .current {
  font-weight: bold;
  cursor: default;
}
.footnote {
  font-size: 0.8em;
}
blockquote.highlight {
  padding: 0.5em;
  border: 1px solid #eacda6;
  background-color: #f9f4ed;
  box-shadow: 2px 2px #bea98e;
  border-radius: 3px;
}
blockquote h1,
blockquote h2,
blockquote h3,
blockquote h4,
blockquote h5,
blockquote h6,
blockquote p {
  margin-top: 0;
  margin-bottom: 0.5em;
}
blockquote {
  margin-left: 30px;
}
hr {
  border: 1px solid #323a42;
  margin-left: 20px;
  width: 20%;
}
.music-box {
  margin: 0 0 1em 0;
  display: flex;
  align-items: center;
  width: fit-content;
  padding: 2px 4px 2px 2px;
  border-radius: 3px;
  border: 1px solid #323a42;
  user-select: none;
  cursor: pointer;
  box-shadow: 1px 1px #323a42;
}
.music-box:hover, .music-box:focus {
  outline: 0;
  color: #6d747a;
  border-color: #6d747a;
  box-shadow: 2px 2px #6d747a;
}
.music-box svg {
  margin-right: 2px;
}
.music-box.playing svg.play {
  display: none;
}
.music-box.playing svg.pause {
  display: block;
}
.music-box svg.pause {
  display: none;
}
@media only screen and (max-width: 700px) {
  a.journal-link {
    border-right: none;
    box-shadow: 0 1px #323a42;
    border-radius: 3px 0 0 3px;
  }
  a.journal-link:hover, a.journal-link:focus {
    box-shadow: 0 2px #6d747a;
  }

}
