body {
    font-family: Arial, sans-serif;
    font-size: 24px;
    margin: 0;
    padding: 0;
    color: rgb(153, 153, 153);
    background-color: #000000;
    overflow-x: hidden;
}

.lang-button {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #9c0000;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 5px;
    transition: background 0.3s;
}

.lang-button:hover {
    background-color: #ff0000;
}

/* Hintergrund-Container mit GIF */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('assets/glow.webp') center/cover no-repeat;
    opacity: 20%;
    z-index: -1;
}

/* Header-Logo Hintergrund */
.background-image {
    margin-top: 30px;
    background-image: url('assets/logo.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 340px;
    position: relative;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    padding: 10px 0;
    position: relative;
    width: 100vw;
    overflow-x: hidden;
    flex-wrap: wrap;
}

.navbar button {
    color: rgb(153, 153, 153);
    background: none;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    transition: background-color 0.5s;
    font-size: x-large;
}

.navbar button:hover {
    background-color: #9c0000;
    color: #000000;
}

button {
    color: rgb(217, 217, 217);
    background-color: #9c0000;
    border: none;
    cursor: pointer;
    transition: background-color 0.5s;
    font-size: large;
}

button:hover {
    background: none;
    color: rgb(153, 153, 153);
}

/* Content */
.content {
    margin-top: 10px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    position: relative;
    z-index: 10;
}

.content h1, h2 {
    text-align: center;
    color: #ff0000;
}

h2, h3 {
    color: #ff0000;
}

a {
    color: rgb(153, 153, 153);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Content Layout */
.content-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 10px;
}

.text-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 100%;
    overflow-x: hidden;
}

.text-image img {
    width: 40%;
    height: auto;
    border-radius: 8px;
}

.text-image .text {
    width: 55%;
}

.text-image.reverse {
    flex-direction: row-reverse;
}



/* Responsive Anpassungen */
@media (max-width: 768px) {
    .background-image {
        height: 250px;
    }

    .content {
        margin-top: 20px;
        padding: 10px;
    }

    .text-image {
        flex-direction: column;
        text-align: center;
    }

    .text-image img {
        width: 80%;
    }

    .text-image .text {
        width: 100%;
    }

    .text-image.reverse {
        flex-direction: column;
    }

    .text-image.reverse .text {
        text-align: center;
    }

}

@media (max-width: 480px) {
    .content {
        margin-top: 10px;
    }

    .content h2 {
        font-size: 1.5em;
    }

    .text-image img {
        width: 90%;
    }

    .text-image .text {
        width: 100%;
    }

    .navbar button {
        font-size: 18px;
        padding: 12px;
    }
}
