@charset "UTF-8";
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:after, blockquote:before, q:after, q:before {
  content: "";
  content: none;
}

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

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

img {
  width: 100%;
  max-width: 100%;
}

@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Amiri-Regular"), url("/assets/webfonts/amiri-v24-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Amiri";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local("Amiri-Italic"), url("/assets/webfonts/amiri-v24-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Amiri-Bold"), url("/assets/webfonts/amiri-v24-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Amiri";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local("Amiri-BoldItalic"), url("/assets/webfonts/amiri-v24-latin-700italic.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Work Sans Regular"), url("/assets/webfonts/work-sans-v17-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Work Sans Bold"), url("/assets/webfonts/work-sans-v17-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local("Work Sans Italic"), url("/assets/webfonts/work-sans-v17-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: local("Work Sans Bold Italic"), url("/assets/webfonts/work-sans-v17-latin-600italic.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("DM Mono"), url("/assets/webfonts/dm-mono-v10-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Visby CF";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Visby CF Demi"), url("/assets/webfonts/VisbyCF-DemiBold.woff2") format("woff2");
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  --mainBackground: #f9f9f9;
  --mainColor: black;
  --codeBackground: #1d1f21;
  --codeColor: #c5c8c6;
  --footerBackground: hsl(60, 80%, 70%);
  --footerColor: black;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Amiri", serif;
  line-height: 1.35;
  scroll-behavior: smooth;
  background-color: var(--mainBackground);
  color: var(--mainColor);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 6px;
}
a:link, a:visited, a:hover, a:active {
  color: inherit;
}

h1, h2, h3, h4 {
  font-weight: bold;
  line-height: 1.1;
}

strong, .bold {
  font-weight: bold;
}

em {
  font-size: 0.9em;
}

.font-size-xl {
  font-size: 3.5rem;
}
@media screen and (max-width: 1023px) {
  .font-size-xl {
    font-size: 3.2rem;
  }
}
@media screen and (max-width: 699px) {
  .font-size-xl {
    font-size: 3rem;
  }
}
@media screen and (max-width: 399px) {
  .font-size-xl {
    font-size: 2.6rem;
  }
}

.font-size-l, .text-block h2 {
  font-size: 2rem;
}
@media screen and (max-width: 1023px) {
  .font-size-l, .text-block h2 {
    font-size: 1.7rem;
  }
}
@media screen and (max-width: 699px) {
  .font-size-l, .text-block h2 {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 399px) {
  .font-size-l, .text-block h2 {
    font-size: 1.4rem;
  }
}

.font-size-m, .text-block h3 {
  font-size: 1.6rem;
}
@media screen and (max-width: 699px) {
  .font-size-m, .text-block h3 {
    font-size: 1.25rem;
  }
}

.font-size-s {
  font-size: 1.3rem;
}
@media screen and (max-width: 699px) {
  .font-size-s {
    font-size: 1.15rem;
  }
}

.font-size-xs {
  font-size: 1.15rem;
}
@media screen and (max-width: 699px) {
  .font-size-xs {
    font-size: 0.95rem;
  }
}

.line-height-11 {
  line-height: 1.1;
}

.sans-serif, .text-block blockquote, em {
  font-family: "Work Sans", sans-serif;
}

.serif {
  font-family: "Amiri", serif;
}

.monospace {
  font-family: "DM Mono", monospace;
}

#main {
  margin-bottom: 4rem;
  flex: 1;
}
.start #main, .article-index #main {
  margin-bottom: 0;
}

.color-block {
  padding-top: 4rem;
  background-color: var(--backgroundcolor);
  color: var(--color);
}

.start {
  --backgroundcolor: hsl(50, 16%, 80%);
}

.article-index {
  --backgroundcolor: hsl(202, 16%, 80%);
}

#main-header, #main-footer {
  padding: 1.5rem 2rem;
}
@media screen and (max-width: 699px) {
  #main-header, #main-footer {
    padding-inline: 5%;
  }
}

#main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  line-height: 1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
#main-header a {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: 0.15s;
}
#main-header a:hover {
  text-decoration-color: currentColor;
}

#main-footer {
  color: var(--color);
  background-color: var(--backgroundcolor);
}
#main-footer nav ul {
  justify-content: end;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1ch;
}

#skip-to-content-link {
  position: fixed;
  top: 0;
  background: black;
  color: white;
  height: 30px;
  left: 50%;
  padding: 8px;
  transform: translate(-50%, -120%);
  transition: transform 0.3s;
  z-index: 100;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
#skip-to-content-link:focus {
  transform: translate(-50%, 0);
}

.max-width {
  width: 80%;
  max-width: 1200px;
  margin-inline: auto;
}
@media screen and (max-width: 699px) {
  .max-width {
    width: 90%;
  }
}

.teaser {
  padding-bottom: 3.5rem;
  margin-bottom: 2.5rem;
}
.teaser p {
  max-width: 50ch;
  text-wrap: pretty;
}
.teaser p:not(:last-child) {
  margin-bottom: 1.3em;
}
.start .teaser, .article-index .teaser {
  margin-bottom: 0;
}
.articles-list .teaser {
  padding-bottom: 0;
}

