* {
  box-sizing: border-box;
}

:root {
  --color-yellow: rgb(255, 215, 0);
  --color-white: rgb(255, 255, 255);
  --color-blue-light: rgb(54, 177, 191);
  --color-blue: rgb(21, 109, 143);
  --color-blue-dark: rgb(21, 58, 81);

  --site-padding-inline: 1rem;
  --site-padding-block: 1.5rem;
}

@media (min-width: 768px) {
  :root {
    --site-padding-block: 3rem;
  }
}

html {
  scrollbar-gutter: stable;
}

body {
  background-attachment: fixed;
  background-position: left center;
  background-size: 20px;
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; 
  font-size: 1.3rem;
  line-height: 1.7;
  margin-block: 0;
  margin-inline: auto;
}

:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 4px solid var(--color-blue-dark);
  outline-offset: 2px;
}

a:link {
  color: var(--color-blue);
}

a:visited {
  color: var(--color-blue-dark);
}

.site-header {
  --header-color: var(--color-white);

  background-color: var(--color-blue-dark);
  padding: var(--site-padding-inline);
  border-image: conic-gradient(var(--color-blue-dark) 0 0) fill 1//0 50vw;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  margin: 0;
  font-size: 1.3rem;
  gap: 0.4rem 1.2rem;
}

hr {
  display: block;
  width: 100%;
}

.site-header a:is(:link, :visited) {
  text-decoration: none;
  color: var(--header-color);
}

.site-header a:hover {
  --header-color: var(--color-yellow);
  text-decoration: underline;
}

.site-header a:focus-visible {
  outline-color: var(--color-yellow);
}


.site-header a:is([aria-current='page']) {
  --header-color: var(--color-yellow);
  text-decoration: underline;
}

main {
  --main-columns: var(--site-padding-inline) 1fr 1fr minmax(auto, 57rem) 1fr 1fr var(--site-padding-inline);
  padding-block: var(--site-padding-block);
  /* background: rgba(255, 255, 255, 0.7); */
  display: grid;
  grid-template-columns: var(--main-columns);
  justify-content: center;
}


@media (min-width: 90em) {
  main {
  --main-columns: var(--site-padding-inline) 1fr minmax(auto, 14rem) minmax(auto, 54rem) minmax(auto, 14rem) 1fr var(--site-padding-inline);
  }
}

main > * {
  grid-column: 4 / -4;
  min-width: 0;
}

@supports (grid-template-columns: subgrid) {
  .post {
    grid-template-columns: subgrid;
    display: grid;
    grid-column: 2 / -2;
  }

  .post > * {
    grid-column: 4 / -4;
    min-width: 0;
  }

  .table-wrapper {
    grid-column: 2 / -2;
    justify-self: center;
    max-inline-size: 100%;
  }
}

section:not(:last-child) {
  margin-bottom: 3em;
}

section h2 {
  background-color: var(--color-yellow);
  color: var(--color-blue-dark);
  display: inline-block;
  margin-block-start: 0;
  margin-block-end: 0.5em;
  padding-inline: 0.3em;
}

h1 {
  margin-block: 0 0.3em;
  font-size: 2.2rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  h1 {
    margin-block-end: 0.6em;
  }
}

h2 {
  font-size: 1.9rem;
  margin-block-end: 0.3em;
}

h3, .h3 {
  font-size: 1.6rem;
}

p {
  margin-block: 0 1em;
}

p:last-child {
  margin-block-end: 0;
}

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

dd code,
li code,
p code {
  background: rgb(0, 107, 171);
  border-radius: 3px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 1rem;
  margin: 0 0.2em;
  padding: 0.2rem 0.2rem 0.1rem;
  font-weight: normal;
  word-break: break-word;
}

figcaption code {
  background: rgb(215 215 215);
  color: #000;
}

q {
  font-style: italic;
}

iframe {
  border: 0;
}

dialog {
  position: fixed;
  inset: 0;
  margin: auto !important;
}

/* Skip Link */

.skip-link:not(:focus) {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  white-space: nowrap; 
}

.skip-link:focus-visible {
  position: absolute;
  background: var(--color-blue-dark);
  color: #fff;
  text-decoration: none;
  top: 1rem;
  left: 1rem;
  padding: 0.2rem 0.7rem;
  color: var(--color-yellow);
}

/* Teaser */

article {
  margin-bottom: 4rem;
}

article h1,
article :where(h3, .h3) {
  margin-block-end: 0;
}

article :where(h3, .h3) {
  margin-block-start: 0;
  line-height: 1.4;
}

article h2 {
  margin-block-start: 0;
}

article h2 a,
article :where(h3, .h3) a {
  text-decoration: none;
}

article :where(h3, .h3) a:is(:hover, :focus) {
  background-color: var(--color-yellow);
}

