body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    
    background-image: URL('bilder/trenner.png');
    background-position: left;
    background-repeat: repeat-y;
    background-size: 1em auto;
    padding-left: 1em;
}

html {
    background-image: URL('bilder/trenner.png');
    background-position: right;
    background-repeat: repeat-y;
    background-size: 1em auto;
    padding-right: 1em;
}

#marke img {
    background-color: #fff;
    opacity: 0.75;
    box-shadow: 0px 0px 20px #fff;
    border-radius: 5px;
    padding-right: 10px;
    padding-left: 10px;
    display: none;
    width: 196px;
}
#marke img.show {
    display: inline;
}

#Start img {
    width: 90%;  
}

.container {
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
    scrollbar-width: none;
}

.container::-webkit-scrollbar {
    display: none;
}

section {
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    color: #000;
    font-weight: normal;
    overflow-y: auto;
}

section h4 {
    writing-mode: vertical-lr;
    text-orientation: upright;
}
section div.content {
    background-color: rgba(196, 196, 196, 0.75);
    padding: 10px;
    border-radius: 10px;
    
    background-image: URL('bilder/trenner.png');
    background-position: left;
    background-repeat: repeat-y;
    background-size: 1em auto;
    padding-left: 1.5em;
}

#Start { background-image: URL('bilder/hintergrund.png'); }
#Ausmalbuecher { background-image: URL('bilder/hintergrund2.png'); }
#Schauraum { background-image: URL('bilder/hintergrund.png'); }
#Impressum { background-image: URL('bilder/hintergrund2.png'); }
#Datenschutzerklaerung { background-image: URL('bilder/hintergrund.png'); justify-content: none; }

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-links a.active {
    background-color: #ffffff22;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    padding-left: 56px;
    padding-right: 56px;
}
.scroll-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 20px;
    scrollbar-width: none;
    user-select: none;
}

.scroll-carousel::-webkit-scrollbar {
    display: none;
}

.scroll-carousel img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    pointer-events: none;
}

.arrow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1;
}

.arrow-button.left {
    left: 10px;
}

.arrow-button.right {
    right: 10px;
}

.arrow-button {
    display: none;
}

.scroll-carousel img:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .arrow-button {
        display: block;
    }
}



@media (max-width: 768px) {
    section {
        font-size: 1em;
    }
    section div {
        max-width: 70%;
    }
    #Datenschutzerklaerung .content {
        margin-top: 10%;
        font-size: 0.65em;
    }
            
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        gap: 10px;
    }

    .nav-links.show {
        display: flex;
    }
    
    .carousel-container {
        padding-left: 0;
        padding-right: 0;
    }
}







