html {
    box-sizing: border-box;
}

*, *:after, *:before {
    box-sizing: border-box;
}

body {
    background-color: #f2f1f1;
    margin: 0;
}

/* NEU */
.body-index {
    min-height: 100vh;
}
/* NEU */
.body-project {
    height: 100vh;
}

/* selection color */

::selection {
    color:#f2f1f1;
    /* color: #4bb29f; */
    background: #b2604b;
    /* background: #e57c61; */
    
}

::-moz-selection { /* Code for Firefox */
    color:#f2f1f1;
    background: #b2604b;
}


/* Startseite Popup Menue  */
.menue-option {
    color: rgb(38, 38, 38);
    font-size: 3.6vw;
    text-decoration: none;
    line-height: 85%;
    padding-bottom: 2.5vh;
    }
    .menue-option:hover {
        /* -webkit-text-stroke-width: 2.5px;
        -webkit-text-stroke-color: rgb(0, 0, 0); */
        /* color: white; */
        color: #b2604b;
}


body.menue-aktiv .menue-popup {
    opacity: 1;
    display: flex;
}

body.menue-aktiv .container-description {
    opacity: 1;
}

.menue-popup {
    background-color: #f2f1f1;
    top: 50px;
    display: none;
    text-align: center;
    justify-content: center;
    /* opacity: 0; */
    position: fixed;
    left: 0;
    width: 100%;
    height: calc(100vh - 50px);
    overflow-y: scroll;
    
    font-family: halyard-display,sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 25px;
    z-index: 4;
    }

.container-menue-popup {
    display: block;
    font-size: 3.6vw;
    color: white;
    padding-top: 0%;
    padding-bottom: 30px;
    line-height: 90%;
    
    width: 100%;
}

.navig-buttons-transfer {
    display: none;
}

.box-disappear {
    background-color: #f2f1f1;
    height: 50px;
    position: fixed;
    width: 100%;
    z-index: 2;
}

.box-disappear-click {
    background-color: #f2f1f1;
    height: 50px;
    position: fixed;
    width: 100%;
    z-index: 9;
}

.menue {
    width: 100%;
    display: flex;
    justify-content: center;
    top: 0;
    left: 0;

    position: fixed;
    top: 40px;
    z-index: 5;
}

.icon-container {
    width: 23.61vw;
    align-self: center;
    cursor: pointer;
    transition: 0.5s
}

.icon-container-click {
    width: 36.1vw;
    align-self: center;
    cursor: pointer;
    transition: 0.5s
}

.icon-container:hover {
    width: 36.1vw;
    transition: 0.5s;
}

.icon {
    margin: 10px 0;
    height: 0.55vw;
    background-color: rgb(38, 38, 38);
}




/* Projectlist */

.inner-projectlist {
    font-family: halyard-display,sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 50px;
    color: white;
    text-align: center;
    /* padding-left: 20vw; */
    padding-bottom: 60px;
    padding-top: 37px;
    line-height: 90%;
}

.container-list-link {
    padding-bottom: 2.5vh;
}

.project-list {
    display: flex;
    justify-content: center;
    align-self: center;
}

.project-link {
    text-decoration: none;
    color: black;
    padding-bottom: 1vh;
}

.project-link:hover {
     color: #b2604b;
     /* transition: 0.25s ease-in-out; */
}

.exit.projectlist {
    /* opacity: 25%; */
    position: fixed;
    right: 2.5%;
    top: 2.5%;
}

.exit.projectlist:hover {
    opacity: 1;
}




/* Startseite */

.intro {
    padding-top: 40vh;
    padding-bottom: 40vh;

    height: 100%;
    color: rgb(38, 38, 38);
    /* padding-top: 30px;
    padding-bottom: 85px;
    padding-bottom: 10.5%; */
    /* letter-spacing: 0.2pt; */
    
    text-align: center;
    align-items: flex-end;
    line-height: 1em;

    font-family: halyard-display,sans-serif;
    font-weight: 500;
    /* font-size: 5.5vw; */
    font-size: 8vw;
    font-style: normal;
    z-index: 3;
    position: relative;

}

.projectlist-exit {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 30px 30px;
    padding-bottom: 0;
}

.container-projekt-start {
    width: 100%;
    padding-bottom: 70px;
}

.container-titel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 3vh;
    padding-top: 3vh;
}

