header {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
    z-index: 501;
    background: var(--primary-dark);
    color: white !important;
    position: sticky;
    top: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.339);
}

.header-content {
    position: relative;
    height: 100px;
    max-height: 100px;
    display: flex;
}

.header-nav {
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    margin-right: 0;
    margin-left: auto;
}

header li {
    display: inline-block;
    justify-self: right;
}

header a {
    color: var(--bg-main);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 12px;
    transition: 0.2s ease;
}

header a:hover {
    color: white;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
}

@media (max-width: 1024px) {
    .header-content {
        height: 80px;
    }

    .burger-menu {
        display: block;  
        float: right;
        color: white;
    }

    .header-nav.active {
        display: flex;  
    }

    .header-nav {
        width: 100%;
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100px;
        background-color: var(--neutral);
        border-bottom: 2px solid var(--accent);
        border-left: 2px solid var(--accent);
        border-right: 2px solid var(--accent);
        border-radius: 0 0 6px 6px;
        box-shadow: 0 3px 20px rgba(0, 0, 0, 0.67);
    }

    .header-nav a {
        color: black;
        display: block;
        text-align: right;
        padding: 10px 20px;
        font-size: large;
    }

    .header-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px 20px;
        margin: 0;
        width: 90%;
    }

    .header-nav li {
        transition: box-shadow .18s ease;
        display: block;
        background-color: var(--accent);
        width: 100%;
        padding: 10px 0;
        margin-bottom: 5px;
        border-radius: 6px;
    }

    .header-nav li:hover {
        box-shadow: 0 14px 28px rgba(0,0,0,0.15);
    }
}