:root {
    --experiment-width: 200px;
    --experiment-height: 200px;
    --animation: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overscroll-behavior: none;
}

html {
    /* Statusleiste überlagern lassen (black-translucent) */
    height: 100%;
    height: -webkit-fill-available; /* Safari */
}

body {
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    min-height: -webkit-fill-available; /* Safari */
    /* Safe Area für Geräte mit Notch (iPhone X+) */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    /* Statusleiste-Höhe berücksichtigen (ca. 44px auf iOS) */
    padding-top: max(env(safe-area-inset-top), 0px);
}

/* Im Standalone-Modus: Statusleiste überlagern */
@supports (padding: max(0px)) {
    body {
        padding-top: max(env(safe-area-inset-top), 20px); /* Mindestens 20px für Statusleiste */
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    text-align: center;
    z-index: 1000;
    width: 60vw;
    left: 50%;
    transform: translateX(-50%);
    /* Statusleiste-Höhe berücksichtigen (ca. 44px auf iOS) */
    top: calc(100px + env(safe-area-inset-top, 0px));
    z-index: 9;
}

header h1 {
    font-size: 72px;
    font-weight: 400;
    color: #000;
    margin-bottom: 20px;
}

header p {
    font-size: 32px;
    font-weight: 400;
    color: #000;
}
.experiment {
   width: calc(80vw / 3);
   height: calc(calc(80vw / 3) / 2);
   background-color: #f0f0f0;
   position: fixed;
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-direction: row;
   overflow: hidden;
   transition: var(--animation);
   /* Abstrakte Farbvariablen - werden pro Experiment gesetzt */
   --color-left: #c71b1b;
   --color-right: #1bc71b;
   --color-slider1: #1b7bc7;
   --color-slider2: #c71b85;
    top: 50%;
}

#experiment1 {
    left: 5vw;
   
}
#experiment2 {
    left: calc(calc(80vw / 3) + 10vw);
  
}
#experiment3 {
  
    left: calc(calc(80vw / 3) * 2 + 15vw);

}
.experiment-selected {
    width: 100vw;
    height: 100vh;
    left: 0 !important;
    top: 0 !important;

   
}




.experiment-left {
    width: 50%;
    height: 100%;
    background-color: var(--color-left);
}

.experiment-right {
    width: 50%;
    height: 100%;
    background-color: var(--color-right);
}

.experimentSlider1 {
    width: 20%;
    height: 20%;
    background-color: var(--color-slider1);
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    cursor: grab;
    user-select: none;
}

.experimentSlider2 {
    width: 20%;
    height: 20%;
    background-color: var(--color-slider2);
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translate(50%, -50%);
    cursor: grab;
    user-select: none;
}
.close {
    width: 40px;
    height: 40px;
    /* background-color: #000; */
    position: fixed;
    top: 30px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    display: none;
}