
body {
    font-family: 'Arial', sans-serif;
    background-image: url('Bilder/animated_background.gif'); /* Animiertes Hintergrundbild */
    background-size: cover;
    background-attachment: fixed;
    color: rgb(112, 9, 9);
    margin: 0;
    padding: 0;
}

header {
    background-color: rgba(75, 0, 130, 0.8); /* Halbtransparentes Violett */
    color: white;
    padding: 1rem;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

nav ul li a:hover {
    color: #FFA500; /* Orange für Hover-Effekt */
    transform: scale(1.2); /* Interaktives Hover-Scaling */
}

section {
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.2); /* Transparenter Hintergrund */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-10px); /* Interaktives Hover-Effect */
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.gallery img {
    max-width: 200px; 
    margin: auto; 
    padding: 0px; 
    /*width: 100px;
    height: 100px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;*/
}

.gallery img:hover {
    transform: scale(1.1); /* Interaktives Hover-Scaling */
}

footer {
    background-color: rgba(75, 0, 130, 0.8);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer p {
    margin: 0;
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .gallery {
        flex-direction: column;
    }

    .gallery img {
        width: 100%;
    }
}

/* Styles... */

.star {
    position: absolute;
    width: 10px; /*Grösse des Sterns*/
    height: 10px;
    background-color: #FFA500; /* Farbe des Sterns */
    border-radius: 50%; /* Runde Form des Sterns */
    pointer-events: none; /* Verhindert, dass der Stern Mausereignisse blockiert */
    opacity: 0.8; /* Leichte Transparenz des Sterns */
  /*  animation: star-animation 0.8s ease-out forwards; */
    z-index: 9999; /* Sehr hoher z-index */
}



@keyframes star-animation {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.5);
        opacity: 0;
    }
}




/* Add this script reference at the bottom of your HTML file */

