@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital@0;1&display=swap");
html {
  font-family: "Barlow", sans-serif;
  line-height: 1.5;
  font-weight: 300;
}

html {
  font-size: 2.5vw;
}

@media (max-width: 767px) {
  html {
    font-size: 4vw;
  }
}
@media (min-width: 768px) {
  html {
    font-size: 1.7vw;
  }
}
h1,
h2,
h3 {
  font-family: "EB Garamond", serif;
  font-weight: 400;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.2rem;
}

article {
  hyphens: auto;
}
article time {
  display: inline;
}
article h2,
article h3 {
  font-family: Barlow, sans-serif;
}
article h1,
article h2,
article h3,
article p {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

hr {
  width: 100%;
  border-color: hsla(0deg, 0%, 0%, 0.25);
  border-style: dotted;
  border-width: 1px;
  margin-top: 4rem;
}

.a-more::before {
  content: ">> ";
  font-size: 0.75rem;
  opacity: 0.4;
}

figure {
  margin: 0;
}

aside,
.article footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
aside h3,
.article footer h3 {
  font-family: "EB Garamond", serif;
  font-size: 0.9rem;
}
aside ul,
.article footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
aside li,
.article footer li {
  font-size: 0.8rem;
}

a time {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.5);
}

html {
  background: rgba(0, 0, 0, 0.5);
}

body {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

a:link,
a:visited,
a:hover,
a:active {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

body {
  width: 92vw;
  max-width: 35rem;
  margin: 1rem auto;
  padding: 1rem;
}

main article > ul:first-child,
main article footer ul {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

main article > ul:first-child {
  margin-top: 2rem;
}

body > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
body > header > h2 {
  font-size: 1.2rem;
}
body > header > h2 + * {
  font-size: 0.8rem;
  font-family: "EB Garamond", serif;
  font-weight: 400;
  color: hsla(0deg, 0%, 0%, 0.15);
}
body > header > h2 small {
  font-size: 0.5rem;
}
body > header > nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

img {
  display: inline-block;
  max-width: calc(100% + 2rem);
  height: auto;
  margin-left: -1rem;
  margin-right: -1rem;
}

/**
 * okaidia theme for JavaScript, CSS and HTML
 * Loosely based on Monokai textmate theme by http://www.monokai.nl/
 * @author ocodia
 */
code[class*=language-],
pre[class*=language-] {
  color: #f8f8f2;
  background: none;
  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  font-size: 1em;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* Code blocks */
pre[class*=language-] {
  padding: 1em;
  margin: 0.5em 0;
  overflow: auto;
  border-radius: 0.3em;
}

:not(pre) > code[class*=language-],
pre[class*=language-] {
  background: #272822;
}

/* Inline code */
:not(pre) > code[class*=language-] {
  padding: 0.1em;
  border-radius: 0.3em;
  white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: slategray;
}

.token.punctuation {
  color: #f8f8f2;
}

.token.namespace {
  opacity: 0.7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: #f92672;
}

.token.boolean,
.token.number {
  color: #ae81ff;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #a6e22e;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
  color: #f8f8f2;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  color: #e6db74;
}

.token.keyword {
  color: #66d9ef;
}

.token.regex,
.token.important {
  color: #fd971f;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

pre,
pre[class*=language-] {
  margin-left: -1rem;
  margin-right: -1rem;
  padding: 1rem;
  width: 100%;
  overflow: auto;
}

code {
  color: hsla(0deg, 0%, 0%, 0.5);
}

pre code,
code[class*=language-],
pre[class*=language-] {
  font-size: 0.6rem;
}

main nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
main nav li {
  min-height: 5rem;
  flex-basis: 25%;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 0.5rem;
  box-shadow: 0.125rem 0.1rem 0.25rem hsla(0deg, 0%, 0%, 0.25);
}
main nav time {
  display: block;
}
main nav a:link {
  display: block;
  width: 100%;
  height: 100%;
}
main nav li {
  transition-property: all;
  transition-duration: 50ms;
  transition-timing-function: ease-in-out;
}
main nav li:hover {
  background-color: hsla(0deg, 0%, 0%, 0.15);
}

footer address {
  font-size: 0.6rem;
  margin-top: 2rem;
}