/* Allgemeine Stile */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}/* Header Styling */
header {
    background-color: #4d4d4d  ; /* Blau mit 80% Deckkraft */
    color: white;
    padding: 20px;
    text-align: center;
    opacity: 0.9;
    display: flex;
    justify-content: space-between; /* Platz zwischen den Elementen */
    align-items: center;
}

.headerItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
}

.SY-header {
    width: 10%; /* Feste Breite für das Logo */
    margin-right: 10px; /* Abstand zwischen Logo und Text */
    border-right: 2px solid;
    padding-right: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Minimaler Schatten */
}

.SY-text {
    margin: 0;
    font-size: 24px;
    padding-right: 10px;
    
}

.slogan {
    margin-right:  15%;
    font-style: italic;
    text-align: center;
    flex-grow: 1;
    font-size: 1.8rem; /* Größe des Slogans */
   
}

nav {
    margin-left: auto; /* Positioniere die Navigation nach rechts */
    margin-right: 3%;
}

.headerItem nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px; /* Abstand zwischen den Navigationselementen */
    border-left: 2px solid;
}

.headerItem nav ul li {
    margin-left: 20px;
}

.headerItem nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 150%;
}

.headerItem nav ul li a:hover {
    color: darkblue;
}

/* Hauptinhaltsstile */
main {
    flex: 1;
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}

.logo img {
    max-width: 80%;
    height: auto;
    border-left: 8px white;
    border-right: 8px white;
    border-radius: 5px;
}


.link-to-contact {
    margin-top: 40px;
}

.link-to-contact .btn {
    padding: 16px 31px;
    background-color: #171580; /* Blau mit 80% Deckkraft */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}
.fab {
    font-size: 133%;
}
/* Hover-Effekt für Icons */
.icon i {
    transition: color 0.3s ease;
}

.icon i:hover {
    color: black; /* Icons ändern die Farbe bei Hover */
}
.link-to-contact .btn:hover {
    background-color: #171580; /* Blau mit 80% Deckkraft */
}

/* Footer Styling */
footer {
    background-color: #999999 ; /* Blau mit 80% Deckkraft */
    color: white;
    text-align: center;
    padding: 10px;
}
footer a{
    color: white;
}
/* Mobile Header hidden by default */
.headeritems-mobile {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
     /* Hide desktop header */
     .headerItem {
        display: none;
    }

   /* Show mobile header */
    .headeritems-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px;
        color: white;
    }

    .mobile-left {
        display: flex;
        align-items: center;
    }

    .SY-header-mobile {
        width: 40px;
        height: auto;
        margin-right: 10px;
    }

    .SY-text-mobile {
        font-size: 16px;
    }

    .mobile-right {
        display: flex;
        align-items: center;
    }

    nav ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    nav ul li {
        margin-left: 10px;
    }

    nav ul li a {
        color: white;
        text-decoration: none;
        font-size: 20px;
    }

    nav ul li a:hover {
        color: lightgray;
    }

    /* Social Media Icons */
    .fab {
        font-size: 133%;
        padding-right: 10px;
    }
    /* Hover-Effekt für Icons */
    .icon i {
        transition: color 0.3s ease;
        color: white;
    }
    
    .icon i:hover {
        color: black; /* Icons ändern die Farbe bei Hover */
    }

}
/* Weißer Kasten um den Inhalt */
.content-box {
    background-color: white; /* Weißer, leicht transparenter Hintergrund */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Schatten */
    max-width: 1000px;
    margin: 20px auto; /* Zentriert mit Abstand von oben und unten */
    z-index: 1;
    position: relative;
    opacity: 0.9;
    padding-bottom: 80px;
}
/* Slideshow Container */
.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.3;
}

/* Einzelne Slides */
.slide {
    position: absolute; /* Bilder übereinander platzieren */
    width: 100%;
    height: 100%;
    display: none; /* Standardmäßig ausblenden */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild füllt den Container */
}
.slide-image{
    width: 100%;
    height: auto;
}

/* Animation für die Bewegung von links nach rechts */
@keyframes slideIn {
    0% {
        transform: translateX(-100%); /* Startet links außerhalb des Containers */
    }
    100% {
        transform: translateX(0); /* Endet innerhalb des Containers */
    }
}

@keyframes slideOut {
    0% {
        transform: translateX(0); /* Startet im Container */
    }
    100% {
        transform: translateX(100%); /* Bewegt sich nach rechts außerhalb des Containers */
    }
}

/* Aktive Slides, die sichtbar sind und animiert werden */
.active {
    display: block;
    animation: slideIn 1s forwards; /* Slide-in Animation */
}

.inactive {
    display: block;
    animation: slideOut 1s forwards; /* Slide-out Animation */
}

