/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 * ALLGEMEINES
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

@font-face {
    font-family: "Taz Light";
    src: url("font/Taz_300_.woff");
}

@font-face {
    font-family: "Taz Bold";
    src: url("font/Taz_500_.woff");
}

* {
    padding: 0;
    margin: 0;
    /* cursor: default; */
    user-select: none;
}

body {
    font-family: "Taz Light", Helvetica, sans-serif;
    font-size: 16px;
}

html {
    overflow-x: hidden;
}

#def-flasche {
    opacity: 0;
    position: absolute;
}

.stage {
    position: fixed;
    height: 100%;
}

.fliessband {
    position: absolute;
    width: 110vw;
    height: 2.5vw;
    background: url(images/fliessband.svg);
    background-size: cover;
    background-repeat: repeat-x;
    z-index: 44;
    bottom: 15.5vw;
}

.auf-fliessband-unten {
    bottom: 18vw;
}

.flasche {
    position: inherit;
    width: 3vw;
    transform: translateX(-1.5vw);
}

#bg1 {
    position: fixed;
    bottom: 12vw;
    width: 1000vw;
    height: calc(90% - 12vw);
    background: url(images/stadt_hintergrund.svg);
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: contain;
    z-index: -100;
    will-change: transform, opacity;
}

#bg2 {
    position: fixed;
    width: 1000vw;
    bottom: 12vw;
    height: calc(80% - 12vw);
    background: url(images/haus_hintergrund.svg);
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: contain;
    z-index: -99;
    will-change: transform, opacity;
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 * Nav
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */


.innernav {
    bottom: 0;
    left: 50vw;
    z-index: 9998;
    max-height: 100vh;
    position: fixed;
    width: 60vw;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #003f6f;
    border-radius: 5px 5px 0px 0px;
    transform: translateX(-50%) translateY(0%);
}

.innernav a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 1.3em;
    text-align: center;
    flex-grow: 1;
    padding: 18px 5px;
    transition: 0.2s;
    cursor: pointer;
    transition: 0.2s cubic-bezier(0.2, 0.8, 0, 1);
}

.innernav a::before {
    content: "";
    left: 0;
    top: -10%;
    position: absolute;
    height: 110%;
    width: 100%;
    background-color: #08528a;
    border-radius: 0.4vw 0.4vw 0px 0px;
    transform: translateY(110%);
    opacity: 0;
    z-index: -1;
    transition: 0.2s cubic-bezier(0.2, 0.8, 0, 1);
}

.innernav .active::before {
    transform: translateY(0%);
    opacity: 1;
    transition: 0.2s cubic-bezier(0.2, 0.8, 0, 1);
}

.innernav a:hover::before {
    transform: translateY(0%);
    opacity: 1;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.15);
}

.innernav a:hover {
    z-index: 9999;
}

.nav-active {
    opacity: 1 !important;
    margin-bottom: 0px !important;
    transform: translateX(-50%) translateY(0%) !important;
}

