* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}
#idNavHeader {
    position: sticky;
    top: 0;
    width: 100%;
    margin: 0;
    background-image: linear-gradient(to right, var(--secondary-text-color), #fa9f01b7);
    overflow: hidden;
    z-index: 1;
}
.skipLink {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skipLink:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5em 0.75em;
    background: var(--secondary-text-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    outline: none;
}
nav {
    display: flex;
    justify-content: space-between;
    background-image: linear-gradient(to right, var(--secondary-text-color), #fa9f01b7 90%);
}
.nav_logo {
    width: 20%;
}
.nav_logo img {
    width: 100%;
    margin: 0;
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li {
    display: flex;
}
nav ul li:first-child {
    margin-right: auto;
}
nav a {
    padding: 0.6em 1.8em;
    display: flex;
    align-items: center;
    color: var(--accent-color);
    font-size: clamp(1rem, 1.2vw, 1.8rem);    /* wie h3 */
    text-decoration: none;
    transition: background-color 200ms ease;
}
nav a:hover {
    color: var(--primary-color);
}
.nav a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}
.active-link {
    border-bottom: 2px solid var(--accent-color);
}
#idOpenSidebarButton,
#idCloseSidebarButton {
    padding: 1em;
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
#idOpenSidebarButton:focus-visible,
#idCloseSidebarButton:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}
#idOpenSidebarButton {
    margin-left: auto;   
}
#idOpenSidebarButton svg,
#idCloseSidebarButton svg {
    width: 3rem;
    height: 3rem;
}
#idOpenSidebarButton svg {
    fill: var(--secondary-text-color);
}
#idCloseSidebarButton svg {
    fill: var(--accent-color);
}
#idOverlay {
    position: fixed;
    display: none;
    background-color: rgba(40 40 40 / 0.5);
    inset: 0;
    z-index: 1;
}

@media screen and (max-width: 1079px) {
    nav a {
        padding: 0.6em 0.8em;
        font-size: clamp(1rem, 1.1vw, 1.6rem);    /* Zwischengöße Basis h3 */
    }
}

@media screen and (max-width: 799px) {
    #idOpenSidebarButton, #idCloseSidebarButton {
        display: block;
    }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(75%, 100%);
        height: 100vh;
        border-left: 1px solid var(--hover-color);
        z-index: 2;
        transition: right 300ms ease-out;
    }
    nav.show {
        right: 0;
    }
    nav.show ~ #idOverlay {
        display: block;
    }
    .nav_logo {
        display: none;
    }
    nav ul {
        width: 100%;
        flex-direction: column;
    }
    nav a {
        width: 100%;
        padding: 1em 0 1em 0.8em;
        font-size: clamp(1.4rem, 4vw, 2rem);
    }
    nav a:focus-visible {
        outline: 3px solid var(--accent-color);
        outline-offset: 2px;
    }
    nav ul li:first-child {
        margin-right: unset;
    }
}