*{
    font-family: 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }


/* #background-image-projekte {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1581px;
    height: 976px;
    object-fit: contain;
    object-position: center center;
    transform: translate(-50%, -50%);
    z-index: -1;
    background-attachment: fixed;
    background-repeat: round;
} */
 

html,
body {
    background-color: transparent;
}

body {
    position: relative;
    isolation: isolate;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('../layout-projekt/assets/Hintergrund_Projekte.webp') center / cover no-repeat;
    content: "";
    filter: blur(3px);
    transform: scale(1.02);
    pointer-events: none;
}

main {
    width: 100vw;
    overflow-x: auto;
}

.project-background {
    width: fit-content;
    min-width: 100vw;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100svh;
}


.project-description {
    flex: 0 0 min(60ch, calc(100vw - 100px));
    width: min(60ch, calc(100vw - 100px));
    min-height: 0;
    height: auto;
    font-size: 10pt;
    line-height: 1.5;
    padding: clamp(24px, 4vw, 50px);
    margin: -35px 10vh;
    background: linear-gradient(rgba(211, 211, 211, 0.78), rgba(128, 128, 128, 0.78) 50%);
    backdrop-filter: blur(10vh);
    box-shadow: 20px 20px 80px rgba(0, 0, 0, 0.1);
    border-radius: 9px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position:relative;
    justify-content: flex-start;
    text-align: left;
}

.project-description h1 {
    margin-bottom: 4px;
    font-size: 14pt;
    font-weight: 400;
    line-height: 1.2;
}

.project-description p {
    position: static;
    left: auto;
    width: 100%;
    overflow-wrap: anywhere;
    margin: 0;
    font-size: 10pt;
    line-height: 1.5;
}


.flex-container {
    display: flex;
    flex-direction: row;      
    align-items: center;       
    gap: 20px;                 
    overflow-x: auto;          
    padding: 50px;
}

.flex-container.project-images img {
    width: auto;
    height: 80vh;
     padding-left: 20px;
}

.flex-container.project-images #P1-1 {
    width: auto;
    height: 83vh;
    position: relative;
    top: 10px;
}

.flex-container.project-images #P7 {
position: relative;
margin-left: -15vh;
margin-right: -15vh;
}

.flex-container a {
    flex: 0 0 auto;            
    display: inline-block;
    text-decoration: none;
}


.flex-container img {
    height: 70vh;              
    width: auto;               
    display: block;
    filter: drop-shadow(0 40px 20px rgba(0, 0, 0, 0.1));
}

.ÜBER{
 color: black;
 font-size: 20px;
 text-decoration: none;
 border-bottom: none;
 cursor: default;
 justify-content: space-between;
 align-items: flex-start;
}

.PROJEKTE{
 color: black;
 font-size: 20px;
 text-decoration: none;
 border-bottom: none;
 cursor: default;
 justify-content: space-between;
 align-items: flex-end;
}

.PROJEKTE:hover {
  transform: scale(1.25);
  transition-delay: 0s;
}

.ÜBER:hover {
  transform: scale(1.25);
  transition-delay: 0s;
}

.navbar {
max-height: 43px;
margin: 0 auto;
border-radius: 9px;
display: flex;
justify-content: space-between;
padding: 10px;
background: linear-gradient(rgb(9, 122, 122) aqua , 50%);
backdrop-filter: blur(20px);
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

header{
    position: fixed;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 120px;
    object-position: top;
}

body > header,
body > main > header {
    display: none;
}

@media (max-width: 700px) {
    main {
        scroll-snap-type: x mandatory;
    }

    .flex-container {
        height: 100svh;
        align-items: center !important;
        padding: 12px 8px !important;
    }

    .flex-container > a,
    .flex-container > .project-description {
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .flex-container img {
        width: auto !important;
        height: auto !important;
        max-width: calc(100vw - 16px);
        max-height: 60svh;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain;
    }

    .flex-container.project-images #P7 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .project-description {
        flex: 0 0 min(72vw, 28ch) !important;
        width: min(72vw, 28ch) !important;
        min-height: 0 !important;
        position: static !important;
        inset: auto !important;
        margin: 0 12px !important;
        padding: 12px !important;
    }

    .project-description h1 {
        margin-bottom: 3px;
        font-size: 11pt;
    }

    .project-description p {
        font-size: 8pt;
        line-height: 1.35;
    }
}



