/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button,
input,
select {
  margin: 0;
}

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img,
video {
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

@font-face {
  font-family: "Plex-Mono-Light";
  src: url("/fonts/IBMPlexMono-Light.woff2");
}
@font-face {
  font-family: "Plex-Mono-Medium";
  src: url("/fonts/IBMPlexMono-Medium.woff2");
}
@font-face {
  font-family: "Plex-Sans-Medium";
  src: url("/fonts/IBMPlexSans-Medium.woff2");
}
@font-face {
  font-family: "h3";
  font-family: "Plex-Sans-SemiBold";
  src: url("/fonts/IBMPlexSans-SemiBold.woff2");
}
@font-face {
  font-family: "Plex-Sans-Regular";
  src: url("/fonts/IBMPlexSans-Regular.woff2");
}
@font-face {
  font-family: "Plex-Serif-Regular";
  src: url("/fonts/IBMPlexSerif-Regular.woff2");
}
@font-face {
  font-family: "Plex-Serif-Medium";
  src: url("/fonts/IBMPlexSerif-Medium.woff2");
}
@font-face {
  font-family: "Plex-Serif-Bold";
  src: url("/fonts/IBMPlexSerif-Bold.woff2");
}
@font-face {
  font-family: "Plex-Serif-Light";
  src: url("/fonts/IBMPlexSerif-Light.woff2");
}
.no-word-wrap {
  word-wrap: initial;
}

h1 {
  font-family: "Plex-sans-Regular";
  font-size: 3rem;
  line-height: 1.3;
  letter-spacing: 0.2px;
  margin-bottom: 2rem;
  color: var(--color-accent);
}
h1.inverted {
  color: var(--color-background);
}
@media (max-width: 1000px) {
  h1 {
    word-wrap: break-word;
    font-size: 2.5rem;
    line-height: 1.1;
  }
}

.subtitle {
  font-family: "Plex-Sans-Regular";
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.2px;
  margin-bottom: 4rem;
  color: var(--color-accent);
}
.subtitle.inverted {
  color: var(--color-background);
}
@media (max-width: 1000px) {
  .subtitle {
    word-wrap: break-word;
    font-size: 1.1rem;
    line-height: 1.8;
  }
}

h2 {
  font-family: "Plex-Sans-Medium";
  font-size: 2.7rem;
  line-height: 3rem;
  letter-spacing: 0px;
  color: var(--color-accent);
}
h2.inverted {
  color: var(--color-background);
}
@media (max-width: 1000px) {
  h2 {
    word-wrap: break-word;
    font-size: 2.2rem;
    line-height: 2.8rem;
  }
}

h3 {
  font-family: "Plex-Sans-SemiBold";
  font-size: 1.8rem;
  line-height: 2.3rem;
  letter-spacing: 0.1px;
  color: var(--color-accent);
}
h3.inverted {
  color: var(--color-background);
}
@media (max-width: 1000px) {
  h3 {
    word-wrap: break-word;
    font-size: 1.3rem;
    line-height: 2.1rem;
  }
}

body {
  font-family: "Plex-Sans-Regular";
  font-size: 1.25rem;
  line-height: 2.5rem;
  letter-spacing: 0.3px;
  color: var(--color-primary);
}
@media (max-width: 1000px) {
  body {
    word-wrap: break-word;
    font-size: 1.1rem;
    line-height: 1.5rem;
    letter-spacing: 0.16px;
  }
}

p.inverted {
  color: var(--color-background);
}
p.accented {
  color: var(--color-accent);
}
@media (max-width: 1000px) {
  p {
    word-wrap: break-word;
  }
}

.small {
  font-family: "Plex-Mono-Medium";
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.1px;
  color: var(--color-accent);
}
.small.inverted {
  color: var(--color-background);
}
@media (max-width: 1000px) {
  .small {
    word-wrap: break-word;
    font-size: 0.9rem;
  }
}

.footer {
  color: var(--color-accent);
}

.menu-items {
  font-size: 1rem;
  font-family: "Plex-Mono-Medium";
}

.btn {
  font-family: "Plex-Sans-Medium";
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.1px;
  text-transform: uppercase;
  color: var(--color-accent);
}
.btn.inverted {
  color: var(--color-background);
}
@media (max-width: 1000px) {
  .btn {
    word-wrap: break-word;
  }
}

header {
  position: relative;
  width: 100%;
  background-color: var(--color-background);
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}
@media (max-width: 1000px) {
  header {
    display: block;
    padding-top: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    width: 100%;
    max-width: 500px;
  }
}
header .logo-size {
  width: 3rem;
}
header .logo-and-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header.show-nav nav {
  width: 100%;
  display: block;
  background-color: var(--color-background);
}
header.show-nav nav ul {
  display: flex;
  flex-wrap: wrap;
  line-height: 1rem;
}
header button#nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  mask: url("/images/menu.svg");
  mask-size: cover;
  background: var(--color-accent);
  padding: 0;
  cursor: pointer;
  border: none;
}
@media (max-width: 1000px) {
  header button#nav-toggle {
    display: block;
  }
}
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
}
header nav ul {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1000px) {
  header nav ul {
    align-items: flex-end;
    width: 100%;
  }
}
header nav ul li {
  margin-right: 2rem;
}
header nav ul li:last-child {
  margin-right: 0;
}
@media (max-width: 1000px) {
  header nav ul li {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}
header nav ul li a {
  cursor: pointer;
  margin: 0;
  text-decoration: none;
  color: var(--color-accent);
}
header nav ul li a.active {
  text-decoration: underline;
}
header nav ul li p {
  cursor: pointer;
}

section#intro {
  padding-bottom: 4rem;
  max-width: 60%;
}

