/* ================================
  CSS RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-size: 100%;
  }
  
  ol,
  ul {
    list-style: none;
  }
  
  img,
  video {
    width: 100%;
  }
  
  a {
    color: rgb(0, 0, 255);
    text-decoration: none;
  }
  
/* ================================
  FONTS
================================ */

@font-face {
    font-family: "sombra";
    src: url("../fonts/Sombra-Regular.otf") format("opentype");
}

@font-face {
    font-family: "sombra-medium";
    src: url("../fonts/Sombra-Medium.otf") format("opentype");
}

@font-face {
    font-family: "serifebabe-sigma";
    font-weight: normal;
    src: url("../fonts/SerifbabeSIGMA-Regular.otf") format("opentype");
}

/* ================================
  VARIABLEN
================================ */

:root{
    --backgroundcolor: #b8a3ff;
    --main-color: rgb(0, 0, 255);
}

/* ================================
  MAIN LAYOUT
================================ */

body {
    width: 100vw;
    height: 100svh;
    color: var(--main-color);
    font-family: "sombra";
}

.page-wrapper {
    width: 100vw;
    height: 100svh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: scroll;
    padding: 2vw 3vw;
    background: rgb(0, 0, 255);
    background: linear-gradient(0deg, rgba(0,0,255,1) 0%, rgba(184,163,255,1) 60%);
}

.page-wrapper-muster {
    overflow-y: hidden; 
}

.gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    z-index: -1;
}

/* ================================
  LANDING PAGE
================================ */

.landing-page-wrapper {
    height: 100svh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

h1 {
    width: 70vw;
    font-family:"sombra-medium";
    font-size: 11.7vw;
    text-align: right;
    line-height: 9.5vw;
    color: var(--main-color);
    margin-right: 3vw;
    margin-bottom: -25vw;
}

.h1-landing-page {
    margin-bottom: 5vw;
}

.auszeichnung {
    font-family: "serifebabe-sigma";
    padding-right: 3rem;
}

.landing-nav-wrapper {
    width: 70vw;
    display: flex;
    justify-content: center;
    gap: 3vw;
    font-family: "serifebabe-sigma";
    font-size: 6vw;
    margin-bottom: -5vw;
}

.landing-nav-wrapper a {
    color: var(--backgroundcolor);
}

/* .landing-nav-wrapper a:hover {
    font-family: "sombra-medium"; */
/* } */


/* ================================
  ABOUT
================================ */

.nav-wrapper {
  display: flex;
  justify-content: space-between;
}

.logo {
    font-size: 2vw;
    width: auto;
    line-height: 1.8vw;
}

.logo .auszeichnung {
padding: 0.4vw;
}

.nav-wrapper div {
    display:flex;
    gap: 2vw;
    align-items: center;
}

.nav-wrapper div a {
    font-family: "serifebabe-sigma";
    font-size: 2vw;
}

.nav-muster {
    position: fixed;
}

.nav-muster div {
    position: fixed;
    right: 3vw;
}

.active-page {
    font-family: "sombra-medium" !important;
    /* Die x-Höhe der Schriften funktioniert nicht gut zusammen weshalb es einen kleinen Sprung gibt, deshalb habe ich diesen mit einem Abstand von oben angepasst aber dies funktioniert nur bei Chrome */
    margin-top: 0.2vw; 
}

section{
    width: 70vw;
    margin: 5vw 0 15svw 5.4vw;
}

h3 {
    font-size: 2.5vw;
    font-family: "serifebabe-sigma";
    cursor: pointer;
}

h3::before {
    content: "→ ";
    font-family: "sombra";
}

h4 {
    font-size: 1.7vw;
    font-family: "serifebabe-sigma";
    margin-bottom: 0.5vw;
}
.intro,
.copy-text {
    font-size: 1.4vw;
    line-height: 2vw;
    /* hyphens: auto; */
    margin-bottom: 3vw;
}

.mailto {
    text-decoration: underline;
}

.copy-text {
    margin-top: 0.5vw;
    margin-bottom: 2vw;
    padding-left: 8vw;
}

.active {
    display: block !important;
}

.breakpoint {
    display: flex;
    justify-content: center;
    padding: 0.75vw 0vw;
    font-style: italic;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}

.image-wrapper {
    display: flex;
    justify-content: center;
}

.bewusstseinsebenen {
    width: 50vw;
    height: auto;
}

/* ================================
  MUSTER-ÜBERSICHT
================================ */

.gallery-wrapper{
    height: 40vw;
    width: fit-content;
    margin: 7vw 0vw;
    display: flex;
    gap: 2vw;
    overflow-x: scroll !important;
}

.muster-image {
    width: 40vw;
    height: 40vw;
    background-color: lightgrey;
    object-fit: cover;
}

/* ================================
  MUSTER
================================ */

.muster-wrapper {
    width: 100vw;
    height: 87svh;
    margin-top: 4vw;
    margin-left: -3vw;
    margin-right: -3vw;
    /* background-color: black; */
    display: flex;
    overflow: scroll;
}

.left-column {
    width: 17vw;
    height: 100%;
    margin-right: 0.75vw;
    background-color: rgba(255, 255, 255, 0.5);
    overflow-y: scroll;
    padding-top: 1.8vw;
}

.left-column img {
    width: 17vw;
    height: auto;
    padding: 0vw  3vw;
    margin: 1.5vw 0;
    cursor: pointer;
}

.grey {
    filter: grayscale();
}

.right-column {
    width: 83vw;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    overflow-y: scroll;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    position: relative;
}

.mini-muster {
    width: auto;
    height: 20vw;
    margin-top: 3vw;
    position: fixed;
    top: 9.5vw;
    right: 3vw;
}

.right-column div {
    width: 50vw;
    padding: 3vw 0 4vw 4vw;
    font-size: 1.2vw;
    /* text-align: justify; */
}

#sarah-text1,
#sarah-text2,
#sarah-text3,
#sarah-text4,
#sarah-text5,
#fritzi-text1,
#fritzi-text2,
#fritzi-text3,
#unbekannt-text1,
#unbekannt-text2,
#unbekannt-text3,
#deborah-text1,
#deborah-text2,
#deborah-text3,
#deborah-text4,
#deborah-text5,
#lisa-text1, 
#lisa-text2, 
#lisa-text3, 
#lisa-text4, 
#lisa-text5,
#melli-text1, 
#melli-text2  {
    display: none;
}