.container-titel-zwei {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 9vh;
    padding-top: 3vh;
}

.titel {
    height: 70px;
    color: rgb(38, 38, 38);
    /* padding-top: 30px;
    padding-bottom: 85px;
    padding-bottom: 10.5%; */
    font-size: 3.6vw;
    text-align: center;
    align-items: flex-end;
    line-height: 1em;

    font-family: halyard-display,sans-serif;
    font-weight: 500;
    font-style: normal;
    z-index: 1;
}

.titelbild-box {
    display: flex;
    justify-content: center;
}

.titelbild-innerbox {
    max-height: 70vh;
    color: salmon;
}

.bild {
    width: 100%;
    margin: 0;
    z-index: 3;
    height: auto;
    scroll-behavior: smooth;
}

.content {
    padding-top: 60px;
    padding-left: 13vw;
    padding-right: 13vw; 
    padding-bottom: 10vh;
}

.michael-huwyler {
    position: fixed;
    top: 4vh;
    left: 4vh;
    width: 5vw;
    z-index: 20;

    /* font-family: halyard-display,sans-serif;
    font-weight: 500;
    font-style: normal;
    z-index: 1;
    font-size: 25px */
}

.button-kontakt {
    position: fixed;
    top: 4vh;
    right: 4vh;
    /* width: 80px; */
    width: 5vw;
    height: auto;
    z-index: 15;
    
}

.container-circle-bottom {
    padding-top: 10px;
    padding-bottom: 37px;
    display: flex;
    justify-content: center;
    scroll-behavior: smooth;

}

.circle-bottom {
    width: 150px;
    left: 50%;
}

/* .circle-bottom-behaviour {
    scroll-behavior:smooth;
    transition: 5s;
} */

.contact-bottom {
    color: rgb(38, 38, 38);
    font-family: karmina,serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    flex-direction: column;
}

.datenschutz-bottom {
    color: rgb(38, 38, 38);
    font-family: karmina,serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    padding-top: 10px;
    padding-bottom: 70px;
    display: flex;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    flex-direction: column;
}





/* Projectpage */

.project-menue {
    display: flex;
    background-color:#f2f1f1;
    justify-content: space-between;
    align-items: center;
    
    /* NEU */
    padding: 15px 30px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 100;
}

/* .menue-space {
    height: 97px;
    width: 100%;
} */

.exit {
    color: white;
    height: 30px;
    width: 30px;
}

.project-name {
    color: rgb(38, 38, 38);
    font-family: halyard-display,sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 50px;
    text-decoration: none;
}

.info {
    color: white;
    height: 30px;
    width: 30px;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    background-color: black;
}

.swiper-pagination-bullet {
    background-color: black;
    margin-right: 5px;
    height: 8px;
    width: 8px;
}



/* slider */
.swiper-container {
    width: 100%;
    height: 100%;
    padding-top: 97px;
    padding-bottom: 10px;
    }

    .swiper-slide,
    .scroll-element {
        height: 100%;
        /* Leider braucht es ein !important, denn das importierte CSS für den Slider sagt width: 100% */
        width: auto !important;
    }
    .swiper-slide:last-child {
        padding-right: 40px;
    }

    .scroll-element-inner {
        height: 100%;
        padding-left: 61px;
        padding-right: 20px;
        /* min-width: 1233px;
        object-position: center; */
    }

    .project-scrollbild {
        max-width: 100%;
        height: 100%;
        object-fit: contain;
        padding-bottom: 35px;
    }

    .swiper-pagination {
        bottom: 0;
        width: 100%;
        padding-bottom: 10px;
    }

/* description card */
.container-description {
    /* PIXEL SIND GEFÄHRLICH: WAS IST, WENN BILDSCHIRM KLEINER. LIEBER PROZENT? */
    width: 800px;
    height: 410px;

    background-color: #f2f1f1;
    overflow-x: scroll;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    
    /* NEU */
    z-index: 100;
    display: none;
    }

    .container-description-aktiv {
        /* NEU */
        display: block; 
    }

.container-info-exit {
    /* position: fixed; */
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    width: 100%;
}

.info-exit {
    cursor: pointer;
    height: 35px;
    width: 35px;
    position: fixed;
}

