header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    width: min(100%, 1000px);
    margin-inline: auto;
    padding-inline: 1rem;
    padding-block: .5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position:relative;
    z-index: 1000;
}

header .header-left {
    width: 150px;
}

header .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 20px;
}

header .header-right a {
    color: #767676;

}

.header-hamburger {
    display: none;
    position: relative;
    right: -10px;
    width: 44px;
    height: 44px;
}

@media (width <=428px) {
    .header-hamburger {
        display: block;
    }

    header .header-right {
        display: none;
    }
}

.header-hamburger span:nth-child(1) {
    top: calc(50% - 4px);
}

.header-hamburger span:nth-child(2) {
    top: calc(50% + 4px);
}

.header-hamburger span {
    width: 50%;
    height: 2px;
    background-color: #767676;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    transition: transform .4s, top .4s;
    will-change: top, transform;
}

.nav-open .header-hamburger span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-open .header-hamburger span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background: rgba(17, 17, 17, 0.8);
    z-index: 999;
    right: -100vw;
    top: 0;
    transition: right .4s;
}

.overlay .body {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

.overlay a {
    color: #767676;
    font-weight: bold;

}

.overlay ul {
    padding-top: calc(60px + 1rem);
    text-align: right;
}

.overlay ul li {
    padding: 1rem;
}