header a {
    margin-right: 40px;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.418);
}

header a:hover {
    color: rgba(0, 0, 0, 0.829);
}

.link {
    position: fixed;
    top: 20px;
    left: 240px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 18px;
    color: black;
    z-index: 1003;
}

.NavigationLinks {
    margin-top: 8px;
}

.social-icons {
    position: fixed;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 16px;
    z-index: 1002;
    background: none;
    margin: 0;
    justify-content: flex-end;
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: inline-block;
}

.Logo {
    position: absolute;
    left: 16px;
    top: 8px;
    width: 75px;
}

.menu-button {
    position: fixed;
    top: var(--menu-top);
    left: var(--menu-left);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 1001;
    user-select: none;
    font-size: 18px;
    color: black;
}

.icon-wrapper {
    width: 24px;
    height: 24px;
    position: relative;
}

.icon-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: black;
    left: 0;
    transition: 0.3s ease;
    border-radius: 2px;
}

.line1 {
    top: 0;
}

.line2 {
    top: 10px;
}

.line3 {
    top: 20px;
}

.menu-button.active .line1 {
    transform: rotate(45deg);
    top: 10px;
}

.menu-button.active .line2 {
    opacity: 0;
}

.menu-button.active .line3 {
    transform: rotate(-45deg);
    top: 10px;
}

.topnav {
    position: fixed;
    top: calc(var(--menu-top) + var(--menu-dropdown-offset));
    left: var(--menu-left);
    background-color: #0099ff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    width: fit-content;
    min-width: 140px;
    z-index: 1000;
}

.topnav.show {
    display: flex;
}

.topnav a {
    padding: 12px 16px;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid black;
}

.topnav a:last-child {
    border-bottom: none;
}

.topnav a:hover {
    background-color: #ddd;
}

.link.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    color: rgb(70, 68, 68) !important;
}

#logout-button {
    background-color: #0099ff;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    -webkit-appearance: none;
    appearance: none;
    text-shadow: none;
    filter: none;
    position: fixed;
    top: 46px;
    right: 16px;
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 6px;
    z-index: 1200;
}

#logout-button:hover {
    background-color: #008ae6;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    filter: none;
}

#logout-button:focus,
#logout-button:active {
    background-color: #0080d1;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    text-shadow: none;
    filter: none;
    background-image: none;
}

.site-header-spacer {
    height: 110px;
}

.index-page .header-spacer {
    display: none !important;
}

.header-spacer {
    height: 90px;
}

body.no-header-overlap main {
    padding-top: 120px;
}

header,
.menu-button,
.topnav,
.footer {
    z-index: 50;
}