/* Hamburger Icon*/
#nav-button {
    z-index: 9999;
    display: none;
    
}
.hamburger-box {
    width: 30px;
    height: 30px;
    display: block;
    position: fixed;
    bottom: 4vw;
    right: 4vw;
    cursor: pointer;
    z-index: 9999;
    padding: 5px;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: #003f6f;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0, 1);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/*
* Collapse
*/

.hamburger--collapse .hamburger-inner {
    top: auto;
    bottom: 8px;
    transition-duration: 0.13s;
    transition-delay: 0.13s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse .hamburger-inner::after {
    top: -20px;
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}

.hamburger--collapse .hamburger-inner::before {
    transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse.is-active .hamburger-inner {
    transform: translate3d(0, -10px, 0) rotate(-45deg);
    transition-delay: 0.22s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--collapse.is-active .hamburger-inner::after {
    top: 0;
    opacity: 0;
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear;
}

.hamburger--collapse.is-active .hamburger-inner::before {
    top: 0;
    transform: rotate(-90deg);
    transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 * Sidefacts
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

.hinweis-wrapper {
    z-index: 9998;
    position: fixed;
    top: 6vw;
    left: 63vw;
    animation: ease-in-out 1s shake infinite;
    cursor: pointer;
}

.hinweis-wrapper::before,
.hinweis-wrapper::after {
    content: "";
    height: 0.7px;
    width: 15px;
    background: #005B9B;
    display: block;
    position: absolute;
    right: 5px;
    top: 12px;
    transform-origin: center;
    z-index: 9998;
}

.hinweis-wrapper::before {
    transform: rotate(45deg);
}

.hinweis-wrapper::after {
    transform: rotate(-45deg);
}

.hinweis {
    position: relative;
    width: 5vw;
    border-radius: 5px;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    padding: 20px;
    color: #005B9B;
    text-align: center;
    cursor: pointer;
}

.hinweis::before,
.hinweis::after {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    transform: translateX(-50%) rotate(45deg);
    transform-origin: center;
    background: #ffffff;
}

.hinweis::before {
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.15);
    z-index: -1;
}

@keyframes shake {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.sidefacts {
    position: fixed;
    top: 2vw;
    left: 50vw;
    width: 30vw;
    z-index: 9997;
    border-radius: 5px;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    will-change: transform;
}

.sidefacts h2 {
    color: #ffffff;
    font-weight: normal;
    font-size: 2.2em;
    padding: 0;
    margin: 0;
    background-color: #003f6f;
    padding: 20px 30px;
    border-radius: 0.3vw 0.3vw 0 0;
    font-family: 'Taz Light';
}

.sidefacts .collapsible {
    cursor: pointer;
}

.sidefacts h2 span {
    position: absolute;
    right: 30px;
    display: inline-block;
    height: 30px;
    width: 30px;
    top: 23px;
    transform: rotate(0deg);
    transition: 0.7s cubic-bezier(0.2, 0.8, 0, 1);
    cursor: pointer;
}

.sidefacts h2 .spanrotate {
    transform: rotate(180deg);
}

.sidefacts h2 span::before, .sidefacts h2 span::after {
    content: "";
    height: 2px;
    width: 20px;
    background: #ffffff;
    display: block;
    position: absolute;
    top: 10px;
}

.sidefacts h2 span::before {
    left: 2px;
    transform: rotate(45deg);
    transform-origin: center left;
}
.sidefacts h2 span::after {
    right: 1px;
    transform: rotate(-45deg);
    transform-origin: center right;
}

.sidefacts article {
    color: #ffffff;
    font-size: 1.3em;
    padding: 0 30px;
    background-color: #005B9B;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.2, 0.8, 0, 1);
    height: 0;
}

.sidefacts article.show {
    height: auto;
}

.sidefacts p,
.sidefacts ul {
    padding: 0;
    margin: 0;
}

.sidefacts article>ul {
    padding: 10px 0;
}

.sidefacts li {
    padding: 10px 0;
}

.sidefacts li ul {
    margin-left: 20px;
}

.sidefacts li ul li {
    padding: 5px 0;
}

#mouse{
    position: fixed;
    bottom: 7vw;
    left: 50vw;
    transform: translateX(-50%);
    z-index: 9997;
    animation: ease-in-out 1s shake infinite;
}

#mouse-svg {
    width: 30px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

#mouse p{
    position: relative;
    color: #005B9B;
    left: 50%;
    transform: translateX(-50%);
}
#mouse #arrow {
    left: 50%;
    transform: translateX(-50%);
    height: 20px;
    width: 20px;
    position: relative;
}

#mouse #arrow::before, #mouse #arrow::after {
    content: "";
    height: 2px;
    width: 13px;
    background: #005B9B;
    display: block;
    position: absolute;
    top: 10px;
}

#mouse #arrow::before {
    left: 2px;
    transform: rotate(45deg);
    transform-origin: center left;
}
#mouse #arrow::after {
    right: 1px;
    transform: rotate(-45deg);
    transform-origin: center right;
}
/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 *
 * STAGE 1
 * STYLING FUER DEN WILKOMMENS-SCREEN
 *
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

#stage1 {
    z-index: 9990;
    width: 100vw;
    will-change: transform;
}

#stage1 .wolke {
    position: absolute;
    will-change: transform, opacity;
}

#wolke1 {
    width: 25vw;
    left: -4vw;
    top: 1vw;
}

#wolke2 {
    width: 10vw;
    right: 10vw;
    top: 15vw;
}

#wolke3 {
    width: 40vw;
    left: 20vw;
    bottom: -10vw;
}

#stage1 #startBackground {
    width: 100vw;
    min-height: inherit;
}

#stage1 #ueberschrift {
    position: relative;
    top: 20%;
    text-align: center;
    color: #005B9B;
}

#stage1 #preheading {
    font-weight: normal;
    margin-top: 1vw;
    font-size: 2em;
    font-family: 'Taz Light';
}

#stage1 #startUeberschrift {
    font-weight: normal;
    font-size: 3.8em;
    font-family: 'Taz Light';
}

