@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Source+Serif+Pro&display=swap&subset=latin-ext');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font: inherit;
  border: none;
}

.preventOverscroll {
  overscroll-behavior-x: none;
}

:root {
  --bgColor: #ccc;
  --txtColor: #000;
  --redHighliht: #f30;
  --blueHighlight: #0af;
  --borderColor: #fff;
  --boxshadowColor: #888;
  --loaderColor: #00000006;

  --modal-bgColor: #fff;
  --modal-Color: #000;

  --external-link-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewbox='0 0 12.2 12.2' width='14' height='14'%3E%3Cpath fill='%23000' d='M5.7 0v1.5h4L4.5 6.7l1 1.1 5.3-5.2v3.9h1.4V0z'/%3E%3Cpath fill='none' d='M3.4 6.7l3-2.9H1.5v7h7V5.9l-3 2.9z'/%3E%3Cpath fill='%23000' d='M8.5 5.9v4.9h-7v-7h4.9l1.5-1.6H0v10h10V4.4z'/%3E%3C/svg%3E");

  /* scroll-behavior: smooth; */
}

body.contrast-black-white {
  --bgColor: #fff;
  --txtColor: #000;
  --redHighliht: #000;
  --blueHighlight: #000;
  --borderColor: #000;

  --modal-bgColor: #fff;
  --modal-Color: #000;

  --external-link-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewbox='0 0 12.2 12.2' width='14' height='14'%3E%3Cpath fill='%23000' d='M5.7 0v1.5h4L4.5 6.7l1 1.1 5.3-5.2v3.9h1.4V0z'/%3E%3Cpath fill='none' d='M3.4 6.7l3-2.9H1.5v7h7V5.9l-3 2.9z'/%3E%3Cpath fill='%23000' d='M8.5 5.9v4.9h-7v-7h4.9l1.5-1.6H0v10h10V4.4z'/%3E%3C/svg%3E");
}

body.contrast-yellow-blue {
  --bgColor: #ff0;
  --txtColor: #800080;
  --redHighliht: #800080;
  --blueHighlight: #800080;
  --borderColor: #800080;

  --modal-bgColor: #ff0;
  --modal-Color: #800080;

  --external-link-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewbox='0 0 12.2 12.2' width='14' height='14'%3E%3Cpath fill='%23800080' d='M5.7 0v1.5h4L4.5 6.7l1 1.1 5.3-5.2v3.9h1.4V0z'/%3E%3Cpath fill='none' d='M3.4 6.7l3-2.9H1.5v7h7V5.9l-3 2.9z'/%3E%3Cpath fill='%23800080' d='M8.5 5.9v4.9h-7v-7h4.9l1.5-1.6H0v10h10V4.4z'/%3E%3C/svg%3E");
}

body.contrast-black-white *,
body.contrast-yellow-blue *,
body.contrast-black-white *::before,
body.contrast-yellow-blue *::before,
body.contrast-black-white *::after,
body.contrast-yellow-blue *::after {
  opacity: 1 !important;
}

body.font-size-large {
  font-size: 1.5em;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bgColor: #333;
    --txtColor: #ddd;
    --redHighliht: #f30;
    --blueHighlight: #0af;
    --borderColor: #000;
    --boxshadowColor: #111;
    --loaderColor: #ffffff06;

    --external-link-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewbox='0 0 12.2 12.2' width='14' height='14'%3E%3Cpath fill='%23ddd' d='M5.7 0v1.5h4L4.5 6.7l1 1.1 5.3-5.2v3.9h1.4V0z'/%3E%3Cpath fill='none' d='M3.4 6.7l3-2.9H1.5v7h7V5.9l-3 2.9z'/%3E%3Cpath fill='%23ddd' d='M8.5 5.9v4.9h-7v-7h4.9l1.5-1.6H0v10h10V4.4z'/%3E%3C/svg%3E");
  }
}

[lang=de] [lang=en],
[lang=en] [lang=de] {
  display: none !important;
}

