header {
    width: 100%;
    background-color: #01050E;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 30px;
}

nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--button-color);
}

.auth-buttons {
    display: flex;
}

.auth-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.login {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid white;
    margin-right: 10px;
}

.login:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.register {
    background-color: var(--button-color);
    color: var(--text-color);
}

.register:hover {
    background-color: #4CAF50;
    transform: none;
}

.burger-menu {
    display: none;
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
        margin: 0 0 10px 0;
    }

    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
    }

    .burger-menu .bar {
        width: 30px;
        height: 3px;
        background: white;
        border-radius: 10px;
        transition: all 0.3s linear;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
    }

    .logo img {
        height: 25px; /* Anpassen Sie diese Größe nach Bedarf */
    }

    .auth-buttons {
        display: flex;
        gap: 10px;
        z-index: 1001;
    }

    .auth-buttons button {
        padding: 5px 10px;
        font-size: 12px;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #01050E;
        transition: 0.3s;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 60px;
        z-index: 1000;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 30px;
    }

    nav ul li {
        margin: 15px 0;
    }

    body.menu-open {
        overflow: hidden;
    }
}