:root {
  --margin-left-right: 24px;
  --margin-top-bottom: 24px;
  --margin-foreground: 80px;
  --margin-fg-bottom: 96px;
  --margin-text-content: var(--margin-foreground);
  --margin-text-column: 0;
  --number-of-text-columns: 1;
  --display-on-desktop: none;
  --display-on-mobile: block;
  --font-size-very-small: 12px;
  --font-size-small: 16px;
  --font-size-medium: 20px;
  --font-size-big: 24px;
  --font-size-very-big: 28px;
  --font-size-subtitle: 17px;
  --grid-column-first-child: auto;
  --line-left-padding: 0;
  --line-left-border: none;
  --line-left-margin: 0px;
  --text-column-factor-margin: 0;
  --fg-text-margin: 0;
  --footer-info: relative;
  --text-column-height: auto;
  --slide-width: 100%;
}
.mobile-only { display: block; }
.desktop-only { display: none; }
@media screen and (min-width: 768px) {
  :root {
    --margin-left-right: 16px;
    --margin-top-bottom: 16px;
    --display-on-desktop: flex;
    --display-on-mobile: none;
    --font-size-very-big: 48px;
    --font-size-subtitle: 28px;
    --text-column-factor-margin: 4;
    --margin-fg-bottom: 0;
    --fg-text-margin: 10vw;
  }
}

@media screen and (min-width: 1024px) {
  :root {
    --margin-top-bottom: 20px;
    --margin-left-right: 20px;
    --number-of-text-columns: 6;
    --margin-text-column: var(--margin-foreground);
    --margin-text-content: 0;
    --grid-column-first-child: span 3;
    --line-left-padding: 7px;
    --line-left-border: 1px;
    --line-left-margin: var(--margin-left-right);
    --footer-info: fixed;
    --text-column-height: calc(100dvh - 200px);
    --line-left-margin: var(--margin-left-right);
    --font-size-very-big: 64px;
    --font-size-subtitle: 36px;
    --fg-text-margin: var(--margin-left-right);
    --slide-width: 50%;
  }
  .mobile-only { display: none; }
  .desktop-only { display: block; }
}

@font-face {
  font-family: 'ModernGothic';
  src: url('fonts/ModernGothic-Regular.woff2') format('woff2');
  font-weight: 400;
  font-stretch: normal;
}
@font-face {
  font-family: 'ModernGothic';
  src: url('fonts/ModernGothic-Medium.woff2') format('woff2');
  font-weight: 500;
  font-stretch: normal;
}

html, body {
  margin:0;
  padding:0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: 'ModernGothic';
  font-weight: 400;
  cursor: url("../img/cursor-standard.svg"), auto;
  overflow-x: hidden;
}

body {
  padding: 0;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

* {
  -webkit-font-smoothing: antialiased;
}

p, h1, h2, h3, h4, .p2, .p5, .p6  {
  font-family: 'ModernGothic';
  font-weight: 400;
}
h5, h6, strong {
  font-family: 'ModernGothic';
  font-weight: 500;
}

.align_right {
  text-align: right;
}
.align_left {
  text-align: left;
}
.align_center {
  text-align: center;
}
.align_full {
  text-align: justify;
}

.container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.page, .overview {
  padding: var(--margin-top-bottom) var(--margin-left-right);
}
.top-margin {
  margin-top: var(--margin-text-column);
}
.top-overview {
  margin-top: var(--margin-foreground);
}
.slide-images {
  margin-right: 5px;
}

a {
  text-decoration: none;
  color: black;
  cursor: url("../img/cursor-pointer.svg"), auto;
  -webkit-tap-highlight-color: transparent;
  }

.mobile-header {
  position: fixed;
  top: 0px;
  text-align: left;
  z-index: 7;
  margin-top: var(--margin-top-bottom);
  /* margin-left: var(--margin-left-right); */
  width: calc(100% - 2 *  var(--margin-left-right));
}
.mobile-header a {
  margin-right: 20px;
}

.desktop-header {
  position: fixed;
  top: 0px;
  text-align: left;
  margin-top: var(--margin-top-bottom);
  /* margin-left: var(--margin-left-right); */
  margin-right: var(--margin-left-right);
  width: calc(50% - 2 * var(--margin-left-right));
  z-index: 10;
}
.desktop-header a {
  margin-right: 20px;
  cursor: url("../img/cursor-pointer.svg"), auto;
}

.svg-icon {
  vertical-align: middle;
  margin-bottom: 2px; 
  fill: white;
}
.svg-icon-cloud {
  height: 16px;
}
.svg-icon-menu {
  width: 40px;
  cursor: url("../img/cursor-pointer.svg"), auto;
}
.svg-icon-close {
  width: 18px;
  cursor: url("../img/cursor-pointer.svg"), auto;
}
.svg-icon-more, .svg-icon-less {
  width: 18px;
  transform: translateY(3px);
}
.svg-icon-audio {
  width: 20px;
  cursor: url("../img/cursor-pointer.svg"), auto;
  padding: 16px;
  margin: -16px -6px -14px -16px;
}
.more, .less {
  cursor: url("../img/cursor-pointer.svg"), auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 16px;
  margin: -16px;
}

.menu-container, .footer-container {
  display: flex;
  justify-content: space-between;
}

.align-left {
  margin-right: auto;
}
.align-right {
  margin-left: auto;
}
.align-left a, .align-right .img-wrapper {
  position:relative; 
}
.align-left a:after, .align-right .img-wrapper:after {
  content: '';
  position: absolute;
  top: -20px; 
  bottom: -20px; 
  left: -20px; 
  right: -20px; 
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-color: white;
  justify-content: flex-start;
  z-index: 10;
}
.overlay.open {
  display: block;
}
.overlay.closed {
  display: none;
}

.overlay-content {
  margin: var(--margin-top-bottom) var(--margin-left-right);
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 2 * var(--margin-top-bottom));
}

