/* Universalselektor */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    --clr-accent: #359d77;
}

li {
    margin-top: .4rem;
    list-style: circle;
}

/* alles zur Navigationsleiste */
nav {
    display: flex;
    flex-direction: column;
    background-color: #E0E0E0;
    padding: 8rem 1rem 5rem 2rem;
    width: 15rem;
    position: fixed;
    z-index: 1;
    overflow-x: hidden;
    /* Disable horizontal scroll */
    height: 100vw;
}

.nav-link {
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
}

.nav-link > a {
    font-weight: 400;
    text-decoration: none;
    color: black;
    font-size: 1rem;
    line-height: 2.5rem;
}

.nav-link > a.linkBack {
    margin-top: 25%;
}

.nav-link > a:link {
    color: black;
}

.nav-link > a:visited {
    color: black;
}

.active {
    color: var(--clr-accent) !important;
}




/* HANDLUNGSSTRUKTUR NAVIGATION */
/* HANDLUNGSSTRUKTUR NAVIGATION */
/* HANDLUNGSSTRUKTUR NAVIGATION */
.strukturnav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    justify-content: center;
    padding: 0rem 4rem 0rem 19rem;
    background-color: none;
    transition: top .15s ease-in-out;
    -webkit-transition: top .15s ease-in-out;
}

.strukturnav.drop {
    top: 22rem;
    transition: top .15s ease-in-out;
    -webkit-transition: top .15s ease-in-out;
}

.btcurrent {
    cursor: pointer;
    height: 3rem;
    min-width: 11rem;
    font-size: 16px;
    border: none;
    background-color: #C4C4C4;
    color: white;
    transition: background-color 0.15s ease-in;
    -webkit-transition: background-color .15s ease-in-out;
}

.btcurrent:hover {
    background-color: #a3a3a3;
    transition: background-color 0.15s ease-in-out;
    -webkit-transition: background-color .15s ease-in-out;
}

.btnlink {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 3rem;
    min-width: 7rem;
    border: none;
    background-color: #C4C4C4;
    transition: background-color 0.15s ease-in-out;
    -webkit-transition: background-color .15s ease-in-out;
}

.btnlink:hover {
    background-color: #a3a3a3;
    transition: background-color 0.15s ease-in-out;
    -webkit-transition: background-color .15s ease-in-out;
}

/* Pfeil SVG */
#left > img {
    margin-right: -0.5rem;
    display: flex;
    width: 20%;
    height: 25px;
}

#right > img {
    margin-left: -0.5rem;
    display: flex;
    width: 20%;
    height: 25px;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
}

/* Vor- Zurückbutton */
.btnlink > a {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

#left {
    border-right: 1px solid white;
}

#right {
    border-left: 1px solid white;
}

.btback {
    border-radius: 0 0 0 5px;
}

.btnext {
    border-radius: 0 0 5px 0;
}

/* Strukturgrafik-Box */
.modal {
    display: flex;
    position: fixed;
    z-index: 0;
    left: 0;
    top: -22rem;
    width: 100vw;
    height: 22rem;
    overflow: auto;
    justify-content: center;
    padding-left: 19rem;
    background-color: white;
    border: 1px solid #C4C4C4;
    transition: top .15s ease-in-out;
    -webkit-transition: top .15s ease-in-out;
}

.modal.show {
    top: 0;
    transition: top .15s ease-in-out;
    -webkit-transition: top .15s ease-in-out;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0 9px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 9px rgba(0, 0, 0, 0.15);
}

/* HANDLUNGSSTRUKTUR ENDE */
/* HANDLUNGSSTRUKTUR ENDE */


/* Image slider */
/* Image slider */
.big-pic-overlay {
    display: none;
}

.big-pic-overlay-vis {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 8%;

    z-index: 2;
}

.big-pic-img {

    max-width: 70%;
    max-height: 100%;

    cursor: default;
}

.slider-icon {
    width: 7vw;
    height: 7vw;
    margin: 0 2%;
}

.big-pic-overlay-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: rgba(20, 20, 20, 0.95);
}