div#latest-articles {
  padding-bottom: 4rem;
  background: var(--color-background);
  justify-content: space-between;
}
@media (max-width: 1000px) {
  div#latest-articles {
    flex-direction: column;
  }
}

footer {
  background-color: var(--color-background);
  padding: 2rem 8rem;
}
@media (max-width: 1000px) {
  footer {
    padding: 4rem 2rem;
  }
}
footer a {
  color: var(--color-accent);
}
footer .row {
  display: flex;
}
@media (max-width: 1000px) {
  footer .row {
    justify-content: space-evenly;
  }
}
footer .row div {
  margin-right: 4rem;
}
footer .row div:last-child {
  margin-right: 0;
}
@media (max-width: 1000px) {
  footer .row div {
    margin-right: 0;
  }
}

.blog-overview .blog-article {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: solid 0.25rem var(--color-accent);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.blog-overview .blog-article a {
  text-decoration: none;
}
.blog-overview .blog-article a.image {
  align-self: center;
  padding-left: 1rem;
  max-height: 15rem;
  max-width: 15rem;
}
.blog-overview .blog-article a.image img {
  overflow: hidden;
  width: 100%;
  box-shadow: -6px 6px 0 var(--color-accent);
  text-decoration: none;
}
.blog-overview .blog-article .content {
  display: flex;
  flex-direction: column;
  max-width: 800px;
}
@media (max-width: 1000px) {
  .blog-overview .blog-article .content {
    width: 100%;
  }
}
.blog-overview .blog-article .content a.image {
  align-self: center;
  padding-left: 1rem;
  max-height: 15rem;
  max-width: 15rem;
}
.blog-overview .blog-article .content a.image img {
  overflow: hidden;
  width: 100%;
  box-shadow: -6px 6px 0 var(--color-accent);
  text-decoration: none;
}
.blog-overview .blog-article .content .subtitle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.blog-overview .blog-article .content .meta {
  display: flex;
}
.blog-overview .blog-article .content .meta .tags {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.blog-overview .blog-article .content .meta .tags a {
  margin-right: 1rem;
}
.blog-overview .blog-article .content .meta .tags a:last-child() {
  margin-right: 0;
}
.blog-overview .blog-article .content .meta time {
  margin: 0;
}
.blog-overview .blog-article .content p {
  margin: 0;
}

#pagination {
  padding: 4rem 0;
  display: flex;
  justify-content: center;
}
#pagination nav {
  display: flex;
  flex-direction: row;
}
#pagination nav p {
  padding: 0 0.5em;
  margin: 0;
}
#pagination nav p a, #pagination nav p span {
  margin: 0 0.3em;
}
#pagination nav p .current-page {
  color: var(--color-hover);
  font-weight: bold;
}

