

@font-face {
    font-family: 'Roboto Mono';
    src: url('fonts/RobotoMono_wght.woff2') format('woff2');
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Mono'; 
    src: url('fonts/RobotoMono-Italic_wght.woff2') format('woff2');
    font-weight: 100 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/materialicons.woff2') format('woff2');
}
/*
@font-face {
    font-family: 'Kingthings Trypewriter';
    src: url('fonts/Kingthings_Trypewriter_2-webfont.woff') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
*/
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  position: relative;
  top: 0.1em;
  width: 1.2em;
  height: 1em;
}
:root {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    letter-spacing: normal;
  text-transform: none;
    direction: ltr;
}

body {
    font-family: 'Roboto Mono';
    font-size: calc(max(min(min(1svw, 1svh) * 0.5 + 10px, 34px), 12.01px));
    font-weight: 320;
    line-height: 1.5em;
    color: #000000;
    --wh: min(calc(100svw + 64px), calc(10svh + 64px));
}
*:focus-visible{
    outline: solid 4px #00ff00;
}
h1,
h2,
h3,
strong,
a {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

em {
  font-style: italic;
}
strong{

}
h1,
h2,
h3,
strong {
  font-weight: 600;
}

html,
body {
    margin: 0;
    width: 100%;
    overflow: hidden;
}

p{
    margin: 0;    
    padding: 0;
}
p:not(:last-child) {
    margin-bottom: 1.5em;
}

header {
    position: fixed;
    font-family: inherit;
    font-style: inherit;
    display: flex;
    bottom: 2em;
    right: 0px;
    z-index: 99;
}

nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: end;
}

button {
    display: flex;
    font-family: inherit;
    font-style: inherit;
    font-size: inherit;
    color: #000000;
    background: transparent;
    border: 0;
    background-color: #ffffff;
    box-decoration-break: clone;
    padding: 0.25em 0.5em;
    appearance: none;
    align-items: center;
    transition: font-weight 0.3s;
    font-weight: inherit;
    border: solid 4px white;
}

canvas {
    display: block;
    position: fixed;
    top: -32px;
    left: -32px;
    width: calc(100svw + 64px);
    height: calc(100svh + 64px);

    z-index: 0;
}

main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none;
}

a,
*[onclick] {
    pointer-events: all;
    cursor: pointer;
}
a{
    transition: font-weight 0.3s;
}
a:hover{
    font-weight: 500;
}
.fenster {
    display: flex;
    width: fit-content;
    max-width: min(100%, 725px);
    height: fit-content;
    box-sizing: border-box;
    padding: 1em 1.25em;
    background: #000000;
    color: white;
    column-gap: 1.5em;
    transform-origin: top left;
    border: solid 4px;
    pointer-events: all;
    contain: content;
    transform: translate3d(0,0,0);
    backface-visibility: hidden;
}

.fenster .fenster_grip{
    position:absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    cursor: grab;
    z-index: 1;
}
.fenster[is-dragging] .fenster_grip{
    cursor:grabbing;
}
.fenster .fenster_content{
    z-index:2;
    pointer-events:none;
}

.screen {
    z-index: 10;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100svw;
    max-height: 100svh;
    height: 100svh;
    overflow: auto;
    will-change: transform;
    transition: transform 0.15s ease-in-out,  scale 0.3s ease-in-out, filter 0.3s, visibility 0s 0.3s;
    transform: scaleY(0.1);
    filter: contrast(0) brightness(2);
    scale: 0;
    backface-visibility: hidden;
    padding: 2em;
    box-sizing: border-box;
    visibility: hidden;
}

.fenster_closebt {
    position: sticky;
    top: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2em;
    width: 2em;
    box-sizing: border-box;
    flex-shrink: 0;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
    z-index: 9;
}

.screen[is-current]{
    scale: 1;
    transform: scaleY(1);
    filter: contrast(1) brightness(1);
    z-index: 9;
    visibility: visible;
    transition: transform 0.15s ease-in-out,  scale 0.3s ease-in-out, filter 0.3s, visibility 0s 0s;
}

header nav button[is-current] {
    background: #000000;
    color: white;
    font-weight: 700;
    border: solid 4px;
}
footer {
    display: block;
    position: absolute;
    bottom: 0;
    font-size: max(0.75em, 12.01px);
    left: 0;
    z-index: 98;
}
footer button {
    background: #c8c8c8;
    border-top-right-radius: 8px;
    border: solid 4px #c8c8c8;
}

ul, li {
    display: contents;
    appearance: none;
    margin: 0;
    padding:0;
}
li:not(:last-child):after {
    content:", ";
}

h2{
    margin-bottom: 1.5em;
}
h1{
    display: none;
}