@font-face {
    font-family: FOT RodinHappy;
    src: url(/public/dist/assets/RodinHappyPro-M-C9olLY4l.woff2) format("woff2");
    font-style: normal;
    font-weight: 500;
}
@font-face {
    font-family: FOT RodinHappy;
    src: url(/public/dist/assets/RodinHappyPro-Slant-ChqdIpUc.woff2) format("woff2");
    font-style: italic;
    font-weight: 500;
}
:root {
    --text-s: 0.8rem;
    --text-l: 1.2rem;
    --lineheight: 1.45em;
    --color-text: rgb(100, 100, 100);
    --color-hover: rgb(33, 33, 33);
    --margin-x: 1.9rem;
    --margin-y: 1rem;
}
@media (max-aspect-ratio: 8/7) {
    :root {
        --margin-x: 0.6rem;
        --margin-y: 0.8rem;
    }
}
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "case" 1;
}
html,
body {
    font-family: FOT RodinHappy, sans-serif;
    font-size: 15.5px;
    -webkit-text-stroke: 0.5px var(--color-text);
    letter-spacing: 0.05em;
    line-height: var(--lineheight);
    color: var(--color-text);
    margin: 0;
    background-color:white;
}
html body * {
    box-sizing: border-box;
}
html body *::selection,
.image-overlay-text::selection {
    color: #000 !important;
    background-color: #ffffff03 !important;
}
@media (max-aspect-ratio: 8/7) {
    body {
        font-size: 15px;
        padding-bottom: calc(2 * var(--margin-y));
    }
}
.ant {
    width: 100vw;
    height: 100svh;
    padding: 2%;
}
svg {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
svg * {
    stroke-width: 1.1rem;
}
nav#info {
    position: fixed;
    left: var(--margin-x);
    top: var(--margin-y);
    mix-blend-mode: difference;
}
nav#info p:first-of-type {
    margin-top: 0;
    padding-top: 0;
}
body.information main#archive,
body.imprint main#archive {
    display: none;
}
section.projekt {
    flex-direction: row;
    width: 100%;
    position: relative;
}
section.projekt-bilder {
    display: flex;
    flex-direction: column;
    width: 100%;
}
figure {
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100svh;
    padding: calc(var(--margin-y) + 2.45rem + 0.1rem) 0;
    width: 100%;
    background-clip: content-box;
}
.projekt.lines-2 figure {
    padding: calc(var(--margin-y) + var(--lineheight) * 2 + 1rem) 0;
}
.projekt.lines-3 figure {
    padding: calc(var(--margin-y) + var(--lineheight) * 3 + 1rem) 0;
}
@media (max-aspect-ratio: 8/7) {
    figure {
        height: auto;
        padding: 2rem 0;
    }
    .projekt-bilder figure:first-of-type {
        padding-top: 1rem;
    }
}
figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}
section.projekt-description {
    width: 100%;
    height: 100%;
    left: 0%;
    position: absolute;
    color: var(--color-text);
    top: 0;
    margin: 0;
    pointer-events: none;
}
@media (max-aspect-ratio: 8/7) {
    section.projekt-description {
        mix-blend-mode: normal;
    }
}
section.description-inner {
    position: sticky;
    padding: var(--margin-y) var(--margin-x);
    background-color: #fff;
    top: 0;
    margin: 0;
}
@media (max-aspect-ratio: 8/7) {
    section.description-inner {
        background-color: #fff;
    }
}
section.description-inner p,
section.projekt-description-spacer p {
    margin: 0;
}
section.projekt-description-spacer {
    display: none;
    padding: calc(2 * var(--margin-y)) var(--margin-x);
    padding-bottom: 0;
}
@media (max-aspect-ratio: 8/7) {
    section.projekt-description-spacer {
        display: block;
        visibility: hidden;
    }
}
nav.ant {
    --width: 8.5mm;
    --dpi: 1;
    position: fixed;
    right: var(--margin-x);
    bottom: var(--margin-y);
    width: calc(var(--width) * sqrt(var(--dpi)));
    height: auto;
    cursor: pointer;
    margin: 0;
    padding: 0;
}
body.dpi-2 nav.ant {
    --dpi: 2;
}
body.dpi-3 nav.ant {
    --dpi: 3;
}
nav.ant svg {
    width: 100%;
    height: 100%;
}
#information {
    position: relative;
    padding: var(--margin-y) var(--margin-x);
    display: none;
}
#information p:first-of-type {
    margin-top: 0;
}
body.information #information {
    display: block;
}
#track {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}
#track.active {
    z-index: 99;
}
#track {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
canvas {
    position: fixed;
    top: 0;
}
footer {
    margin: calc(var(--margin-y) + 0.1rem) var(--margin-x);
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
}
footer li {
    cursor: pointer;
}
footer li:hover {
    color: var(--color-hover);
}
@media (max-aspect-ratio: 8/7) {
    footer {
        display: inline-block;
    }
    li {
        display: inline-block;
    }
}
body.information footer {
    display: none;
}
#imprint {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #fff;
    padding: var(--margin-y) var(--margin-x);
    display: none;
}
body.imprint #imprint {
    display: block;
}
