.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    height: 8vh;
    width: 100vw;
    font-family: 'Source Sans Pro Topnav', 'Arial' !important;
    z-index: 1000;
}

.navigation {
    background-color: #111/*#2a2b2d*/;
    background-image: linear-gradient(to bottom, #111 85%, #1e1e1e 100%);
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #333;
}

.nav-handheld {
    z-index: 1000;
    display: none;
}

@media (max-width: 900px) {
    .searchbar {
        left: 1vw !important;
        top: 0.8vh !important;
        width: 98vw !important;
    }

    .nav-container {
        position: fixed;
        bottom: 0;
        left: 0;
        display: flex;
        height: 10vh;
        width: 100vw;
        justify-content: space-around;
        align-items: center;
        background-color: #1a1a1a;
    }

    .nav-container-centered .nav-itm:not([class*='nav-search']) {
        display: none !important;
    }

    .nav-handheld .nav-itm:not([class*='nav-search']) {
        display: block !important;
    }

    .nav-itm.nav-search input {
        display: none !important;
    }

    .nav-profile-box .profile-user {
        display: none !important;
    }

    .nav-handheld {
        display: flex;
        justify-content: space-around;
        background-color: #1a1a1a;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 8vh;
        align-items: center;
    }

    .nav-itm, .nav-itm.search {
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        flex-direction: column;
        text-align: center;
    }

    .nav-itm i {
        margin-bottom: 5px;
    }

    .navigation {
        display: none !important;
    }
}

.navigation a:hover {
    color: #eee !important;
}

.navigation .nav-itm {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.navigation .nav-itm:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile-user {
    padding-left: 0.3rem;
    self-align: center !important;
    font-size: 1.3rem;
    cursor: default;
    /* disable selectability */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard-Syntax */
}

.profile-salary {
    display: flex !important;
    color: white !important;
    text-decoration: none;
    text-align: center !important;
    width: fit-content;
    padding: 1.5rem;
    flex-direction: column-reverse;
    align-items: stretch;
}

.nav-logo {
    color: white;
    font-weight: bolder;
    font-size: 22px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo i, .nav-logo svg, .nav-logo img {
    margin-right: 0.8rem;
}

.nav-itm {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out;
}


.nav-search {
    font-family: 'Segoe UI Symbol' !important;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.nav-search input[type=text] {
    margin-left: 0.5vw;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    outline: none;
    background-color: #333;
    color: white;
}

.nav-profile-box {
    position: fixed !important;
    display: flex;
    top: 0px;
    right: 0px;
    background-color: #111;
    align-items: center;
    text-align: center;
    color: white;
    text-decoration: none;
    height: 7vh;
    margin: 0;
    min-width: 13.5vw;
    width: auto;
    border-radius: 30px 0px 0px 30px;
    transition: background-color 0.2s ease-in-out;
    z-index: 1001;
}


.nav-profile {
    background-color: #1e1e1e;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    position: relative;
    margin-left: auto;
    border-radius: 8px;
    padding: 0.5rem;
    transition: background-color 0.2s ease-in-out;
}

/**
    centered nav-bar
*/
.nav-container-centered {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
}


.nav-centered {
    background-color: #1a1a1a;
    background-image: linear-gradient(to bottom, #1a1a1a 80%, #282828 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    padding: 0.2rem 3.2vw;
    border: 1px solid #333;
    transition: all 0.6s ease;
}

.nav-centered:hover {
    box-shadow: 0px 0px 25px 2px white;
}

.nav-centered a {
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 25px;
}

.nav-centered a:hover {
    background-color: #333;
    color: #eee;
}

.nav-centered .nav-logo {
    font-size: 24px;
    margin-right: auto;
    color: white;
}

.nav-centered .nav-itm, .nav-centered .nav-profile {
    margin: 0;
}

.nav-centered .nav-profile {
    margin-left: 20px;
    border-radius: 25px;
    padding: 10px;
    transition: background-color 0.2s ease-in-out;
}

.nav-centered .nav-profile:hover {
    background-color: #333;
}

.nav-centered .nav-search {
    margin-right: 20px;
}

.nav-centered .nav-search input[type=text] {
    margin-left: 0.5vw;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    outline: none;
    background-color: #333;
    color: white;
}


/** DROPDOWN */
.dropdown {
    position: absolute;
}

.dropdown-content {
    font-size: 18px;
    position: fixed;
    right: 0;
    top: 7vh;
    justify-items: center;
    padding: 0.5rem;
    border: #ccc solid 0.15rem;
    border-top: none;
    border-right: none;
    border-radius: 0px 0px 0px 5px;
    display: none;
    background-image: linear-gradient(#111, #212529) !important;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1001;
}

.dropdown:hover + .dropdown-content, .dropdown-content:hover {
    display: grid !important;
}

.dropdown-item {
    display: flex !important;
    color: white !important;
    text-decoration: none;
    text-align: center !important;
    min-width: 10vw;
}

.dropdown-item i,svg {
    justify-self: center;
    align-self: center;
    padding-right: 1rem;
}

.dropdown-hr {
    border-top: 0.1rem solid #fff;
    margin: 0.3rem 0.1rem 0.3rem 0.1rem;
    width: -webkit-fill-available;
    color: white !important;
}

.dropdown-item:hover, .dropdown-item:focus {
    background: radial-gradient(#202428, #222);
    color: #fff !important;
}

.dropdown-info {
    cursor: default;
    border-radius: 3px;
    color: white;
    font-weight: bolder;
    text-shadow: #eee 1px 0 5px;
    text-align: center !important;
    text-decoration: none;
}

.dropdown-info.group {
    color: lightblue;
}

.dropdown-info.salary {
    color: lightgray;
    right: 0.3rem;
    top: 0px;
    font-size: 0.85rem;
    position: absolute;
}

.icon-buttons {
    display: flex; /* Flexbox aktivieren für den Container */
    justify-content: space-around; /* Gleichmäßige Verteilung der Buttons */
    flex-wrap: wrap; /* Zeilenumbruch, falls nötig */
}

.icon-button {
    display: flex;
    flex-direction: column; /* Text unter dem Icon */
    align-items: center; /* Zentrieren der Inhalte */
    color: white !important;
    text-decoration: none;
    padding: 0.5rem; /* Abstand um die Buttons */
    font-size: 0.8rem; /* Schriftgröße der Icons und Text */
    width: 4rem;
    margin: 0 0.5rem; /* Abstand zwischen Buttons */
    border-radius: 10px;
}

.icon-button:hover {
    background: radial-gradient(#202428, #222);
    color: #fff !important;
}

.icon-button i {
    font-size: 0.95rem; /* Größe der Icons anpassen */
}

.dropdown-item-text {
    font-size: 0.75rem; /* Schriftgröße des Textes */
    text-align: center; /* Text zentrieren */
    color: #ddd !important;
}

.dropdown-info.important {
    color: #aa0000;
    text-shadow: #777 1px 0 5px;
}


/**
    Searchbar
*/

.search-container {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 1, 1, 0.7);
    overflow-y: hide;
    display: none;
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.searchbar {
    position: absolute;
    left: 9vw;
    width: 55vw;
    max-width: 80vw;
    animation: fallDown 0.5s ease forwards;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -10%);
}

@keyframes fallDown {
    from {
        top: -2vh;
        opacity: 0;
    }

    to {
        top: 2vh;
        opacity: 1;
    }
}

.searchbar input[type=search] {
    font-size: 19px;
    height: 50px;
    border: none;
    outline: none;
    margin-bottom: 0.2rem;
    box-shadow: 0px 0px 25px 2px rgba(81, 120, 201, 0.35);
    background-color: #1a1a1a;
    color: white;
}

/*Suggestions*/

.suggestions {
    overflow-y: auto;
    max-height: 45vh;
    /*direction: rlt;*/
    margin-top: 0.1rem;
    display: block;
    height: fit-content;
    background-color: #1a1a1a;
    box-shadow: 0px 0px 25px 2px rgba(81, 120, 201, 0.35);
    border-radius: 15px 0px;
    z-index: 2;
}

.suggestions-info {
    cursor: default;
    padding: 1rem 0rem 0rem 1rem;
    color: #eee;
    text-shadow: #111 1px 1px 3px;
    text-decoration: dotted;
}

.suggestions div:hover, .suggestions div:hover a {
    background-color: #1e1e1e;
}

.suggestions a {
    outline: none;
    border-left: 6px solid rgb(72, 100, 158) !important;
    background-color: #1a1a1a;
    color: white;
    margin-left: 1px;
    padding-left: 10px;
    width: 500%;
    text-decoration: none;
}

.userinfo-ln {
    font-size: x-small !important;
    color: #545d7a;
}

.content-hint {
    font-size: 14;
    color: lightblue;
}