:root {
    --nav-height: 50px;
}



/* Grundstil für die Navigationsleiste */
.navbar {
    background-color: #1f1f1f;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    /* border: 1px solid yellow; */
    width: 100%;
    z-index: 1000;
}


/* Standard-Navigation */
nav {
    display: flex;
    justify-content:center;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, #1f1f1f, #171717); /* Farbverlauf von links nach rechts */
    color: #fff;
    position: fixed;
    height: var(--nav-height);
    top: 0;
    width: 100%;
    z-index: 1000;

}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 5px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffffc6;
    font-size: 1em;
    height: var(--nav-height);
    padding: 10px 15px;
    border-radius: 0px;
    align-items: center;
    text-align: center;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background: linear-gradient(0deg, #0f512272, #00000000); /* Farbverlauf von oben nach unten */
    background-position: bottom; /* Positioniere den Farbverlauf in der Mitte */
    background-size: 100% 56%; /* Decke die gesamte Fläche ab */
    background-repeat: no-repeat; /* Wiederhole den Farbverlauf nicht */
}

/* Hamburger-Menü
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.3s;
} */
.tools_icon{
    height: 35px;
}
 .navLogo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: 5px;
    box-shadow: 0px 4px 8px rgba(17, 19, 16, 0.49);
} 
 .navLogo:hover {
    cursor:pointer;
    background-color: transparent;
    border: none;
} 
#profile-menu {
        display: none;
        position: absolute;
        background-color: #fff;
        border-radius: 5px;
        color: #000;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        padding: 10px;
        width: 200px;
        margin-left: calc(200px * -1 + 80px);
    }

   #profile-menu button {
        width: 100%;
        padding: 10px;
        background-color: #444;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        text-align: center;
    }

    #profile-menu button:hover {
        background-color: #666;
    }   
    #profile {
        padding: 10px;
        /* margin-right: 10px; */
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    .profileMenuActive {
        background-color: #fff;
        height: 100%;
        color: #000;
        padding-bottom: 0;
    }
    .userProfileNavPic {
        width: 30px;
        height: 30px;
        border-radius: 50%;
    } 

/* Verstecke das Menü standardmäßig auf Mobilgeräten */
@media (max-width: 768px) {
    /* :root {
        --nav-height: 35px;
    } */
    /* .navLogo {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        position: fixed;
        left: 10px; 
        top: 10px;
        box-shadow: 0px 4px 8px rgba(17, 19, 16, 0.49);
    }  */
    /* #profile {
        position: absolute;
        right: 5px;
        top: 2px;
    } */
    .userProfileNavPic {
        width: 30px;
        height: 30px;
        border-radius: 50%;

    }
    nav {
       height: var(--nav-height);
    }
    .tools_icon{
        height: 28px;
    }
    /* .hamburger {
        margin-top: 0px;
        display: flex;
    } */

    /* Checkbox-Trick: Zeige das Menü, wenn die Checkbox aktiviert ist */
    /* #menu-toggle:checked + .hamburger + ul {
        display: flex;

    } */
}