/* Schrift */
/* Schrift */

/* zum markieren von einzelnen wörtern*/
em {
    color: var(--clr-accent);
    font-weight: 600;
    font-style: normal;
}


p {
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
}

/* Linkliste-Handlung-Info */
li > a {
    font-weight: 600;
    line-height: 220%;
}

li > a:link {
    text-decoration: none;
    color: var(--clr-accent);

}

li > a:active {
    color: var(--clr-accent);
    text-decoration: none;
}

li > a:visited {
    color: var(--clr-accent);
    text-decoration: none;
}

li > a:hover {
    color: black;
}


/* Headings*/
h1 {
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 1.6;
    color: var(--clr-accent);
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.25rem;
    line-height: 100%;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--clr-accent);
}

.namenszusatz {
    font-size: 1rem;
    padding-top: 1rem;
    line-height: 2.2rem;
}




/* bild Auto Höhe */
.image-container {
    width: 100%;
    height: auto;
    position: relative;
}

.image-container img {
    width: 100%;
    height: auto !important;
    position: absolute;
    z-index: -1;
}

.übersicht {
    padding: 8rem 0rem 0rem 0rem;
}

/* Modal Start */
.row > .column {
    padding: 0 8px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.column {
    float: left;
    width: 25%;
}

/* The Modal (background) */
.modal1 {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.mySlides {
    display: none;
}

.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

img {
    margin-bottom: -4px;
}

.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Modal Ende */
/* Modal Ende */


/* alles zur Kontentbox */
.layout {
    padding: 0rem 4rem 0rem 19rem;
}

.content-block {
    display: flex;
    margin-bottom: 4rem;
}

.content-image {
    margin-bottom: 4rem;
}

.content-image > img {
    margin-right: 1.5rem;
}

.image-block {
    padding-right: 2rem;
}

.text-block {

    padding-left: 2rem;
}

.floorplan > p {
    line-height: 190%;
}

.text-block-liste {
    padding-left: 7rem;
    padding-right: 10rem;

}

ul.liste-verlinkt {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.liste-verlinkt {
    font-size: 15px;

}


.bild {
    width: 100%;
    height: auto;
    border: solid 1px gainsboro;
}

.content-block img:hover {
    transform: scale(1.01);
}

.dialog {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 1rem;
    background-color: #f2f2f2;
    border-left: 3px solid #9e4868;

}

/* Grid Layout */
.content-grid {
    display: grid;

    grid-template-rows: 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 0px;
    width: 100%;
    margin-bottom: 5rem;
}

.grid-floorplan {
    grid-template-columns: 3fr 2fr;
}

.min-height {
    min-height: 25vw;
}


.grid-storyboard {
    grid-template-columns: 2fr 5fr;
}

.content-left {
    grid-area: 1 / 1 / 2 / 2;
}

.content-right {
    grid-area: 1 / 2 / 2 / 3;
}

.spacer3rem {
    height: 3rem;
}

.spacer7rem {
    height: 8rem;
}

/* Handlung Pfeil/Richtungstasten */

.slide-in-grid {

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    padding: 0rem 0rem 0rem 15rem;
    width: 100%;
    position: fixed;
    top: 0;
    background-color: white;
}

.slide-in {
    grid-area: 1 / 1 / 2 / 2;

    background-color: var(--clr-accent);
}

.closed {
    height: 0;
}

.open {
    height: 15rem;
}


/* style für Unterseite Handlung */
.svg {
    margin-bottom: 4rem;
}

ul {
    line-height: 190%;
    padding-left: 2rem;
}

/* pop-up images: */
.pop-up {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: black;
    top: 0px;
    left: 0px;
    z-index: 100;
}

.pop-up img {
    position: relative;
    transition: .2s linear;
    -webkit-transition: .2s linear;
    margin: auto;
    padding-top: 2rem;
}

/* x Button */
.pop-up span {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.content-block img {
    cursor: pointer;
}

/* Bilder-Slider */
.slide-parent {
    margin: auto;

    width: 80%;
}

.slider {
    position: relative;
    display: flex;
    width: 100%;
}






@media only screen and (min-width: 768px) and (max-width: 1100px) {

    /* media query Navigationsleiste */
    nav {
        align-items: center;
        flex-direction: row;
        overflow-y: hidden;
        padding: 0rem 0rem 0rem 0rem;
        max-width: 100%;
        width: 100%;
        min-height: 4rem;
        max-height: auto;
        justify-content: space-between;
        height: auto;
    }

    h1 {
        font-size: 1.5rem;
        margin: 0;
    }

    h3 {
        font-size: 2vw;
    }



    nav .navtitel {
        display: none;
    }

    .nav-link {
        flex-direction: row;
        margin: 0 auto;
        padding: 1rem 0 1rem;
    }

    .nav-link > a {
        padding-right: 1.1rem;
    }

    .nav-link > a.linkBack {
        margin-top: 0%;
    }

    .namenszusatz {
        font-size: 1.5vw;
        padding: 0.6rem 0rem rem 0rem;
        line-height: 0rem;
        align-self: flex-start;
    }

    .navtitel {
        padding-left: 2rem;
        height: 100%;
        justify-content: space-around;
    }

    /* alles zur Kontentbox */
    .layout {
        padding: 8rem 5rem 0 2rem;
    }

    /* Hauptüberschrift*/
    .übersicht {
        padding: 0rem 0rem 3rem 0rem;
    }

    /* .bild {
        width: 18rem;
        height: 100%;
    } */

    .pop-up img {
        width: 95%;
        padding-top: 2rem;
    }

    /* HANDLUNGSSTRUKTUR NAVIGATION */
    .modal {
        padding-left: 0rem;
        margin-top: 4rem;
        border-top: none;
    }

    .strukturnav {
        top: 4rem;
        padding: 0 5rem 0 2rem;
    }

    .strukturnav.drop {
        top: 26rem;
    }


}



/* Mobile */
@media only screen and (max-width: 768px) {

    nav {
        padding: 1.25rem 2rem;
        width: 100%;
        position: absolute;
        height: fit-content;
        margin-bottom: 6rem;
    }

    nav .navtitel {
        display: none;
    }

    .nav-link {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 auto;
        padding: 0;
    }

    .nav-link > a {
        padding-right: 1.1rem;
    }

    .nav-link > a.linkBack {
        margin-top: 0%;
    }

    .namenszusatz {
        font-size: 1.5vw;
        padding: 0.6rem 0rem rem 0rem;
        line-height: 0rem;
        align-self: flex-start;
    }

    .navtitel {
        padding-left: 2rem;
        height: 100%;
        justify-content: space-around;
    }


    .strukturnav {
        padding: 0;
    }

    .btcurrent {
        height: 3.5rem;
        width: 35%;
        padding: 0;
    }

    .btnlink {
        height: 3.5rem;
        width: 30%;
    }

    .btback, .btnext {
        border-radius: 0;
    }

    .btback {
        padding-left: 2rem;
    }

    .btnext {
        padding-right: 2rem;
    }

    .modal {
        padding: 0;
    }



    .layout {
        padding: 2rem;
    }



    .text-block-liste {
        margin-top: 3rem;
        padding-left: 0rem;
        padding-right: 0rem;
    }



    .spacer7rem {
        height: 11rem;
    }



    h1 {
        margin-bottom: 0;
    }

    h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    p {
        font-size: 16px;
        line-height: 155%;
    }

    .content-grid {
        display: block;
        margin-bottom: 4rem;
    }

    .bild {
        margin-bottom: 1.5rem;
    }

    .dialog {
        margin: 1rem 0;
    }
}


/* Mobile Landscape */
@media only screen and (max-width: 768px) and (orientation: landscape) {

    .btcurrent {
        height: 3rem;
    }

    .btnlink {
        height: 3rem;
    }



    .content-grid {
        display: flex;
    }

    .bild {
        height: 10rem;
        width: auto;
        
    }
}