
body {
    margin: 0;
    font-family: sans-serif;
    color: #fff;
    overflow-x: hidden;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.background-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(15px) brightness(0.5);
    opacity: 0;
    animation: bgFade 30s infinite;
}

.background-img:nth-child(1) {
    animation-delay: 0s;
}
.background-img:nth-child(2) {
    animation-delay: 10s;
}
.background-img:nth-child(3) {
    animation-delay: 20s;
}

@keyframes bgFade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

.content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

header {
    background: rgba(0, 51, 102, 0.85);
    padding: 20px;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    border-radius: 12px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 10px;
    background: rgba(0, 51, 102, 0.6);
    border-radius: 12px;
}

.gallery-img {
    width: 45%;
    max-width: 180px;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transition: transform 0.2s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
}

.welcome-screen {
    background-image: url('images/kind/willkommen.png');
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-align: center;
    padding: 20px;
}

.welcome-message {
    max-width: 600px;
    background: rgba(0, 51, 102, 0.7);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.welcome-message p {
    font-size: 1.3em;
    line-height: 1.6;
}

.welcome-message button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 10px;
    background: #003366;
    color: #ffffff;
    cursor: pointer;
}

.welcome-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    z-index: 1;
}

.confetti {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    overflow: hidden;
}

.confetto {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: hsl(var(--hue), 100%, 50%);
    animation: fall 5s linear infinite;
}
.confetto::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
    background-color: inherit;
}
@keyframes fall {
    to {
        transform: translateY(100vh) rotate(720deg);
    }
}