#stage1 #anfangsflasche {
    position: absolute;
    left: 50vw;
    top: 25%;
    will-change: transform;
}

#stage1 #anfangsflasche svg {
    transform: translateX(-75%) translateY(-50%);
}

#container-maske {
    top: 0;
    left: 0;
    width: 100vw;
    height: 200%;
    position: absolute;
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 *
 * STAGE 2
 * Container
 *
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

#stage2 {
    width: 100vw;
    z-index: 10;
}

#stage2 #LKW {
    position: absolute;
    z-index: 200;
    bottom: 6vw;
    width: 70vw;
    will-change: transform;
}

#stage2 #lastwagen {
    position: absolute;
    bottom: 2.4vw;
}

#stage2 .lkw_rad {
    width: 9.5vw;
    position: absolute;
    bottom: 0;
    will-change: transform;
}

#stage2 #vorder_rad_wrapper {
    transform: translateX(54.65vw);
}

#stage2 #mittleres_rad_wrapper {
    transform: translateX(18.1vw);
}

#stage2 #hinter_rad_wrapper {
    transform: translateX(5.7vw);
}

#stage2 .container {
    width: 15vw;
    position: absolute;
    bottom: 8vw;
    will-change: transform;
}

#stage2 #containerflaschen {
    width: auto;
    z-index: 300;
    bottom: 23vw;
    position: absolute;
    will-change: transform, opacity;
}

#stage2 #containerflaschen .flasche {
    will-change: transform;
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 *
 * STAGE 3
 *
 *
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

#stage3 {
    z-index: 9;
    will-change: transform;
}

#stage3 #recFabrik {
    position: absolute;
    width: 90vw;
    bottom: 8vw;
    z-index: 0;
    will-change: transform;
}

#stage3 #recMaschine {
    position: absolute;
    z-index: 55;
    width: 100vw;
    bottom: 6vw;
    text-align: center;
}

#stage3 #recMaschine img {
    width: 16.2vw;
}

#stage3 #fliessband1 {
    background-position: left;
    width: 125.4vw;
    left: -8vw;
    will-change: transform;
}

#stage3 #flaschen-wrapper {
    z-index: 300;
    position: absolute;
    height: 100%;
    z-index: 49;
    will-change: opacity;
}

#stage3 #flaschen-wrapper .flasche {
    will-change: transform;
}

#stage3 #scherben {
    z-index: 49;
    width: 50vw;
    position: absolute;
    will-change: transform;
}

#stage3 #scherben-wrapper {
    position: absolute;
    z-index: 49;
    height: 100%;
    width: 190vw;
    clip: rect(0vw, 178.05vw, 62.5vw, 57.48vw);
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 *
 * STAGE 4
 *
 *
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

#stage4 {
    z-index: 8;
    will-change: transform;
}

#stage4 #glashuette_fabrik {
    position: absolute;
    width: 90vw;
    z-index: 0;
    bottom: 8vw;
    left: -2vw;
    will-change: transform;
}

#stage4 #fliessband1 {
    transform: translateX(-25.85vw);
    background-position: left;
    width: 60vw;
    bottom: 29vw;
}

#stage4 #fliessband2 {
    transform: translateX(58.6vw);
    background-position: left;
    width: 71vw;
}

#stage4 #fliessband3 {
    transform: translateX(-39vw);
    background-position: right;
    width: 75vw;
}

#stage4 #rohstoffe-wrapper {
    clip: rect(0vw, 34.6vw, 62.5vw, -100vw);
    position: absolute;
    width: 100vw;
    z-index: 45;
    height: 100%;
}

#stage4 #rohstoffe {
    position: inherit;
    width: 50vw;
    bottom: 31.5vw;
    will-change: transform, opacity;
}

#stage4 #glas_maschine_wrapper {
    position: absolute;
    z-index: 60;
    width: 100vw;
    bottom: 6vw;
    text-align: center;
}

#stage4 #glas_maschine {
    position: relative;
    z-index: 50;
    width: 43.9vw;
    /* mal 1,6*/
}

#stage4 #glas_maschine #temperatur_messer_hintergrund {
    will-change: transform;
}

#stage4 #glastropfen-wrapper {
    position: absolute;
    display: inline;
    clip: rect(15vw, 100vw, 20vw, 0vw);
    z-index: 30;
    left: 58.8vw;
}

#stage4 .glastropfen {
    position: inherit;
    width: 0.8vw;
    height: auto;
    z-index: 30;
    will-change: transform;
}

