@font-face {
    font-family: Suisse Intl;
    src: url(/Typo/SuisseIntl-Book-WebXL.woff2);
}

@font-face {
    font-family: Suisse Intl;
    src: url(/Typo/SuisseIntl-BookItalic-WebM.woff);
    font-style: italic;
}

*{
    margin: 0;
    padding: 0;
    font-family: Suisse Intl;
    line-height: 1.1;
}

body{
    overflow-x: hidden;
    padding-right: 12px; /*Anpassung für Windows-Scrollbar*/
    box-sizing: border-box; /*Anpassung für Windows-Scrollbar*/
}

/*Projekte*/

.text{
    font-size: 12px;
}

.projekte{
    font-size: 5vh;
}

.projekte p{
    padding: 12px;
}

.projekt-link{
    text-decoration: none;
}

.projekt{
    width: 100vw;
    display: grid;
    grid-template-columns: 43% 47% 10%;
}

.projekt:hover{
    background-color: black;
    color: white;
}

.projekt:hover li{
    color: black;
}

hr{
    display: none;
}

.titel{
    grid-column: 1;
}

.disziplinen{
    grid-column: 2;
    display: flex;
    gap: 12px;
    align-items: center;
    white-space: nowrap;
}

li{
    list-style: none;
    font-size: 3.5vh;
    background-color: #f3f3f3;
    padding: 10px 20px 10px 20px;
    border-radius: 50px;
}

.jahr{
    grid-column: 3;
    justify-self: flex-end;
}

hr{
    width: 100vw;
}

.info-container{
    width: 100vw;
}

.info-text p{
    font-size: 5vh; /*28px*/
    padding: 12px;
}

a{
    color: black;
}

.profilbild{
    width: 50%;
    bottom: 20%;
    left: 25%;
    position: fixed;
    display: none;
    z-index: -1;
}

.lupe:hover + .profilbild{
    display: block;
}



/*Menü*/
.menü a{
    text-decoration: none;
    background-color: white;
    font-size: 28px;
    border: solid 2px black;
    border-radius: 50px;
    padding: 10px 20px 10px 20px;
    margin: 12px;
    width: auto;
    white-space: nowrap;
}

.menü{
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    padding-bottom: 12px;
}

.mobil{
    display: none;
}

.color-changer{
    display: flex;
    justify-content: center;
    width: 100%;
}

.color-changer input{
    position: absolute;
    height: 100%;
    opacity: 0;
}

body.dark{
    color: white;
}

body.dark .info-text a{
    color: white;
}

body.dark .info-text-projekt a{
    color: white;
}

body.dark li{
    color: black;
}

body.dark .projekt-link{
    color: white;
}

/*Unterseiten*/
.unterseite{
    width: 100vw;
    overflow: hidden;
    margin-bottom: 11vh;
}

.bild-container-2{
    display: flex;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
    margin-left: 12px;
    margin-right: 12px;
    align-items: flex-start;
}

.bild-container-2 img{
    width: calc(50% - 18px);
    object-fit: contain
}

.bild-container-1{
    width: 100%;
    margin-left: 12px;
    margin-right: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bild-container-1 img{
    width: calc(100% - 24px);
}

.info-text-projekt{
    font-size: 5vh; /*28px*/
    padding: 12px;
}

.title{
    color: grey;
}

.bu{
    font-size: 18px;
    margin-bottom: 12px;
    margin-top: -8px;
    margin-right: 24px;
}

.bild-container-1 model-viewer{
    width: calc(100% - 24px);
    height: 90vh;
    background-color: #f3f3f3;
}

.abstand{
    height: 12px;
}

/*Media Queries*/
@media only screen and (max-width: 1600px){
    
    .info-text{
        margin-bottom: 20vh;
    }
}

@media only screen and (max-width: 1300px){
    
    .jahr{
        display: none;
    }

    .projekte{
        grid-template-columns: 1fr 2fr;
    }
}

@media only screen and (max-width: 1150px){

    .menü{
        width: 100%;
        background: rgb(255,255,255);
        background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 100%);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px; 
        padding-top: 10px; /*für den Verlauf*/
    }

    .menü a{
        margin: 0;
    }

    .lupe{
        display: none;
    }

    .info-text{
        margin-bottom: 20vh;
    }

    .text{
        margin-bottom: 20vh;
    }

    .unterseite{
        margin-bottom: 20vh;
    }
}


@media only screen and (max-width: 1000px){
    
    .disziplinen{
        display: none;
    }

    .projekt{
        grid-template-columns: 1fr;
    }

    .projekte p{
        padding: 8px;
    }
}

@media only screen and (max-width: 800px){

    .info-text p{
        font-size: 22px;
    }

    .menü a{
        font-size: 22px;
        margin: 0;
    }

    .menü{
        width: 100%;
        background: rgb(255,255,255);
        background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 100%);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px; 
        padding-top: 10px; /*für den Verlauf*/
    }

    #kontakt{
        order: 4;
    }

    #impressum{
        order: 5;
    }

    .mobil{
        display: block;
    }

    .desktop{
        display: none;
    }

    .bild-container-2{
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .bild-container-2 img{
        width: calc(100% - 24px);
    }

    .unterseite{
        margin-bottom: 20vh;
    }

    .disziplinen{
        display: none;
    }

    .jahr{
        display: none;
    }

    .projekt{
        grid-template-columns: 1fr;
    }

    .color-changer input{
        height: 10%;
     }

     .info-text-projekt{
         font-size: 22px;
     }

     .bild-container-1 model-viewer{
        height: 50vh;
     }
}

@media only screen and (max-width: 750px){
    .menü{
        gap: 10px;
    }

    .menü a{
        font-size: 20px;
    }
}
