header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem;
    z-index: 1000;
    transition:
        color 200ms ease,
        background-color 200ms ease;
    box-sizing: border-box;
    background-color: transparent;

    &.hell {
        color: white;
    }

    &.dunkel {
        color: black;
        background-color: #fbfaf5;
    }
}

/*header {
    position: fixed;
    z-index: 1;
    background-color: transparent;
    width: 100%;
    box-sizing: border-box;
    color: #ff9ee4;
}*/

.sidebar,
.sidebar a {
    color: black;
}
.sidebar li {
    width: 100%;
}
.sidebar a {
    width: 100%;
}
.menu-button {
    display: none;
}

@media (max-width: 800px) {
    .hideOnMobile {
        display: none;
    }
    .menu-button {
        display: block;
    }
}
@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}

.beschreibung-securva {
    max-width: 500px;
    padding: 0;
    margin: 0;
    font-size: 25px;
    margin-bottom: 300px;
}
.projekt-beschreibung-securva h2 {
    margin: 0;
    padding: 0;
}

.projekt-beschreibung-securva {
    padding: 30px;
}
section {
    align-items: flex-start;
    gap: 100px;
}
.mockup-bild {
    margin-inline: calc(var(--body-margin) * -1);
    max-width: calc(100% + var(--body-margin) * 2);
}
main {
    padding-left: 100px;
    padding-right: 100px;
}
.buchstabe-section {
    display: flex;
}
.beschreibung-buchstabe {
    max-width: 500px;
    padding: 40px;
    font-size: 25px;
    margin-top: 190px;
}

.buchstabe-f {
    width: 600px;
    height: auto;
    margin-top: 180px;
}
.container {
    padding: 0rem;
}
.slider-wrapper {
    position: relative;
    /*max-width: auto; davor: 48rem*/
    margin: 0 auto;
    margin-inline: calc(var(--body-margin) * -1);
    max-width: calc(100% + var(--body-margin) * 2);
    margin-bottom: 10rem;
}
.slider {
    display: flex;
    aspect-ratio: 16/9;
    overflow: auto; /*  bilder lassen sich scrollen*/
    scroll-snap-type: x mandatory; /*  scroll verhalten verändert sich --> slide effekt*/
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25); /*  3rem unschärfe, hsla die Farbe*/
}
.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
    width: 2480;
    height: 3508;
}
.slider-nav {
    /* postion der naviagtion*/
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.slider-nav a {
    /* style der navigations knöpfe*/
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background-color: #ff9ee4;
    opacity: 0.5; /* Deckkraft der Knöpfe*/
    transition: opacity ease 250ms;
}
.slider-nav a:hover {
    opacity: 1;
}
@media (max-width: 1200px) {
    html,
    body {
        overflow-x: hidden;
    }

    main {
        padding-left: 24px;
        padding-right: 24px;
    }

    section {
        gap: 32px;
        align-items: flex-start;
    }
    .buchstabe-section {
        display: flex;
        flex-wrap: nowrap;
        gap: 60px;
        align-items: flex-start;
    }
    .beschreibung-buchstabe {
        margin-top: 60px;
        padding: 16px;
        max-width: 100%;
        font-size: 1.25rem;
        max-width: 520px;
    }

    .buchstabe-f {
        margin-top: 40px;
        width: 100%;
        max-width: 520px;
        height: auto;
    }

    .beschreibung-securva {
        margin-bottom: 48px;
        font-size: 1.25rem;
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    header {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 0px;
    }
    main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .beschreibung-securva,
    .beschreibung-buchstabe {
        font-size: 1.25rem;
        padding: 16px;
        max-width: 100%;
    }
    .beschreibung-securva {
        margin-bottom: 40px;
        padding: 0;
    }
    .projekt-beschreibung-securva {
        padding: 16px;
    }
    .beschreibung-buchstabe {
        margin-top: 24px;
    }
    .buchstabe-section {
        gap: 20px;
        flex-wrap: wrap;
    }
    .buchstabe-f {
        width: 100%;
        max-width: 360px;
        margin-top: 0;
    }
    .slider-wrapper {
        margin-bottom: 3rem;
    }
    .slider-nav a {
        /* style der navigations knöpfe*/
        width: 0.4rem;
        height: 0.4rem;
    }
}
