body {
    font-family: sans-serif;
    margin: 0;
    overflow-x: hidden; /* Horizontalen Scrollbalken verhindern */
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Hinter dem Inhalt positionieren */
    pointer-events: none; /* Konfetti nicht anklickbar machen */
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: gold; /* Farbe nach Wunsch anpassen */
    top: -10px; /* Startposition außerhalb des Bildschirms */
    animation: confetti-fall 3s linear infinite; /* Animationsdauer und -verhalten anpassen */
}

/* ... (vorherige CSS-Regeln) ... */

.confetti.yellow {
    background-color: gold;
}

.confetti.green {
    background-color: green;
}

.confetti.red {
    background-color: red;
}

.confetti.blue {
    background-color: blue;
}

@keyframes confetti-fall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.content {
    padding: 20px;
    text-align: center;
}

/* Optimierung für Smartphones */
@media (max-width: 768px) {
    .content {
        font-size: 1.2em;
    }
}

h1 {
    font-family: 'Ubuntu';
}

.news-container {
    display: flex;
    flex-wrap: wrap; /* Artikel sollen sich bei Bedarf umbrechen */
    justify-content: center; /* Artikel zentrieren */
    padding: 20px;
}

.news-article {
    width: 300px; /* Breite der Artikelbox */
    margin: 10px;
    border: 1px solid #ccc; /* Rahmen um die Artikelbox */
    padding: 10px;
}

.news-article img {
    width: 100%; /* Bildbreite an Artikelbox anpassen */
    height: auto;
}

.news-article h3 a {
    text-decoration: none; /* Unterstreichung entfernen */
    color: #333; /* Farbe des Titels */
}

.news-article .date {
    font-size: 0.8em; /* Kleinere Schriftgröße für das Datum */
    color: #666; /* Graue Farbe für das Datum */
    margin-top: 5px; /* Abstand zum vorherigen Text */
}

.title-image {
    max-width: 25%; /* Maximale Breite des Bildes (80% des контейнер Breite) */
    height: auto; /* Höhe wird automatisch angepasst */
    display: block; /* Bild zentrieren */
    margin: 40px auto; /* Abstand zum Titel und zentrieren */
    margin-bottom: 0;
}