.article h1 {
  text-wrap: balance;
}
.article p {
  text-wrap: pretty;
}

section {
  scroll-margin-block-start: 3rem;
}

.text-block ul, .text-block ol {
  list-style: initial;
  padding-left: 3rem;
  margin-bottom: 1.3em;
}
.text-block ul li:not(:last-child), .text-block ol li:not(:last-child) {
  margin-bottom: 0.6em;
}
.text-block ul {
  padding-left: 2rem;
}
.text-block ul li {
  padding-left: 1rem;
}
.text-block ul li::marker {
  color: var(--backgroundcolor);
  content: "–";
}
.text-block p {
  max-width: 70ch;
}
.text-block p:not(:last-child) {
  margin-bottom: 1.3em;
}
.text-block h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.text-block h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.text-block a:link {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: midnightblue;
  transition: color 0.1s ease-out;
}
.text-block a:visited {
  text-decoration-color: hotpink;
}
.text-block a:hover, .text-block a:active {
  color: midnightblue;
  text-decoration-color: hotpink;
}
.text-block blockquote {
  font-style: italic;
  font-size: 0.9em;
  padding-left: 3rem;
  max-width: 80ch;
  margin-bottom: 1.3em;
  position: relative;
  color: var(--mainColor);
  transition: color 0.3s ease-out;
}
@media screen and (max-width: 699px) {
  .text-block blockquote {
    padding-left: 2rem;
  }
}
.text-block blockquote::before {
  content: "";
  position: absolute;
  top: -0.25em;
  left: 0;
  bottom: -0.25em;
  z-index: -1;
  width: 2px;
  background-color: var(--backgroundcolor);
  color: black;
  transition: max-width 0.3s ease-out;
}

.images-block {
  width: 90%;
  max-width: 1400px;
  margin-inline: auto;
  margin-block: 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}
@media screen and (max-width: 699px) {
  .images-block {
    width: 95%;
    grid-template-columns: 1fr;
  }
}
.images-block[data-images="1"] {
  grid-template-columns: 1fr;
  width: 60%;
  max-width: 800px;
}
@media screen and (max-width: 699px) {
  .images-block[data-images="1"] {
    width: 95%;
  }
}
.images-block img {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
}

.code-block {
  width: 70%;
  margin-block: 2rem;
  background-color: var(--codeBackground);
  color: var(--codeColor);
  line-height: 1.5;
  overflow: auto;
}
.code-block pre {
  padding: 1rem 2rem;
  width: max-content;
}
@media screen and (max-width: 699px) {
  .code-block {
    width: 100%;
    font-size: 0.9em;
  }
}

.page-header {
  padding-top: 3rem;
  margin-bottom: 3rem;
}
@media screen and (max-width: 699px) {
  .page-header {
    padding-top: 1rem;
  }
}
.page-header + .teaser:empty {
  padding-bottom: 1px;
}

#article-header .date-and-tags {
  margin-top: 1rem;
  display: flex;
  gap: 1ch;
  align-items: center;
}
@media screen and (max-width: 699px) {
  #article-header .date-and-tags {
    display: block;
  }
}
#article-header .tags {
  display: flex;
  gap: 1ch;
  align-items: baseline;
}
@media screen and (max-width: 699px) {
  #article-header .tags {
    margin-top: 1rem;
  }
}
#article-header ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 1ch;
}
#article-header ul li {
  border: 1px solid currentColor;
  border-radius: 1em;
  padding: 0.3em 0.5em;
  line-height: 1;
}

::selection {
  background: hotpink;
  color: midnightblue;
}

.articles-list article {
  border-top: 5px solid var(--backgroundcolor);
}
.articles-list article .headline {
  margin-top: 0.25em;
  margin-bottom: 0.5em;
  color: var(--backgroundcolor);
  font-family: "Visby CF", sans-serif;
}
.articles-list article a {
  display: block;
  text-decoration: none;
  padding: 2rem 0;
}
.articles-list article a .headline {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.4s ease-out;
}
.articles-list article a:hover .headline {
  text-decoration-color: currentColor;
}
.articles-list article .teaser, .articles-list article .headline {
  max-width: 70ch;
  text-wrap: balance;
}
.articles-list article .teaser {
  text-wrap: pretty;
}

p code {
  font-family: monospace;
  font-size: 0.8em;
}

/*
@media (prefers-color-scheme: dark) {
  html{
    --mainBackground: #1b1b1b;
    --mainColor: white;

    --codeBackground: #1d1f21;
    --codeColor: #c5c8c6;

    --footerColor: white;
    --footerBackground: hsl(60, 80%, 30%);
  }

  .start{ --backgroundcolor: hsl(50, 16%, 75%); --color: black; }
  .article-index{ --backgroundcolor: hsl(202, 16%, 40%); }
}

 */

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