#stage4 #flaschen {
    z-index: 44;
    position: absolute;
    height: 100%;
    will-change: transform;
}

#stage4 #flaschen .flasche {
    will-change: transform, opacity;
}

#stage4 #flaschen #flasche1 {
    will-change: transform;
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 *
 * STAGE 5
 *
 *
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

#stage5 {
    z-index: 7;
    will-change: transform;
}

#stage5 #abfueller-wrapper {
    position: inherit;
    z-index: 1;
    bottom: 6vw;
    width: 100vw;
    text-align: center;
}

#stage5 #abfueller {
    width: 18.5vw;
}

#stage5 #backgroundHuette {
    position: absolute;
    bottom: 8vw;
    width: 70vw;
    z-index: 0;
    left: 15vw;
    will-change: transform, opacity;
}

#stage5 #fliessband1 {
    background-position: right;
    width: 125.4vw;
    will-change: transform;
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 *
 * WASSERSTRAHL
 *
 *
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

#wasserstrahlStage {
    z-index: 8;
    will-change: transform, opacity;
}

#wasserstrahlStage .wasserstrahl {
    width: 0.3vw;
    position: absolute;
    bottom: 20vw;
    text-align: center;
    left: 49.8vw;
    bottom: 0;
    will-change: transform, opacity;
}

#wasserstrahlStage #wasserstrahlWrapper {
    position: absolute;
    clip: rect(0vw, 100vw, 4.9vw, 0vw);
    bottom: 18vw;
    width: 100vw;
    height: 4.9vw;
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 *
 * STAGE 6
 *
 *
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

#stage6 {
    width: 100vw;
    z-index: 6;
    will-change: transform;
}

#stage6 #regal {
    position: absolute;
    text-align: center;
    bottom: 4vw;
    width: 100vw;
    will-change: transform;
}

#stage6 #regal img {
    width: 19.1vw;
    will-change: opacity;
}

#stage6 #background_store {
    position: absolute;
    width: 19.1vw;
    bottom: 6vw;
    will-change: transform;
}

#stage6 #background_store img {
    will-change: opacity;
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 *
 * STAGE 7
 *
 *
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

#stage7 {
    will-change: transform;
}

#stage7 #wohnzimmerHintergund {
    position: absolute;
    width: 100vw;
    bottom: 6vw;
    text-align: center;
    will-change: transform;
}

#stage7 #wohnzimmerHintergund img {
    width: 80vw;
    will-change: opacity;
}

#stage7 #wohnzimmerTisch {
    position: absolute;
    width: 100vw;
    bottom: 4vw;
    text-align: center;
    will-change: transform;
}

#stage7 #wohnzimmerTisch img {
    width: 33.2vw;
    will-change: opacity;
}

#stage7 #wohnzimmerStuehle {
    position: absolute;
    width: 100vw;
    bottom: 4.5vw;
    text-align: center;
    will-change: transform;
}

#stage7 #wohnzimmerStuehle img {
    width: 26vw;
    will-change: opacity;
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 *
 * STAGE 8
 *
 *
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

#stage8 {
    height: 100%;
}

#stage8 #Kreislauf {
    width: 30vw;
    position: absolute;
    left: 27.5vw;
    bottom: 28.125vw;
    transform: translateX(-50%) translateY(50%);
    will-change: transform;
}

#abspann {
    z-index: 9995;
    position: fixed;
    left: 50vw;
    width: 40vw;
    bottom: 13vw;
}

#abspann h2 {
    color: #005B9B;
    font-weight: normal;
    font-size: 2.2em;
    padding: 0;
    margin: 0;
    padding: 20px 0px;
    font-family: 'Taz Light';
}

#abspann article {
    color: #005B9B;
    font-size: 1.3em;
}

#abspann article>ul {
    padding: 10px 0;
    margin-bottom: 10px;
}

#abspann li {
    padding: 10px 0;
}

#credits {
    position: relative;
    left: -15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0px 0;
}

#credits #beteiligung{
    margin-left: 15px;
    margin-bottom: 10px;
    width: 100%;
}

#credits #hsd-logo {
    text-align: left;
    flex-basis: 100%;
    margin: 20px 0 0 15px;
}

#credits #hsd-logo img,
#credits #hsd-logo a {
    width: 40%;
    height: auto;
    cursor: pointer;
}

#credits .teammitglied {
    flex-basis: auto;
    margin: 15px;
    color: #005B9B;
    font-size: 0.9em;
}

#abspann-sidefact{
    display: none;
}

