* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: Arial, sans-serif;
    background-color: #2b2b2b;
    color: #fff
}

header {
    position: relative;
    text-align: center
}

header img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover
}

header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: #e4b23f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .7)
}

section a:visited {
    color: #000
}

nav {
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 999
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 0
}

nav ul li {
    position: relative
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    padding: 15px 20px;
    display: block;
    transition: background-color .3s
}

nav ul li a:hover {
    background-color: #e4b23f
}

nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    list-style-type: none;
    padding: 0
}

nav ul li:hover ul {
    display: block
}

nav ul li ul li a {
    padding: 10px 20px
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: .4s
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        display: none
    }

    nav ul li ul {
        position: static
    }

    .hamburger {
        display: flex;
        justify-content: space-around
    }

    nav.active ul {
        display: flex
    }
}

main {
    padding: 20px
}

h2 {
    color: white;
    padding-top: 50px
}

footer {
    background-color: #1a1a1a;
    text-align: center;
    padding: 20px;
    margin-top: 40px
}

footer p {
    color: white
}

footer a:visited {
    color: #06c
}

.kontakt-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    max-width: 400px;
    width: 100%;
    align-self: center
}

.kontakt-input,
.kontakt-label,
.kontakt-textarea {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    color: #000
}

.kontakt-input,
.kontakt-textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px
}

.kontakt-button {
    padding: 10px 15px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer
}

.kontakt-error {
    color: red;
    margin-bottom: 10px
}

.kontakt-success {
    color: green
}

.geschichte_entry {
    background-color: #000;
    margin: 20px 0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1)
}

.geschichte_entry h2 {
    font-size: 1.8rem;
    color: #2980b9;
    margin-bottom: 15px
}

.geschichte_entry p {
    margin-bottom: 15px;
    line-height: 1.8
}

strong {
    color: #c0392b
}

.mitglied-container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1)
}

.mitglied-title {
    text-align: center;
    color: #333
}

.mitglied-section {
    margin-bottom: 40px
}

.mitglied-section h2 {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #C2C2C2;
}

.mitglied-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))
}

.mitglied-card {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    justify-content: space-around;
    flex-grow: 1
}

.mitglied-image {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
    object-fit: contain
}

.mitglied-card h3 {
    margin: 10px 0 5px;
    font-size: 1.2em;
    color: #222;
    min-height: 50px
}

.mitglied-card p {
    margin: 5px 0;
    font-size: .9em;
    color: #555;
    min-height: 30px
}

.mitglied-card a {
    color: #06c;
    text-decoration: none
}

.mitglied-card a:hover {
    text-decoration: underline
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.folder {
    margin: 25px;
    padding: 25px 25px 0;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    text-align: center;
    border-radius: 15px
}

.folder img {
    margin-bottom: 0;
    object-fit: cover;
    height: 85%;
    width: 25vw;
    border-radius: 5px
}

.folder a {
    text-decoration: underline;
    color: #000;
    font-size: 1.2em;
    text-transform: capitalize
}

.folder p {
    color: #000;
    text-transform: capitalize;
    font-size: 1.2em
}

@media (max-width: 786px) {
    .mitglied-image {
        width: 100px;
        height: 100px
    }

    .folder img {
        width: 50vw
    }

    .folder {
        padding-bottom: 20px
    }
}

.events-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.event-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around
}

.event-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    margin: 15px;
    padding: 20px;
    width: 300px;
    transition: transform .3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.event-card:hover {
    transform: scale(1.05)
}

.event-card .event-date,
.event-card .event-description,
.event-card .event-location,
.event-card h2 {
    font-size: 1.2em;
    font-family: Arial, sans-serif;
    color: #333
}

.event-card h2 {
    margin-bottom: 10px;
    font-weight: 700;
    min-height: 50px;
    padding-top: 0;
    text-decoration: underline;
    color: black
}

.event-card .event-date,
.event-card .event-location {
    font-weight: 700;
    margin-bottom: 5px
}

.event-card .event-description {
    margin-top: 10px;
    flex-grow: 1
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    margin-top: 20px
}

@media (max-width: 768px) {
    .event-card {
        width: 90%
    }
}

.banner-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    background-color: #2b2b2b;
    display: flex;
    align-items: center;
    position: relative
}

.banner-track {
    display: flex;
    animation: 40s linear infinite scroll;
    width: max-content
}

.banner-slide {
    display: inline-block;
    padding: 10px;
    width: 200px;
    margin: 20px
}

.banner-container:hover .banner-track {
    animation-play-state: paused
}

@keyframes scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.iframe-container {
    background-color: #2b2b2b;
    display: flex;
    justify-content: center;
    align-items: center
}

.iframe-container iframe {
    width: 80%;
    height: 80vh
}

.thumbnail {
    width: 200px;
    cursor: pointer;
    transition: transform .3s
}

.thumbnail:hover {
    transform: scale(1.05)
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    justify-content: center;
    align-items: center;
    z-index: 1000
}

.overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3)
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    user-select: none
}

#overlay_egg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* halbtransparenter Hintergrund */
    display: none;
    /* Standardmäßig versteckt */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Inhalt des Easter Eggs */
#easter-egg {
    background-color: #ffdd57;
    padding: 30px;
    border-radius: 10px;
    font-size: 2em;
    color: #fff;
    text-align: center;
}

#easter-egg img {
    width: 300px;
    height: 100%;
    margin-top: 20px;
    border-radius: 50%;
    border: 3px solid #ff9800;
}