* {
    margin: 0px;
    padding: 0px;
}

html, body {
    height: 100px;
}

html {
    scroll-behavior: smooth; /* Aktiviert sanftes Scrollen */
}

.body1 {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFEDEB;
    min-height: 100vh;
}

header {
    background-color: #42458C;
    color: #fff;
    padding: 10px;
    height: 100px;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    margin: 0 auto;
    background-color: #42458C;
    color: #fff;
}

.header-nav-logo {
    height: 65px;
    width: auto;
    margin: 5px 10px;
}

.header-nav-ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.header-nav-ul-li {
    padding: 0 30px;
}

.header-nav-button {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.header-nav-button:hover {
    background-color: #333;
    transform: scale(1.1);
}

.header-nav-a {
    color: white;
    text-decoration: none;
}

.nav-1:hover, .nav-2:hover, .nav-3:hover, .nav-4:hover, .nav-5:hover {
    margin-left: 1rem;
    color: white;
    transform: scale(2);
}

.main {
    padding: 2rem;
    text-align: center;
    min-height: calc(50vh - 60px);
    overflow-y: auto;
}

.headline {
    font-size: 3rem;
    font-style: italic;
    font-weight: bold;
    padding: 25px;
    margin: 10px;

}

.impression {
    display: flex;
    font-size: 1.5rem;
    padding: 25px;
    margin: 15px;
    line-height: 1.0;
    text-align: center;
}

.mainh1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mainp {
    margin-bottom: 2rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 25px;
}

.card {
    background-color: #42458C;
    color: #fff;
    border-radius: 20px;
    height: 475px; /* adjust the value to your desired height */
  }
.card img {
    height: 100px;
    margin-top: 20px;
}

.container-yt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px;
}

.text-yt {
    flex: 1;
    margin-right: 20px;
}

.video {
    flex: 1;
}

video {
    width: 100%;
    height: auto;
}

.contact-area {
    display: flex;
    margin: 40px;
}
.contact-text {
    flex: 1;
    margin-right: 20px;
}
.contact-areaimg {
    flex: 1;
    width: 100%;
    height: auto;
    justify-content:left;
    text-align: center;
    padding-top: 50px;
}

.contact-area2 {
    display: flex;
    width: 100%;
}
.contact-img {
    flex: 1;
    padding-top: 25px;
    padding: 50px;
    max-width: 100%;
    height: auto;

    
}
.contact-details {
    padding-right: auto;
    
}
.contact-details {
    flex: 1;
}


/*button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    margin-top: 1rem;
}
    */

footer {
    text-align: center;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 3rem;
    background-color: #F33A66;
    color: white;
}

.footer-column {
    flex: 1;
    margin-right: 2rem;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    margin-bottom: 4vh;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    text-decoration: none;
    color: white;
}

.footer-separator {
    height: 2px;
    background-color: black;
    margin: 1rem 0;
}

u {
    text-decoration-color: black;
    text-decoration-thickness: 3px;
}

/* Galerie*/
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Spalten auf großen Bildschirmen */
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.gallery-item {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center; /* Zentriert das Bild horizontal */
    align-items: center; /* Zentriert das Bild vertikal */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild passt sich an und wird ggf. beschnitten */
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.impressum-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.impressum-title {
    text-align: center;
    margin-bottom: 20px;
}

.impressum-subtitle {
    margin-top: 20px;
    color: #0056b3;
}

.impressum-text {
    margin-bottom: 10px;
}

.impressum-link {
    color: #0056b3;
    text-decoration: none;
}

.impressum-link:hover {
    text-decoration: underline;
}

/* Leaflet Map
#map {
    height: 250px;
    width: 50%;
 } */

 #map {
    flex: 1;
    width: 50%;
    height: 250px;
    justify-content:left;
    text-align: center;
    padding-top: 50px;
 }