.text-box {
    padding-left: 42px;
    padding-top: 20px;
    padding-right: 50px;
    overflow-x: scroll;
    }

    .text-description {
    font-family: karmina,serif;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    }

    .text-details {
    font-family: karmina,serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    /* line-height: 80%; */
    padding-top: 30px;
    padding-bottom: 20px;

    }

    .zeilenabstand-details {
    line-height: 1.28em;
    /* padding-bottom: 4px; */
}




/* me page */

.portrait-me {
    width: auto;
    height: 88vh;
    max-width: 85%;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;   
    object-fit: cover;
    z-index: -1;
}

.swiper-container-horizontal>.swiper-scrollbar {
    position: absolute;
    left: 1%;
    bottom: 3px;
    z-index: 50;
    height: 5px;
    width: 98%;
    opacity: 0;
}

.kontakt-button{
    text-decoration: none;
    color: black;
}

.kontakt-button:hover {
    color: #b2604b;
}





/* kontakt seite */

.container-kontakt-info {
    margin-left: 8%;
    display: flex;
    justify-content: center;
    width: 100%;
}

.download-link {
    text-decoration: none;
    color: black;
}

.download-link:hover {
    color: #b2604b;
}

.errorpage {
    font-family: karmina,serif;
    font-weight: 400;
    font-style: normal;
    font-size: 5vw; 
    text-decoration: none;
    color: black;

    top: 0;
    left: 0;
    padding: 20%;
}

.linkback {
    color: red;
}

.container-box-1 {
    padding-right: 9vw;
}

.skills-grey {
    color: #b2604b;
}

.container-kontakt-centerbox {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-datenschutz {
    padding-top: 120px;
    padding-left: 4vw;
    padding-right: 4vw;
    padding-bottom: 200px;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* -----------------------1300px--------------------------------- */

@media all and (max-width: 1300px) {
    .button-kontakt {
        width: 7vw;
        top: 3vw;
        right: 3vw;
    }
    .michael-huwyler {
        width: 7vw;
        top: 3vw;
        left: 3vw;
    }

    .menue-popup {
        top: 0;
        height: 100%;
    }

    .container-menue-popup {
        padding-top: 41px;
        
    }


}


/* -----------------------599px--------------------------------- */

@media all and (max-width: 599px) {
    
    /* projektseite */

    /* head */
    .project-name {
        font-size: 9vw;
    }


    /* swiper */
    .swiper-container {
        padding-top: 200px;
    }
    
    .scroll-element-inner {
        padding-left: 30px;
        /* padding-right: 30px; */
        padding-right: 0px;
    }

    .swiper-pagination-bullet {
        display: none;
    }

    .project-scrollbild {
        padding-bottom: 40px;
        /* width: fit-content; */
        width: 100%;
        height: auto;
        max-width: 90%;
    }

    .swiper-wrapper-aus {
        padding-top: 85px;
    }




    /* projektliste */

    .inner-projectlist {
        font-size: 9vw;
    }

    .container-list-link {
        padding-bottom: 2vh;
    }

    .info {
        width: 7vw;
        height: auto;
        padding-top: 7px;
    }

    .exit {
        width: 7vw;
        height: auto;
        padding-top: 7px;
    }


    /* startseite */

    .titel {
        font-size: 9vw;
        display: none;
    }

    .content {
        padding-top: 100px;
    }

    .michael-huwyler {
        top: 2vh;
        left: 2vh;
        width: 7vw;
        display: none;
    }
    
    .button-kontakt {
        top: 2vh;
        right: 2vh;
        width: 7vw;
        display: none;
    }

    .box-disappear {
        display: none;
    }

    .container-projekt-start {
        padding-bottom: 50px;
    }
    
    .icon {
        height: 0.8vw;
    }

    .container-menue-popup {
        padding-top: 82px;
    }

    .navig-buttons-transfer {
        display: block;
    }

    .menue-option {
        font-size: 6.5vw;
    }

    .container-titel {
        display: none;
    }
    
    .container-titel-zwei {
        display: none;
    }




    /* projektseite */

    .container-description {
        width: 77vw;
        height: 410px;
    }

    .text-description {
        font-size: 20px;
    }

    .zeilenabstand-details {
        font-size: 13px;
    }

    .project-menue {
        padding-bottom: 13px;
        height: 10vh;
    }

    .content {
        padding-left: 5vw;
        padding-right: 5vw;
    }
}