.overlay-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: url("../img/cursor-pointer.svg"), auto;
}

.menu-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: var(--font-size-very-big);
}
.menu-item a {
  padding: 24px
}
.menu-item a, .menu-contact {
  color: black;
}
hr {
  background: black;
  height: 1px; 
  border: none
}

h6 {
  font-size: var(--font-size-small);
}
.line-left h6 {
  margin-top: 0;
  margin-bottom: 13px;
}

.page-content, .overview-content {
  background-color: white;
}

footer, footer a {
  color: black;
}
footer {
  padding: var(--margin-top-bottom) var(--margin-left-right);
  display: flex;
}
.footer-info {
  position: var(--footer-info);
  bottom: 0;
  width: calc(100% - 2 * var(--margin-left-right))
}
.footer {
  position: fixed;
  bottom: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  width: 100%;
}
.footer-mobile {
  margin: var(--margin-top-bottom) 0;
  width: calc(100% - (2 * var(--margin-left-right)));
  z-index: 6;
}
.footer-home {
  box-sizing: border-box;
  width: fit-content;
  padding: var(--margin-top-bottom) var(--margin-left-right);
}

.right {
  right: 0;
}
.left {
  left: 0;
}

#info-text {
  hyphens: auto;
}
#info-text p, #info-text h6 {
  border-bottom: 1px solid white;
  margin: 0;
  padding: 6px 0;
}
.info-text-main {
  margin-top: var(--margin-top-bottom); 
}
.info-text-mobile {
  width: calc(100% - 2 * var(--margin-left-right));
  position: absolute;
  top: var(--margin-foreground);
  z-index: 6;
  max-height: calc(100dvh - var(--margin-foreground) - 120px);
  overflow-y: auto;
  padding-bottom: 20px;
}

.home-title {
  position: absolute;
  top: 50%;
  left: 12.5%;
  right: 12.5%;
  transform: translateY(-50%);
  width: 75%;
  text-align: center;
  z-index: 1;
}

.text-content {
  display: grid;
  margin-top: var(--margin-text-content);
  grid-template-columns: repeat(var(--number-of-text-columns), 1fr);
  column-gap: var(--margin-left-right);
}
.text-content p {
  margin-top: 0;
}

.text-content > :first-child {
  grid-column: var(--grid-column-first-child);
}

.text-column {
  font-size: var(--font-size-big);
  font-weight: 400;
  margin-right: var(--margin-left-right);
  width: calc(100% - var(--text-column-factor-margin) * var(--margin-left-right));
  height: var(--text-column-height);
}
.text-column , .text-column > * {
  hyphens: auto;
  word-break: break-word;
}

.line-left {
  border-left: var(--line-left-border) solid black;
  padding-left: var(--line-left-padding);
  font-size: var(--font-size-small);
  width: calc(100% - var(--line-left-margin));
}
.line-left p {
  font-weight: 400;
  margin-top: 0px;
}
.line-left h6 {
  font-weight: 500;
}
.line-left strong {
  font-weight: 500;
  font-size: var(--font-size-very-small);
}

.slide-content {
  display: flex;
  flex-direction: row;
  flex: 1;
  overflow-y: hidden; 
  height: 100dvh;
}

