/*-----------------------------------------------
               ALLGEMEIN
-----------------------------------------------*/

body {
    font-family: Arial, sans-serif;
    background-color: #f3fbff;
    letter-spacing: 1px;
    line-height: 1.5em;
    font-size: 14px;
    margin: 0;
}
p {
width: 100%;
max-width: 900px;
padding: 5px;
text-align: justify;
color: #323232;
}

article {
	background-color: #f3fbff;
	box-sizing: border-box;
	border: 1px solid #0288D1;
	padding: 25px;
	margin: 10px;
	
}
article h1 {
text-shadow: 3px 3px 5px gray;
font-size: 36px;
color: #01579B;
}


/*-----------------------------------------------
               MENUE
-----------------------------------------------*/


/* Allgemeine Stile für die Navigation */
nav {
position: relative;
width: 100%;
/*padding-left: 10px;
padding-right: 10px;*/
padding: 0px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: #0277BD;*/
/*background-color: rgba(0, 0, 0, 0.5); /* Durchsichtiger Hintergrund für das Menü */
}


/* Logo-Stil */
nav .logo img {
	padding-top: 10px;
    height: 50px; /* Anpassen je nach Logo-Größe */
}

/* Menü-Stil */
nav .menu {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

nav .menu li {
    display: inline;
}

nav .menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav .menu a:hover {
    text-decoration: underline;
    color: black;
}

/* Social Media Icons */
nav .social a {
    margin: 10px;
}

nav .social img {
    width: 30px; /* Größe der Icons anpassen */
    height: 30px;
}

nav .zusmenu {
    list-style-type: none;
    display: flex;
    gap: 50px;
    flex: 1;
}

nav .zusmenu li {
    display: inline;
}

nav .zusmenu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav .zusmenu a:hover {
    text-decoration: underline;
    color: black;
}


/* HAMBURGER */
.hamburger {
    display: none; /* Standardmäßig ausgeblendet */
    font-size: 30px;
    cursor: pointer;
    flex-direction: column;
    /*width: 30%;*/
    width: auto;
}

/* Menü bei kleinen Displays (Hamburger Menü sichtbar) */
@media (max-width: 1180px) {
    .hamburger {
    	color: white;
    	width: 100%;
    	display: block; 
      padding: 10px;
      float: left;
      background-color: #0277BD;*/
    }

    nav {
        display: none; /* Menü standardmäßig ausblenden */
        width: 100%;
        background-color: #0277BD;
     }
     /* Logo-Stil */
	nav .menu {
	gap: 3px;
	display: flex;
	flex-direction: column;
	width: 20%;
	}

    nav.active {
        display: block; /* Menü anzeigen, wenn "active" Klasse hinzugefügt wird */
    }

    nav ul {
        display: block;
        text-align: left;
        margin-left: -40px;
    }

    nav ul li {
        display: block;
        padding: 10px;
    }

    nav ul li a {
        font-size: 18px;
    }
    nav .zusmenu {
    	display: none;
    	gap: 10px;
    }
}



/*-----------------------------------------------
               FOOTER
-----------------------------------------------*/



footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	background-color: #0277BD;
	color: #fff;
	padding: 25px;
}
footer a:hover {
    background-color: #0277BD;
    color: #000 !important;
}
footer a {
    background-color: #0277BD;
    color: #fff;
}



/*-----------------------------------------------
               SLIDESHOW
-----------------------------------------------*/

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Die ganze Höhe des Viewports */
    overflow: hidden;*/
}

/* Stil für die einzelnen Bilder */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Langsame Übergänge */
}

/* Wenn das Bild aktiv ist, wird es sichtbar */
.active {
    opacity: 1;
}

/* Media Query für kleinere Displays (z. B. Smartphones) */
@media (max-width: 768px) {
    .slideshow-container {
        height: 50vh; /* Höhe auf 50% des Viewports für kleinere Bildschirme */
    }

    .slide {
        object-position: center center; /* Bilder auf kleinen Bildschirmen besser positionieren */
    }
}

/* Media Query für sehr kleine Displays (z. B. Handys im Hochformat) */
@media (max-width: 480px) {
    .slideshow-container {
        height: 40vh; /* Höhe auf 40% des Viewports für noch kleinere Bildschirme */
    }

    .slide {
        object-position: center center; /* Nochmals sicherstellen, dass die Bilder richtig positioniert sind */
    }
}