/* Media Queries für Mobilgeräte */
@media only screen and (max-width: 911px) {
	.sidebar {
			height: 100%;
			width: 0;
			position: fixed;
			z-index: 9999;
			top: 0;
			left: 0;
			background-color: #111;
			overflow-x: hidden;
			transition: 0.5s;
			padding-top: 60px;
	}

	.sidebar a {
			padding: 8px 8px 8px 32px;
			text-decoration: none;
			font-size: 25px;
			color: #818181;
			display: block;
			transition: 0.3s;
	}

	.sidebar a:hover {
			color: #f1f1f1;
	}

	.sidebar .closebtn {
			position: absolute;
			top: 0;
			right: 25px;
			font-size: 36px;
			margin-left: 50px;
	}

	.hamburger {
			font-size: 30px;
			cursor: pointer;
			position: flex;
            display: block;
			top: 15px;
			right: 15px;
	}

	.header-nav-ul {
			display: none;
	}
	
	.featured-image {
		height: 30vh;
	}
	
	.featured-image img {
		width: 100%;
		height: auto;
	}
	
	.main {
		padding: 1rem;
	}
	
	.mainh1 {
		font-size: 1.5rem;
	}
	
	.mainp {
		font-size: 1.2rem;
	}
	
	.button {
		font-size: 1.2rem;
		padding: 0.5rem 1rem;
	}
	
	.footer-container {
		flex-direction: column;
	}
	
	.footer-column {
		margin-bottom: 1rem;
	}

    .contact-area {
        flex-direction: column;
    }
    .contact-area2 {
        flex-direction: column;
    }

    /* .contact-areaimg {
        width: 100%;
        height: auto;

    } */
    
    #map {
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding-top: 70%;
    }
    .contact-img {
        justify-content: center;
        width: 100%;
        max-width: 800%;
        height: auto;
        margin-bottom: 20px;
        padding-bottom: 50px;
    }

    .video {
        flex-direction: column;
        height: auto;
        margin-bottom: 20px;

    }
    .container-yt {
        flex-direction: column;
    }

    .card {
        height: auto;
    }

    .headline {
        font-size: 2rem;
    }
}

/* Media Queries für PC */
@media only screen and (min-width: 912px) {
    .hamburger {
        display: none;
    }
	
	.sidebar {
		display: none;
	}
}

/* Media Query für Tablets (bis 768px) */
/* Für Tablets und kleinere Geräte (bis 768px) */
/* Für sehr große Bildschirme (ab 1600px) */
@media (min-width: 1600px) {
    .gallery {
        grid-template-columns: repeat(5, 1fr); /* 6 Spalten auf extrem großen Bildschirmen */
    }
}

/* Für große Bildschirme (ab 1400px) */
@media (min-width: 1400px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr); /* 5 Spalten auf großen Bildschirmen */
    }
}

/* Für Laptops und größere Bildschirme (bis 1200px) */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr); /* 4 Spalten */
    }
}

/* Für kleinere Laptops und Desktops (bis 1024px) */
@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr); /* 3 Spalten auf kleineren Laptops */
    }
}

/* Für größere Tablets (bis 900px) */
@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr); /* 3 Spalten auf größeren Tablets */
    }
}

/* Für Tablets (bis 768px) */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Tablets */
    }

    .gallery-item {
        width: 100%; /* Passt die Breite auf 100% der Spalten an */
        height: auto;
    }
}

/* Für größere Smartphones (bis 600px) */
@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf größeren Smartphones */
    }

    .gallery-item {
        width: 100%;
        height: auto;
    }
}

/* Für mittelgroße Smartphones (bis 500px) */
@media (max-width: 500px) {
    .gallery {
        grid-template-columns: 1fr; /* 1 Spalte auf mittelgroßen Smartphones */
    }

    .gallery-item {
        width: 100%;
        height: auto;
    }
}

/* Für kleine Smartphones (bis 400px) */
@media (max-width: 400px) {
    .gallery {
        grid-template-columns: 1fr; /* 1 Spalte auf kleinen Smartphones */
        gap: 10px; /* Weniger Abstand zwischen den Bildern */
    }

    .gallery-item {
        width: 100%;
        height: auto;
    }
}

/* Für sehr kleine Geräte (bis 320px) */
@media (max-width: 320px) {
    .gallery {
        grid-template-columns: 1fr; /* 1 Spalte bei sehr kleinen Bildschirmen */
        gap: 5px; /* Noch weniger Abstand zwischen den Bildern */
    }

    .gallery-item {
        width: 100%;
        height: auto;
    }
}

/* Media Queries für impressum */
@media (max-width: 1024px) {
    .impressum-container {
        padding: 18px;
    }

    .impressum-title {
        font-size: 2em;
    }

    .impressum-subtitle {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .impressum-container {
        padding: 15px;
    }

    .impressum-title {
        font-size: 1.8em;
    }

    .impressum-subtitle {
        font-size: 1.3em;
    }

    .impressum-text {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .impressum-container {
        padding: 10px;
    }

    .impressum-title {
        font-size: 1.5em;
    }

    .impressum-subtitle {
        font-size: 1.2em;
    }

    .impressum-text {
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    .impressum-container {
        padding: 5px;
    }

    .impressum-title {
        font-size: 1.3em;
    }

    .impressum-subtitle {
        font-size: 1em;
    }

    .impressum-text {
        font-size: 0.8em;
    }
}