.slide-mobile {
  display: block;
}
.slide-left, .slide-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide-left {
  cursor: url("../img/arrow-left.svg"), auto;
}
.slide-right, .slide-home {
  cursor: url("../img/arrow-right.svg"), auto;
}
.slide-left, .slide-right, .slide-mobile {
  padding: var(--margin-top-bottom) var(--margin-left-right);
  flex: 1;
  overflow: auto;
  position: relative;
  overflow: hidden;
}
.slide-home, .page-header, .overview-header {
  padding-left: var(--margin-left-right);
}

.slide-right {
  display: var(--display-on-desktop);
}

.pointer {
  cursor: url("../img/cursor-pointer.svg"), auto;
}

.slide {
  height: 100dvh;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto; 
}

.info-background {
  background-color: white;
  z-index: 6;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
}

.bg-video-container, .bg-image-container, .full-screen-image {
  position: fixed; 
  top: 0;
  left: 0;
  width: var(--slide-width);
  height: 100dvh; 
  overflow: hidden;
}
.slide-right .bg-image-container, .slide-right .bg-video-container {
  left: 50%;
}
.full-screen-image, .full-screen-video {
  left: 0;
  width: 100%;
  z-index: 1;
}

.bg-video, .bg-image-container img, .full-screen-image img {
  object-fit: cover; 
  width: 100%; 
  height: 100dvh; 
}

.foreground {
  transform: translate3d(0,0,0);
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
  margin-bottom: var(--margin-fg-bottom);
}

.fg-image-container, .fg-video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
  min-height: 100%;
  margin: 0 auto;
}
.fg-image-container.full-width, .fg-video-container.full-width {
  width: 100%;
}
.fg-image-container img, .fg-video-container video  {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mix-blend-mode {
  mix-blend-mode: difference;
  color: #fff;
  filter: grayscale(50%);
}

.fg-text, .fg-audio {
  justify-content: flex-start;
  z-index: 5;
}
.fg-text {
  justify-content: flex-start;
}
.middle {
  justify-content: center;
}
.bottom {
  justify-content: end;
}

.fg-text-container {
  font-size: var(--font-size-big);
  max-height: calc(100% - var(--margin-foreground));
  margin: var(--margin-foreground) var(--fg-text-margin);
  overflow: auto;
  hyphens: auto;
  pointer-events: auto; 
}
.fg-footer {
  height: initial;
  z-index: 5;
}

.fg-text-container p {
  word-wrap: break-word;
  margin: 0 0 6px;
  /* padding-right: 20px; */
  align-self: flex-start;
}

.fg-text-container h5, .text-column h5, #info-text h5 {
  font-size: var(--font-size-small);
  font-weight: 500;
} 
.fg-text-container h5, .text-column h5 {
  margin-bottom: 3px;
  padding-bottom: 0;
}
.fg-text-container h6, .text-column h6, #info-text h6 {
  font-size: var(--font-size-very-small);
  font-weight: 500;
} 
.fg-text-container h6, .text-column h6 {
  margin-bottom: 3px;
  padding-bottom: 0;
}
.fg-text-container .p2, .text-column .p2, #info-text .p2 {
  font-size: var(--font-size-big);
} 
.fg-text-container .p5, .text-column .p5, #info-text .p5 {
  font-size: var(--font-size-small);
} 
.fg-text-container .p6, .text-column .p6, #info-text .p6 {
  font-size: var(--font-size-very-small);
} 

.fg-text-container a, #info-text a {
  mix-blend-mode: difference;
  color: #fff;
  filter: grayscale(50%);
}

.text-column a::before {
  display: inline-block;
  content:  url('../img/link-black.svg');
  height: auto;
  vertical-align: middle;
  padding-bottom: 2px;
  margin-right: 4px;
  color: black
}
#info-text a {
  background-image: url('../img/link.svg');
  background-repeat: no-repeat;
  background-size: 14px;
  background-position: left center;
  padding-left: 20px;
}
.imprint .text-column a::before {
  display: none;
}
.text-column a::before {
  width: 20px;
}
.text-column h5 a::before, .text-column .p5 a::before, .text-column a.p5::before {
  width: 12px;
  padding-bottom: 0;
}
.text-column h6 a::before, .text-column .p6 a::before, .text-column a.p6::before {
  width: 9px;
  padding-bottom: 0;
}

.fg-audio-container {
  margin-top: var(--margin-foreground);
}

.hidden {
  display: none;
}

.slide-index {
  align-self: flex-end; 
}

.project-title {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: var(--font-size-very-small);
}

.slide-left .info-background {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--slide-width);
  height: 100%;
  background: white;
  z-index: 3;
  display: none;
}
.overlay-on .info-background {
  display: block;
}

/* for chrome */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(155, 155, 155, 0.5);
  border-radius: 20px;
  border: transparent;
}