/* Header Styles */
nav {
    display: flex;
    justify-content: center;
    background-color: var(--bg-light);
    box-shadow: 3px 3px 5px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

nav ul {
    display: flex;
    width: 100%;
    max-width: 1500px;
    list-style: none;
}

nav li {
    height: 84px;
}

nav a, nav button {
    font: var(--link);
    color: var(--text);
    height: 100%;
    padding: 0 32px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

nav a:not(:has(svg)):hover {
    background: var(--secondary);
    color: var(--white);
}

nav svg {
    fill: var(--text) !important;
}

nav #user-button div {
    height: 100%;
    padding: 0 24px;

    transform: scale(1.25);
    transform-origin: center;
}

nav #user-button button:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}

nav li:first-child {
    margin-right: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    z-index: 999;
    backdrop-filter: blur(12px);
    box-shadow: -10px 0 12px var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a, .sidebar button {
    width: 100%;
}

.menu-button {
    display: none;
}

@media (max-width: 500px) {
    .menu-button {
        display: block;
    }

    #main-content {
        padding: 0 12px;
    }

    section {
        padding: 12px;
    }
}