/* Navbar Scrollbar Fix - Hide scrollbar but keep functionality */

/* Remove scrollbar from navbar */
#header {
    overflow-x: hidden;   
    max-width: 100vw;
}

.navbar {
    overflow-x: visible !important;
}

.navbar ul {
    overflow-x: visible !important;
    white-space: nowrap;
    flex-wrap: nowrap;
    flex-grow: 1;
    justify-content: flex-start;
}

/* Ensure navbar items don't cause horizontal scroll */
.navbar a,
.navbar a:focus {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Dropdown menu positioning */
.navbar .dropdown ul {
    white-space: normal;
    flex-wrap: wrap;
}

/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Optional: Show scrollbar on hover if needed */
*::-webkit-scrollbar:hover {
    width: 8px;
    height: 8px;
    display: block;
}