.fragezeichen {
    position: fixed;
    bottom: 3vw;
    right: 3vw;
    font-size: 3rem;
    font-family: "serifebabe-sigma";
    cursor: pointer;
    z-index: 15;
}

.legend-wrapper {
    width: 100vw;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(100, 100, 100, 0.5);
    position: relative;
    z-index: 5;
    display: none;
}

.legende {
    width: 70vw;
    height: auto;
    position: absolute;
    z-index: 10;
}

.legend-active {
    display: flex;
}

#sarah-text1,
#sarah-text2,
#sarah-text3,
#sarah-text4,
#sarah-text5,
#fritzi-text1,
#fritzi-text2,
#fritzi-text3,
#unbekannt-text1,
#unbekannt-text2,
#unbekannt-text3,
#deborah-text1,
#deborah-text2,
#deborah-text3,
#deborah-text4,
#deborah-text5,
#lisa-text1,
#lisa-text2,
#lisa-text3,
#lisa-text4,
#lisa-text5,
#melli-text1,
#melli-text2
 {
    position: absolute;
    top: 12vw;
    left: 20vw;
    width: 48vw;
    height: auto;
    overflow-y: scroll;
    display: flex;
    flex-wrap: wrap;
    z-index: 15;
    font-size: 1.2vw;
}

#sarah-text1,
#sarah-text2,
#sarah-text3,
#sarah-text4,
#sarah-text5,
#fritzi-text1,
#fritzi-text2,
#fritzi-text3,
#unbekannt-text1,
#unbekannt-text2,
#unbekannt-text3,
#deborah-text1,
#deborah-text2,
#deborah-text3,
#deborah-text4,
#deborah-text5,
#lisa-text1,
#lisa-text2,
#lisa-text3,
#lisa-text4,
#lisa-text5,
#melli-text1,
#melli-text2
{
    display: none;
}

#muster1-figur1,
#muster1-figur2,
#muster1-figur3,
#muster1-figur4,
#muster1-figur5,
#muster2-figur1,
#muster2-figur2,
#muster2-figur3,
#muster3-figur1,
#muster3-figur2,
#muster3-figur3,
#muster4-figur1,
#muster4-figur2,
#muster4-figur3,
#muster4-figur4,
#muster4-figur5,
#muster5-figur1,
#muster5-figur2,
#muster5-figur3,
#muster5-figur4,
#muster5-figur5,
#muster6-figur1,
#muster6-figur2
 {
    filter: grayscale(100%);
}

