* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --font-sans: 'Unbounded', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  }
  
  body {
    font-family: var(--font-sans);
    padding-top: 100px; /* Verhindert Überlappen */
    height: 100vh;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    overflow-y: auto; /* Erlaubt vertikales Scrollen */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255, 255, 255);
    position: relative;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background 1s ease-in-out;
}

.content {
    position: absolute;
    text-align: center;
}


 .logo {
        position: absolute;
        top: 35px; 
        left: 50%;
        transform: translateX(-50%);
        font-size: 38px;
        font-family: var(--font-sans);
        font-style: normal;
        font-weight: 300;
        color:black; 
        text-align: center;
        white-space: nowrap;
    
}

nav ul {
    list-style: none;
}

nav ul li {
    margin: 25px 0;
    text-transform: uppercase;
    text-align: center;
    padding: 10px; /* Fügt etwas Platz innerhalb des Rahmens hinzu */
    transition: border 0.3s ease-in-out; /* Sanfte Animation */
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

nav ul li a:hover {
    border: 2px solid white;
    padding: 5px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(255, 255, 255);
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
}

.logo a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 24px;
    font-weight: bold;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 12px;
}

.menu-toggle {
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    font-size: 24px;
    display: none; /* Wird nur auf kleinen Bildschirmen angezeigt */
}


/* Responsive Anpassung */
@media (max-width: 1024px) {
 

   
    .logo {
        font-size: 35px;
    }

    nav ul li a {
        font-size: 16px;
    }

    @keyframes tapEffect {
        0% { transform: scale(1); background-color: rgba(255, 255, 255, 0.1); }
        50% { transform: scale(1.1); background-color: rgba(255, 255, 255, 0.2); }
        100% { transform: scale(1); background-color: rgba(255, 255, 255, 0.1); }
    }
    
    nav ul li:active {
        animation: tapEffect 0.3s ease-in-out;
        border-radius: 5px; 
    }
 
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 80px;
        background: rgb(255, 255, 255);
        padding: 10px;
        border-radius: 5px;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}



/* Responsive Anpassung */
@media (max-width: 768px) {
 

   
    .logo {
        font-size: 35px;
    }

    nav ul li a {
        font-size: 16px;
    }

    @keyframes tapEffect {
        0% { transform: scale(1); background-color: rgba(255, 255, 255, 0.1); }
        50% { transform: scale(1.1); background-color: rgba(255, 255, 255, 0.2); }
        100% { transform: scale(1); background-color: rgba(255, 255, 255, 0.1); }
    }
    
    nav ul li:active {
        animation: tapEffect 0.3s ease-in-out;
        border-radius: 5px; 
    }
 
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 80px;
        background: rgb(255, 255, 255);
        padding: 10px;
        border-radius: 5px;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