#abspann-sidefact #credits {
    font-size:0.8em;
    margin: 20px 0;
}
#abspann-sidefact #credits .teammitglied {
    color: #ffffff;
    
}

#abspann-sidefact #credits #beteiligung{
    margin-bottom: 20px;
}

#abspann-sidefact footer li a {
    color: #ffffff;
}

#abspann-sidefact footer li a:hover {
    background: #003f6f;
}
#credits .teammitglied span.aufgabe {
    display: block;
    font-size: 0.8em;
    font-style: italic;
}

footer {
    margin-top: 20px;
    position: relative;
    left: -15px;
    will-change: transform;
}

footer ul {
    margin: 0;
}

footer li {
    cursor: pointer;
    display: inline;
    text-decoration: none;
    margin: 10px;
}

footer li a {
    cursor: pointer;
    text-decoration: none;
    color: #005B9B;
    padding: 5px;
    border-radius: 5px;
}

footer li a:hover {
    background: #005B9B;
    color: #ffffff;
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 * Media Queries
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

@media only screen and (max-width: 2000px) {
    .innernav {
        width: 80vw;
    }
    #abspann {
        bottom: 8vw;
    }
}
@media only screen and (max-width: 1700px) {
    .sidefacts {
        width: 40vw;
    }
    .hinweis-wrapper {
        top: 8vw;
        left: 67vw;
    }
    .hinweis {
        width: 7vw;
    }
    #abspann {
        width: 48vw;
    }
}

@media only screen and (max-width: 1350px) {
    .sidefacts {
        width: 50vw;
    }
    .hinweis-wrapper {
        top: 9vw;
        left: 72vw;
    }
    .hinweis {
        width: 8vw;
    }
    .innernav {
        width: 95vw;
    }
    .innernav a {
        padding: 15px 5px;
    }
}

@media only screen and (max-width: 1000px) {
    .hinweis-wrapper {
        top: 12vw;
        left: 81vw;
    }
    .hinweis {
        width: 12vw;
    }
    .sidefacts {
        width: 70vw;
        top: 5vw;
    }

    .sidefacts h2 {
        font-size: 1.5em; 
    }

    .sidefacts h2 span{
        width: 20px;
        height: 20px;
        top: 19px;
    }

    .sidefacts h2 span::before, .sidefacts h2 span::after {
        width: 12.5px;
        height: 1px;
        top: 5px;
    }

    #stage1 #preheading {
        font-weight: normal;
        margin-top: 1vw;
        font-size: 1.3em;
        font-family: 'Taz Light';
    }
    
    #stage1 #startUeberschrift {
        font-weight: normal;
        font-size: 2em;
        font-family: 'Taz Light';
    }

    body {
        font-size: 12px;
    }

    #nav-button {
        display: initial;
    }

    .innernav {
        flex-direction: column;
        transform: translateX(-50%) translateY(100%);
        transition: all 0.6s ease;
        font-size: 1.3em;
        justify-content: flex-start;
        padding: 20px;
        align-items: flex-start;
        width: 50vw;
        transition: 0.7s cubic-bezier(0.2, 0.8, 0, 1);
    }

    .innernav a{
        padding: 10px;
        margin: 5px 0;
        border-radius: 5px;
    }
    .innernav a:hover {
        background: #08528a;
    }

    .innernav a::before{
        display: none;
    }

    .innernav .active {
        background: #08528a;
    }
    #abspann-sidefact{
        display: initial;
    }
    #abspann{
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .hinweis-wrapper {
        top: 18vw;
        left: 78vw;
    }
    .hinweis {
        width: 20vw;
    }
    .hamburger-box {
        right: 7vw;
        bottom: 7vw;
    }
    .innernav {
        width: calc(100vw - 40px);
    }

    .is-active .hamburger-inner,
    .is-active .hamburger-inner::before,
    .is-active .hamburger-inner::after {
    background-color: #fff;
}
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 * Seitenverhaeltnis beibehalten
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

@media (max-aspect-ratio: 8/5) {
    #main-window {
        width: 100vw;
        height: 62.5vw;
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        overflow: hidden;
    }
}

/*
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 * Portraitmode: Splitscreen Main - Sidefacts
 * = = = = = = = = = = = = = = = = = = = = = =
 * = = = = = = = = = = = = = = = = = = = = = =
 */

/*
@media (max-aspect-ratio: 1/1) {
    #main-window{
       top: 32%;
    }

    .sidefacts{
        position: absolute;
        display: block;
        top: 90%;
        transform: none;
        overflow: visible !important;
        will-change: transform;
    }



}*/

/* end Media querie */