/* Container oben links fixiert */
.navbar-wrapper {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    z-index: 9999;
}

.floating-navbar {
    display: flex;
    flex-direction: column;
    align-items: center;

    height: fit-content;
}

/* Einzelne Menü-Icons */

/* Aktives Element mit Pink-Lila Verlauf und Glow */
.nav-item.active {
    background: linear-gradient(135deg, #8a2be2, #ff007f);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

/* Styling für den Hamburger Button */
.nav-toggle {
    display: none;
    /* Auf dem PC unsichtbar */
}

.nav-toggle:active {
    transform: scale(0.95);
}

/* responsive Anpassung für schmale Bildschirme */
@media (max-width: 900px) {

    /* Hamburger Button oben links fixieren */
    .nav-toggle {
        display: flex !important;
        position: fixed !important;
        top: 20px !important;
        left: 20px !important;
        z-index: 100001 !important;
        width: 48px;
        height: 48px;
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.05);
        color: #ffffff;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .nav-toggle * {
        pointer-events: none;
    }

    .navbar-wrapper {
        transform: none;
        top: 80px !important;
        left: 20px !important;
        z-index: 100000 !important;
    }

    /* Navbar im mobilen Zustand verstecken */
    #floating-navbar.floating-navbar {
        display: none !important;
        /* Standardmäßig ausblenden */
        flex-direction: column !important;
        /* Wieder vertikal machen */
        width: auto !important;
        background: #5D358D;
    }

    /* Wenn die Klasse .is-open aktiv ist -> Anzeigen! */
    #floating-navbar.floating-navbar.is-open {
        display: flex !important;
    }
}