::selection {
  background-color: #aaa;
}

body {
  font-family: 'Source Serif Pro', serif;
  background-color: var(--bgColor);
  color: var(--txtColor);
  text-decoration: none;
  font-weight: regular;
  line-height: 1.5;
  font-size: 1em;
  /* scroll-behavior: smooth; */
  transition: margin-top .3s cubic-bezier(.68, -0.55, .27, 1.65);
}

body.scrollsnap {
  overflow: hidden;
}

body.slideshow {
  overflow: hidden;
}

h1 {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--redHighliht);
  font-size: 1.5em;
}

a {
  color: var(--blueHighlight);
  cursor: pointer;
  word-break: break-word;
}

a:hover,
button:hover {
  text-shadow: 0 0 0.5em var(--boxshadowColor);
}

.about a {
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  color: var(--redHighliht);
}

p {
  max-width: 80ch;
}

i {
  font-style: italic;
}

b {
  font-weight: bold;
}

.portrait-container {
  position: relative;
}

.portrait {
  position: absolute;
  width: 6.5em;
  top: 0;
  z-index: 2;
  filter: blur(1.3em) grayscale(0.5) opacity(0.9);
  cursor: zoom-in;
  transition: filter 0s;
  border-radius: 50%;
}

.portrait.big {
  filter: blur(0em);
  cursor: zoom-out;
  border-radius: 0.7em;
  transition: filter 0.15s;
}

@media (min-aspect-ratio: 1/1) {
  .portrait:hover {
    filter: blur(0em);
    border-radius: 0.7em;
    transition: filter 0.15s;
  }

  .portrait.big {
    width: 100%;
    border-radius: 3.2vw;
  }
}

header a,
header button {
  color: inherit;
}

header .col-3 {
  text-align: right;
}

main {
  display: contents;
}

section,
header,
footer {
  width: 100%;
  padding: 0.5rem 1rem;
  padding-bottom: 0;
  margin-bottom: 13rem;
  border-top: 1px solid var(--borderColor);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  scroll-snap-align: start;
  position: relative;
}

footer {
  margin-bottom: 0;
}

.worklist {
  font-family: Arial, Helvetica, sans-serif;
  grid-column: 1 / 4;
  margin-top: 5rem;
  margin-bottom: 14rem;
  display: subgrid;
}

.worklist nav {
  grid-column: 2 / 3;
}

.worklist ul {
  list-style: outside;
  margin-top: 0.5em;
  padding-left: 1.17em;
}

.worklist li {
  list-style: "◦";
  margin-left: -0.6em;
  padding-left: 0.6em;
  line-height: 1.3;
  margin-bottom: 0.8em;
  position: relative;
}

li:not([class]) {
  list-style: none;
}

li:not([class])::before {
  content: "◦";
  position: absolute;
  left: -0.34em;
  top: 0.41em;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 0;
}

.worklist li.documentationpending {
  list-style: "–";
  opacity: 0.3;
  cursor: default;
}

.worklist li.externaldocumentation {
  position: relative;
  list-style: none;
  overflow: visible;
}

.worklist li.externaldocumentation a {
  cursor: alias;
}

.worklist li.externaldocumentation::before {
  content: '';
  background: var(--external-link-icon-url) no-repeat;
  background-size: .75em;
  display: inline-block;
  position: absolute;
  left: -.58em;
  top: .32em;
  width: 1em;
  height: 1em;
  opacity: 0.3;
}

.worklist a {
  color: inherit;
  text-decoration: none;
}

.worklist h2 {
  display: none;
  font-size: 0.7em;
  margin-left: -1.7em;
}

.project {
  height: 100dvh;
  box-sizing: border-box;
}

.project .col-1,
.project .col-2,
.project .col-3 {
  overflow: visible;
  padding-bottom: 3rem;
}

.project .col-1 {
  text-wrap: balance;
}


@keyframes loading {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 100% 0;
  }
}