article header {
  margin-block-end: 1em;
  padding-block: 0.1em;
  /* border-top: 2px solid var(--color-blue); */
  border-bottom: 4px solid var(--color-blue-light);
}

article > div {
  font-size: 1.2rem;
}

article header > time {
  display: block;
  font-size: 1.1rem;
}

article header p {
  margin-block: 0.7em 0;
  line-height: 1;
  font-size: 1.1rem;
}

.post {
  font-size: 1.2rem;
}

.post header {
  border: none;
  margin-bottom: 2em;
}


.post:not(dialog) {
  margin: 0;
}

.post > * + * {
  margin-bottom: 1.5rem;
}

.post ul > * + * {
  margin-top: 1rem;
}

.post li > * + * {
  margin-top:0.5rem;
}

.code-label {
  margin-bottom: 0;
}


.code-intro + pre,
.code-label + pre {
  margin-top: 0;
}

figure {
  margin: 0;
}

figure video,
figure img {
  display: block;
  width: 100%;
}

.post video,
.post img {
  border: 3px solid #efefef;
}

.post figcaption {
  background: #efefef;
  padding: 0.2rem 0.4rem 0;
  display: block;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.table-wrapper {
  overflow: auto;
}


footer {
  padding-block: 4rem 2rem;
  padding-inline: var(--site-padding-inline);
  text-align: center;
  position: relative;
}

.back-to-top {
  position: absolute;
  top: 0;
  right: 1rem;
}

footer ul {
  display: flex;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 1.2rem;
}

.pagination a {
  align-items: center;
  border: 1px solid var(--color-blue-dark);
  display: flex;
  border-radius: 50%;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
}

.pagination a:hover {
  background-color: var(--color-yellow);
  color: var(--color-blue-dark);
}

.pagination [aria-current="page"]:where(:link, :visited) {
  background-color: var(--color-blue-dark);
  color: var(--color-white);
}

.pagination a:link {
  text-decoration: none;
}

.pagination [rel] {
  width: auto;
  border-radius: 1em;
  padding-inline: 0.7em;
}

.prevnext {
  display: grid;
  padding: 0;
  margin: 0 0 2rem;
  list-style: none;
  gap: 1rem;
}

@media (min-width: 768px) {
  .prevnext {
    grid-template-columns: 1fr 1fr;
  } 
}

.prevnext li {
  border: 3px solid var(--color-blue);
}

.prevnext li:only-child:has(.next) {
  grid-column-end: -1;
}

.prevnext a {
  padding: 0.5rem;
  display: block;
  line-height: 1.4;
  height: 100%;
  text-decoration: none;
}

.prevnext a:is(:focus, :hover) {
  background-color: var(--color-blue);
  color: #fff;
  text-decoration: none;
}

.prevnext .next {
  color: #fff;
  background-color: var(--color-blue);
}

.prevnext .next:is(:focus, :hover) {
  background-color: var(--color-weiss);
  color: var(--color-blue);
}

.prevnext strong {
  font-size: 1.4rem;
  display: block;
}


.dayindex {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

[loading] {
  display: block;
}


blockquote {
  font-style: italic;
}

.quote {
  padding: 0 1em;
}

.quote blockquote {
  font-size: 1.2em;
  margin-bottom: 0;
  margin-left: 0;
}

.quote p {
  font-size: 0.9em;
}

.video-wrapper {
  height: 0;
  padding-bottom: 56.25%; 
  padding-top: 25px;
  position: relative;
}

.video-wrapper iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.dark {
  background: #000;
  border-image: conic-gradient(#000 0 0) fill 1//0 50vw;
  position: relative;
  color: #fff;
}

.dark a:link,
.dark a:visited {
  color: #1cb4af;
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(auto, 355px));
  grid-gap: 60px 30px;
  justify-content: center;
}


.dark *:focus {
  outline: 4px solid #1cb4af;
}


/* Helper */

.u-vh {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  white-space: nowrap; 
}

.u-mbss {
  margin-block-start: 0.5rem;
}

/* 
.banner {
  background: rgba(21, 58, 81, 0.1);
  padding: 1rem;
}

.banner > * {
  margin: 0;
  font-size: 1.1rem;
}

.banner > * + * {
  margin-top: 1rem;
}


.h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}

.teaser {
  margin-bottom: 4rem;
}

.teaser-heading {
  margin: 0;
}

.til {
  list-style: none;
  padding: 0;
  margin: 0;
}

.til > * + * {
  margin-top: 4rem;
}

.post-heading {
  margin-bottom: 0;
}

.page-header {
  margin-bottom: 1em;
}

@media (min-width: 768px) {
  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.page-header > * {
  margin-bottom: 0;
}

.local-nav {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.local-nav > * + * {
  margin-left: 1rem;
}

.css-support-table {
  table-layout: fixed;
  margin-block: 1rem;
}

.css-support-table td, 
.css-support-table th {
  padding: 0.2rem 0.5rem;
}

.css-support-table td {
  border: 1px solid #ccc;
  empty-cells: hide;
  background-color: green;
  color: #fff;
  letter-spacing: 1px;
  text-align: center;
}

.css-support-table .css-support-cell--flagged,
.css-support-table .css-support-cell--na {
  background-color: #c71b1b;
}

.css-support-table .css-support-cell--flagged::after {
  content: "🧪";
  margin-left: 0.5rem;
}

.css-support-table a:link,
.css-support-table a:visited {
  color: #fff;
}


.css-support-cell--na {
  background-color: red;
}



 */



:root {
  --blur: 2px;
  --font-size: 20px;
}

/* Check if the page works without colors */
.a11y-tests-grayscale {
filter: grayscale(100%) !important;
}

/* Simulate blurred vision. */
.a11y-tests-blur {
  filter: blur(2px) !important;
  filter: blur(var(--blur)) !important;
}

/* Force yourself to test without a mouse */
.a11y-tests-no-mouse,
.a11y-tests-no-mouse *,
.a11y-tests-no-mouse *:hover {
cursor: none !important;
}

/* Large text */
.a11y-tests-large-text {
  font-size: 20px !important;
  font-size: var(--font-size) !important;
}

/* Remove animations */
.a11y-tests-no-animation * {
transition: none !important;
animation: none !important;
}

summary {
  cursor: pointer;
}

del {
  background: rgba(255, 0, 0, 0.3);
  border: 1px solid rgba(255, 0, 0, 0.6);
  padding: 0 0.2rem;
}

ins {
  background: rgba(76, 181, 76, 0.3);
  border: 1px solid rgba(76, 181, 76, 0.6);
  padding: 0 0.2rem;
  text-decoration: none;
}

s::before, s::after, 
del::before, del::after, 
ins::before, ins::after {
  clip-path: inset(100%);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

s::before,
del::before {
  content: " [deletion start] ";
}

s::after,
del::after {
  content: " [deletion end] ";
}

ins::before {
  content: " [insertion start] ";
}

ins::after {
  content: " [insertion end] ";
}

[data-sample],
.sample {
  border: 4px solid var(--color-blue);
  padding: 0.5rem;
  position: relative;
  padding-top: 2.5rem;
  overflow: hidden;
  resize: horizontal
}

[data-sample]::after,
.sample::after {
  background-color: var(--color-blue);
  content: "demo";
  color: #fff;
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  padding: 0.3rem 0.5rem 0.5rem;
  line-height: 1;
}

[data-sample]::after {
  content: attr(data-sample);
}

.taglist {
  list-style: none; display: flex; gap: 0.3rem 0.5rem; flex-wrap: wrap; padding: 0;
}

.taglist li:not(:last-child)::after {
  content:","
}

.highlight {
  background: rgb(21 58 82 / 10%);
  padding: 1rem;
}

.logolist {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center
}

article footer {
  border-top: 1px dashed;
  padding: 2rem 0;
  text-align: left;
}

.editable-style {
  display: block;
  white-space: pre;
  border: 4px solid;
  padding: 1rem;
}

th, td {
  border: 1px solid;
  padding: 0.3rem 0.6rem;
  text-align: left;
}

th {
  background: var(--color-blue-dark);
  color: var(--color-white);
}

caption {
  text-align: left;
  font-weight: bold;
  max-width: 100%;
  width: max-content;
}


@media print {
  body,.post {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  nav,
  body > header,
  body > footer,
  button {
    display: none;
  }

  pre[class*="language"] *,
  code {
    color: #000 !important;
    font-size: 0.8rem !important;
  }

  pre[class*="language"] {
    font-size: 0.8rem !important;
    border: 1px solid #000 !important;
    page-break-inside: avoid;
    padding: 10px !important;
  }

  a[href^='mailto']::after,
  a[href^='http']:not([href*='matuzo.at']):after {
    content: ' (' attr(href) ')';
  }
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.image-grid > * {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}

.image-grid img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.cta:is(:link, :visited) {
  border: 2px solid var(--color-blue);
  padding: 0.6em 1.5em;
  background: var(--color-blue);
  color: var(--color-yellow);
  text-decoration: none;
  border-radius: 7px;
  font-family: inherit;
  font-weight: bold;
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta:is(:hover, :focus-visible) {
  border: 2px solid var(--color-yellow);
}

var {
  font-style: normal;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
  font-weight: normal;
}

dt {
  font-weight: bold;
}

dl {
  margin-block-start: 0;
}


.thumb-grid {
  display: grid; gap: 2rem;
}

.thumb-grid img {
  max-width: 100%;
}

@media (min-width: 48em) {
  .thumb-grid {
    grid-template-columns: 1fr 1fr;
  }
}