#muster1-figur1:hover + #sarah-text1 {
    display: block;
}
#muster1-figur1:hover {
    filter: none;
}

#muster1-figur2:hover + #sarah-text2 {
    display: block;
}
#muster1-figur2:hover {
    filter: none;
}

#muster1-figur3:hover + #sarah-text3 {
    display: block;
}
#muster1-figur3:hover {
    filter: none;
}
#muster1-figur4:hover + #sarah-text4 {
    display: block;
}
#muster1-figur4:hover {
    filter: none;
}
#muster1-figur5:hover + #sarah-text5 {
    display: block;
}
#muster1-figur5:hover {
    filter: none;
}

#muster2-figur1:hover + #fritzi-text1 {
    display: block;
}
#muster2-figur1:hover {
    filter: none;
}

#muster2-figur2:hover + #fritzi-text2 {
    display: block;
}
#muster2-figur2:hover {
    filter: none;
}

#muster2-figur3:hover + #fritzi-text3 {
    display: block;
}
#muster2-figur3:hover {
    filter: none;
}

#muster3-figur1:hover + #unbekannt-text1 {
    display: block;
}
#muster3-figur1:hover {
    filter: none;
}

#muster3-figur2:hover + #unbekannt-text2 {
    display: block;
}
#muster3-figur2:hover {
    filter: none;
}

#muster3-figur3:hover + #unbekannt-text3 {
    display: block;
}
#muster3-figur3:hover {
    filter: none;
}

#muster4-figur1:hover + #deborah-text1 {
    display: block;
}
#muster4-figur1:hover {
    filter: none;
}

#muster4-figur2:hover + #deborah-text2 {
    display: block;
}
#muster4-figur2:hover {
    filter: none;
}

#muster4-figur3:hover + #deborah-text3 {
    display: block;
}
#muster4-figur3:hover {
    filter: none;
}

#muster4-figur4:hover + #deborah-text4 {
    display: block;
}
#muster4-figur4:hover {
    filter: none;
}

#muster4-figur5:hover + #deborah-text5 {
    display: block;
}
#muster4-figur5:hover {
    filter: none;
}

#muster5-figur1:hover + #lisa-text1 {
    display: block;
}
#muster5-figur1:hover {
    filter: none;
}

#muster5-figur2:hover + #lisa-text2 {
    display: block;
}
#muster5-figur2:hover {
    filter: none;
}

#muster5-figur3:hover + #lisa-text3 {
    display: block;
}
#muster5-figur3:hover {
    filter: none;
}

#muster5-figur4:hover + #lisa-text4 {
    display: block;
}
#muster5-figur4:hover {
    filter: none;
}

#muster5-figur5:hover + #lisa-text5 {
    display: block;
}
#muster5-figur5:hover {
    filter: none;
}

#muster6-figur1:hover + #melli-text1 {
    display: block;
}
#muster6-figur1:hover {
    filter: none;
}

#muster6-figur2:hover + #melli-text2 {
    display: block;
}
#muster6-figur2:hover {
    filter: none;
}


.fragezeichen:hover + .legend-wrapper {
    display: flex;
}



@media (max-width: 1200px) {

    section {
        margin-left: 7.25vw;
    }

    .logo {
        font-size: 1.8rem;
        line-height: 1.65rem;
    }

    .nav-wrapper div a {
        font-size: 1.8rem;
    }

    .intro, 
    .copy-text {
        font-size: 1.2rem;
        line-height: 1.4rem;
        margin-bottom: 4vw;
    }

    p {
        font-size: 1.2rem;
        line-height: 1.4rem;
        margin-bottom: 1vw;
    }

    h3 {
        font-size: 2rem;
        margin-bottom: 0.5vw;
    }

    h4 {
        font-size: 1.4rem;
        margin-bottom: 1vw;
    }

    .h4-tablet {
        font-size: 1.8rem;
    }

    .h4-tablet2 {
        font-size: 1.5rem;
        line-height: 1.6rem;
    }

    .gallery-wrapper {
        height: 50vw;
        margin: 10vw 0 0 0;
    }

    .muster-image {
        width: 50vw;
        height: 50vw;
    }

    .right-column div {
        width: 57vw;
        padding-top: 2.2vw;
    }

    .fragezeichen {
        bottom: 1.5vw;
        right: 4vw;
    }

    .legende {
        width: 90vw;
    }

    .mini-muster {
        margin-top: 4.2vw;
    }

    .bewusstseinsebenen {
        width: 72.5vw;
    }
}