.media {
  cursor: zoom-in;
  background-image: linear-gradient(90deg, transparent 0%, var(--loaderColor) 80%, transparent 100%);
  background-size: 50%;
  animation: loading 2s infinite cubic-bezier(.46, .03, .52, .96);
  width: 100%;
  height: 0;
}

.media.fullscreen {
  position: fixed;
  object-fit: contain;
  left: 0;
  top: 0;
  z-index: 3;
  width: 100vw;
  height: 100dvh;
  background-color: #000;
  cursor: zoom-out;
}

.media.audio {
  border: solid #000 2px;
  padding: 0.2em;
  cursor: default;
}

.audio .playpause {
  text-decoration: underline;
  padding-right: 0.3em;
  display: inline-block;
  width: 3.1em;
  text-align: right;
}

.audio .bck,
.audio .fwd {
  cursor: pointer;
}

.media.audio>* {
  width: auto;
}

.displaynone {
  display: none !important;
}

.displayblock {
  display: block !important;
}

.displayinlineblock {
  display: inline-block !important;
}

#a11y-menu {
  font-family: Arial, Helvetica, sans-serif;
  position: fixed;
  display: grid;
  background: #fff;
  color: #000;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 1rem;
}

.contrast-yellow-blue #a11y-menu {
  background: #ff0;
  color: #800080;
}

#a11y-menu button {
  width: 2.2rem;
  height: 2.2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  background-color: transparent;
  border: .0625rem solid currentColor;
  color: inherit;
}

#a11y-menu button+button {
  border-top: 0;
}

#a11y-menu button.active,
#a11y-menu button:active {
  color: #f00;
  border-color: #f00;
}

#a11y-menu button:has(+ button.active),
#a11y-menu button:has(+ button:active) {
  border-bottom-color: #f00;
}

#a11y-menu a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.yellow-blue::before,
.yellow-blue::after,
.black-white::before,
.black-white::after {
  content: "";
  width: 50%;
  height: 2.2rem;
  position: absolute;
  top: -.0625rem;
  z-index: -1;
  transition: color .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out, box-shadow .3s ease-in-out;
  background-color: #fff;
}

.yellow-blue::before,
.black-white::before {
  left: 0;
  background-color: #000;
}

/* flip button colors when active */
/* .contrast-black-white .black-white::before {
  background-color: #fff;
}

.contrast-black-white .black-white::after {
  background-color: #000;
} */

.yellow-blue::before {
  background-color: #800080;
}

.yellow-blue::after {
  background-color: #ff0;
}

/* flip button colors when active */
/* .contrast-yellow-blue .yellow-blue::before {
  background-color: #ff0;
}

.contrast-yellow-blue .yellow-blue::after {
  background-color: #800080;
} */

.font-size-large {
  font-size: 1.6em;
}

#upcoming-past-modal {
  z-index: 12;
  position: absolute;
  left: 50%;
  top: 3rem;
  padding: 1em 2em;
  transform: translateX(-50%);
  border-radius: 0.3rem;
  width: 120ch;
  max-width: 86vw;
  max-height: unset;
  background: var(--modal-bgColor);
  color: var(--modal-Color);
}

::backdrop {
  backdrop-filter: blur(1px);
  background-color: rgba(0, 0, 0, 0.3);
}

.contrast-black-white ::backdrop,
.contrast-yellow-blue ::backdrop {
  background-color: #000;
}

#upcoming-past-modal h1 {
  font-size: inherit;
}

#upcoming-past-modal li {
  margin-bottom: 1em;
  list-style: inside;
}

#upcoming-past-modal a {
  color: inherit;
}

.modal-button {
  color: #000;
  background: #e9e9e9;
  cursor: default;
}

.modal-button:hover {
  background: #d0d0d7;
  text-shadow: none;
}

.contrast-black-white .modal-button {
  color: var(--txtColor);
  background: transparent;
  outline: solid .0625em currentColor;
  padding: 0 0.25em;
  cursor: pointer;
}

