/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f8f8;
}

/* Header */
header {
    background-color: #cc0000; /* Rote Farbe */
    color: white;
    padding: 20px 10px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #900000;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1em;
    padding: 10px 15px;
    display: inline-block;
}

nav ul li a:hover {
    background-color: #ff3333;
    border-radius: 5px;
}

/* Slideshow */
.slideshow {
    position: relative;
    width: 100%;
    height: 100vh; /* Volle Bildschirmhöhe */
    overflow: hidden;
    margin: 0;
}

.slideshow img {
    width: 100%; /* Passt die Breite des Bildes an den Container an */
    height: 100%; /* Passt die Höhe des Bildes an den Container an */
    object-fit: cover; /* Stellt sicher, dass das Bild den Container vollständig ausfüllt */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}

/* Hauptinhalte */
main {
    padding: 20px;
}

main h2 {
    color: #cc0000;
}

section {
    margin-bottom: 40px;
}

.overview {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.overview div {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: 30%;
}

.overview div h3 {
    margin-top: 0;
}

.overview div p {
    margin: 10px 0;
}

.overview div .button {
    background-color: #cc0000;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
}

.overview div .button:hover {
    background-color: #ff3333;
}

/* Footer */
footer {
    background-color: #cc0000;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

footer a {
    color: #ffcccb;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsives Design */
@media (max-width: 768px) {
    .overview {
        flex-direction: column;
    }

    .overview div {
        width: 100%;
    }

    .slideshow {
        height: 50vh; /* Bei kleinen Bildschirmen die Höhe reduzieren */
    }
}
