body {
    font-family: helvetica, sans-serif;
    background: url('/static/img/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
}

header {
    background-color: rgb(26, 101, 153);  /* Hintergrundfarbe auf #1A6599 setzen */
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav li {
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: rgb(255, 255, 255); 
    font-weight: bold;
}

.logo {
    max-width: 45%; /* Logo nimmt 1/3 der Bildschirmbreite ein */
}

.logo img {
    max-width: 100%;
    display: block; /* Entfernt den Abstand unter dem Logo */
}


.nav-list {
    display: flex;
    margin-right: 20px; /* Abstand zum rechten Bildrand hinzufügen */
}

.landing-page {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #851c1c;
    border-radius: 5px;
}

.project {
    margin-top: 20px;
}

.project img {
    max-width: 100%;
}

footer {
    text-align: center;
    background-color: #1A6599; /* Hintergrundfarbe des Footers auf #1A6599 setzen */
    color: #fff;
    padding: 10px;
}

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

/* Vorheriger CSS-Code bleibt unverändert */

/* Neue CSS-Regeln für die Landing-Page-Abschnitte */
.landing-page {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
}

.section {
    margin-bottom: 40px; /* Abstand zwischen den Abschnitten */
}

.text-image {
display:flex;

}

.text-image img,
.image-text img {
    max-width: 100%; /* Die Bilder nehmen 45% des verfügbaren Platzes ein */
    opacity: 0; /* Das Bild ist anfangs unsichtbar */
    transition: opacity 0.5s ease-in-out; /* Übergangseffekt für die Bildsichtbarkeit */
    animation: fadeIn 1s ease-in-out forwards; /* CSS-Animation für das Einblenden */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.image-text {
    display: flex;
    justify-content: space-between;
}

.image-text img {
    order: 0; /* Ändern Sie die Reihenfolge, um das Bild links anzuzeigen */
}

.text-image p,
.image-text p {
    max-width: 100%; /* Der Text nimmt 100% des verfügbaren Platzes ein */
    margin-left: 5%; /* Horizontaler Abstand zwischen Bild und Text */
    margin-right: 5%; /* Horizontaler Abstand zwischen Bild und Text */
}


/* Ergänzung zu Ihrer styles.css Datei */

/* Zu Ihrer bestehenden styles.css hinzufügen */

/* Besserer Zeilenabstand */
.text-content {
    flex: 1;
    margin-right: 20px;
    margin-left: 20px;
    line-height: 1.5;
}

.text-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Einfache Abstandsklassen */
.spacer-small { height: 15px; }
.spacer-medium { height: 25px; }
.spacer-large { height: 40px; }

/* Bessere Listenformatierung */
.simple-list {
    margin: 15px 0;
    padding-left: 50px;
}

.simple-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}





/*  Slideshow Styles */
.slideshow-container {
    max-width: 45%;
    position: relative;
    display: inline-block;
}

.slideshow-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-image:first-child {
    opacity: 1; /* Erstes Bild sichtbar */
}

.slideshow-image:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
}

.slideshow-image.active {
    opacity: 1;
}

/* Override für die bestehende Animation */
.slideshow-image {
    animation: none !important;
}
}













/* Anpassung der bestehenden Navigation */
.nav-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list li {
    margin: 0 20px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}



/* CSS-Erweiterungen für styles.css */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    visibility: hidden;
    position: absolute;
    background-color: #1A6599;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    left: -40px;  /* Mehr Abstand zum linken Rand */
    padding: 8px 0;
}

.dropdown-content a {
    color: white;
    padding: 12px 24px 12px 40px;  /* Mehr Padding links */
    text-decoration: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    
}

.dropdown-content a:hover {
    background-color: #145180;
    width: 100%;  /* Volle Breite beim Hover */
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
}

h1,h2,h3 {
color: rgb(26, 101, 153);
}

.schachtapp-btn {
    background: linear-gradient(135deg, #1a6599 0%, #2980b9 50%, #3498db 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 101, 153, 0.3);
}

.schachtapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 101, 153, 0.4);
    background: linear-gradient(135deg, #145180 0%, #2471a3 50%, #2e86c1 100%);
}