.single-post-or-page {
  padding-left: 8rem;
  padding-right: 8rem;
}
@media (max-width: 1000px) {
  .single-post-or-page {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}
.single-post-or-page .header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.single-post-or-page .header time {
  margin-bottom: 2rem;
}
.single-post-or-page .header p {
  margin: 0;
}
.single-post-or-page .header a {
  color: var(--color-accent);
}
.single-post-or-page .header #tags {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.single-post-or-page .header #tags a {
  margin-right: 1rem;
}
.single-post-or-page .header #tags a:last-child() {
  margin-right: 0;
}
.single-post-or-page #cover-image {
  overflow: hidden;
  width: 100%;
  height: 500px;
  margin-top: 2rem;
  background-position: center center;
  background-size: 100%;
  background-repeat: no-repeat;
}
@media (max-width: 1000px) {
  .single-post-or-page #cover-image {
    height: 200px;
  }
}
.single-post-or-page #cover-image-source {
  font-size: 0.7em;
}
.single-post-or-page #content {
  margin-top: 2rem;
}
.single-post-or-page #content h1 {
  /* 3rem is the h1 font-size specified in the typography */
  padding-top: calc(8rem + 3rem);
  margin-top: -8rem;
}
.single-post-or-page #content ul {
  padding-left: 2rem;
}
.single-post-or-page #content li {
  list-style-type: square;
}
.single-post-or-page #content img {
  max-width: calc(100vw - 8rem * 2 - 0.5rem * 2);
}
@media (max-width: 1000px) {
  .single-post-or-page #content img {
    max-width: calc(100vw - 2rem * 2 - 0.5rem * 2);
  }
}
.single-post-or-page #content code {
  background: var(--color-disabled);
}
.single-post-or-page #content blockquote p {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  background: var(--color-disabled);
}
.single-post-or-page #content pre {
  overflow-x: scroll;
  background: var(--color-disabled);
}
.single-post-or-page #content pre code {
  background: none;
}
.single-post-or-page #content video {
  display: block;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1000px) {
  .single-post-or-page #content video {
    height: 100%;
    width: 100%;
  }
}

#error-404-message {
  text-align: center;
}

:root {
  --color-accent: #000000;
  --color-background: #f5f5f5;
  --color-white: #ffffff;
  --color-primary: #000000;
  --color-hover: #c2185b;
  --color-disabled: #dee4ed;
}

.mobile {
  display: none;
}
@media (max-width: 1000px) {
  .mobile {
    display: initial;
  }
}

.desktop {
  display: initial;
}
@media (max-width: 1000px) {
  .desktop {
    display: none;
  }
}

body {
  margin: 0;
  width: 100%;
  background-color: var(--color-background);
}
body main.offset-top {
  margin-top: 8rem;
}

.hidden {
  display: none;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

a {
  text-decoration: underline;
}
a.inverted {
  color: var(--color-background);
}
a:visited {
  color: var(--color-primary);
}
a:link {
  color: var(--color-accent);
}
a:hover {
  color: var(--color-hover);
}

main {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}
@media (max-width: 1000px) {
  main {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 500px;
  }
}

.btn {
  top: 0;
  left: 0;
  transition: all 0.1s linear 0s;
  position: relative;
  display: inline-block;
  padding: 15px 25px;
  background-color: var(--color-background);
  border: solid;
  border-color: var(--color-accent);
  box-shadow: -6px 6px 0 var(--color-accent);
  text-decoration: none;
}
.btn:hover {
  top: 3px;
  left: -3px;
  box-shadow: -3px 3px 0 var(--color-accent);
}
.btn:hover::after {
  top: 1px;
  left: -2px;
  width: 4px;
  height: 4px;
}
.btn:hover::before {
  bottom: -2px;
  right: 1px;
  width: 4px;
  height: 4px;
}
.btn::after {
  transition: all 0.1s linear 0s;
  content: "";
  position: absolute;
  top: 2px;
  left: -4px;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  transform: rotate(45deg);
  z-index: -1;
}
.btn::before {
  transition: all 0.1s linear 0s;
  content: "";
  position: absolute;
  bottom: -4px;
  right: 2px;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  transform: rotate(45deg);
  z-index: -1;
}

a.btn {
  position: relative;
}

a:active.btn {
  top: 6px;
  left: -6px;
  box-shadow: none;
}
a:active.btn::before {
  bottom: 1px;
  right: 1px;
}
a:active.btn::after {
  top: 1px;
  left: 1px;
}

.content p code {
  font-size: 1.2rem;
  background-color: #f8f8f8;
}
.content pre {
  overflow-x: scroll;
}

/*# sourceMappingURL=style.css.map */