.contrast-yellow-blue .modal-button {
  color: var(--txtColor);
  background: transparent;
  outline: solid .0625em currentColor;
  padding: 0 0.25em;
  cursor: pointer;
}

.modal-close-button {
  position: absolute;
  right: 0;
  top: 0;
}


#lang-select {
  font-family: Arial, Helvetica, sans-serif;
  cursor: default;
}

[lang=de] #lang-select-en,
[lang=en] #lang-select-de {
  text-decoration: underline;
  cursor: pointer;
}

[lang=de] #lang-select-de,
[lang=en] #lang-select-en {
  cursor: default;
  text-shadow: none;
}

.audio *::selection {
  background-color: transparent;
}

.media {
  width: 100%;
  height: auto;
  transition: filter 0.3s;
  /* lazy loading transition */
}

.screenshot {
  border-radius: 2px;
  box-shadow: 0 0.2em 1em var(--boxshadowColor);
  margin-bottom: 0.5em;
  cursor: inherit;
}

iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.audio {
  display: inline-flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}

.video-wrapper {
  position: relative;
}

.video-controls {
  display: none;
  position: absolute;
  margin: auto;
  width: 5em;
  text-align: center;
  bottom: 0em;
  padding: 0.6em;
  left: 0;
  right: 0;
  text-shadow: #000 0 0 .7em, #000 0 0 .4em, #000 0 0 .3em, #000 0 0 .2em;
  color: var(--blueHighlight);
}

.video-wrapper:hover .video-controls,
video:focus-visible+.video-controls,
.video-controls:hover,
.video-controls:focus-visible {
  display: block;
}

.showmorebutton {
  display: none;
}


.project {
  height: auto;
}

.project .col-1,
.project .col-2,
.project .col-3 {
  position: sticky;
  top: 0.5rem;
  align-self: start;
  min-height: 100vmin;
}

@media (max-aspect-ratio: 1/1) or (max-width: 100ch) {

  header,
  section,
  footer {
    display: block;
  }
}

@media (max-aspect-ratio: 1/1) or (max-width: 100ch) or (hover: none) {
  body.scrollsnap {
    overflow: unset;
  }

  p {
    max-width: none;
  }

  .project .col-1,
  .project .col-2,
  .project .col-3 {
    position: static;
    min-height: auto;
  }

  .media {
    cursor: default;
  }

  .project {
    height: auto;
  }

  /* Hide all elements by default */
  .col-2 .longtext,
  .col-3>* {
    display: none;
  }

  /* Show paragraphs in col-2 */
  .col-2>p {
    display: inline;
  }

  /* Show longtext in col-2 when 'showmore' class is added */
  .col-2.showmore>.longtext {
    display: inline;
  }

  /* Show first child of col-3 always and all children of col-3 when 'showmore' class is added */
  .col-3>*:first-child,
  .col-3.showmore>* {
    display: block;
    margin-bottom: .4rem;
  }

  .showmorebutton {
    display: block;
    color: var(--blueHighlight);
  }

  #contact {
    display: inline;
  }

  #lang-select {
    position: absolute;
    top: .5rem;
    right: 1rem;
  }

  #a11y-menu {
    grid-template-columns: repeat(6, 1fr);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  #a11y-menu button {
    border: .0625rem solid currentColor;
    color: inherit;
    text-shadow: none;
    width: min(4rem, calc((100vw - 2rem) / 6));
  }

  #a11y-menu button:hover {
    text-shadow: none;
  }

  #a11y-menu button+button {
    border-top: .0625rem solid currentColor;
    border-left: 0;
  }

  #a11y-menu button.active,
  #a11y-menu button:active {
    color: #f00;
    border-color: #f00;
  }

  #a11y-menu button:has(+ button.active),
  #a11y-menu button:has(+ button:active) {
    border-bottom-color: currentColor;
    border-right-color: #f00;
  }
}