body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-background {
    background-image: url('../Bilder/Logo.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    padding: 9em;
    text-align: center;
}

.header-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Bild wird abgedunkelt */
    z-index: 1;
}

.header-background h1 {
    position: relative;
    z-index: 2;
}

nav {
    position: relative;
    z-index: 2;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav li {
    display: inline;
    margin: 0 1em;
}

nav a {
    color: white;
    text-decoration: none;
}

main {
    padding: 2em;
}

section {
    margin-bottom: 2em;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em;
    position: fixed;
    width: 100%;
    bottom: 0;
}

form {
    display: flex;
    flex-direction: column;
}

label, input, textarea, button {
    margin-bottom: 1em;
}

input, textarea {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 0.5em;
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

#members form {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

#members label, #members input, #members button {
    margin-bottom: 1em;
}

#members input {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#members button {
    padding: 0.5em;
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

#members button:hover {
    background-color: #45a049;
}

/* Neue CSS für Veranstaltungskarten */
.event-card {
    border-radius: 15px;
    border: 1px solid #ccc;
    padding: 20px;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.event-card img {
    max-width: 100px;
    margin-right: 20px;
}

.event-card .message {
    flex: 1;
}

/* CSS für den ausklappbaren Bereich */
.accordion {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 20px 0;
}

.accordion-button {
    background-color: #007BFF;
    color: white;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
}

.accordion-button:hover {
    background-color: #0056b3;
}

.accordion-content {
    padding: 10px;
    border-top: 1px solid #ccc;
}

.arrow {
    float: right;
}
