header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 64px;
    background: rgba(17, 20, 56, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transform: translateZ(0);
}

.head {
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    width: var(--logo);
}

.head menu {
    display: flex;
    gap: 5px;
}

.head menu a.active {
    color: #fff;
    background: rgba(193, 49, 128, 0.15);
}

.head menu a {
    font-size: 13px;
    padding: 8px 16px;
    font-weight: 300;
    display: block;
    color: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius);
}

.head menu a:hover {
    color: #fff;
    background: rgba(193, 49, 128, 0.15);
}

.searchBar {
    width: var(--search-bar);
    display: flex;
}

.searchBar #search {
    flex: 1;
    height: var(--button);
    border-radius: var(--radius);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.searchBar #go {
    width: var(--button);
    height: var(--button);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.searchBar #go:hover {
    background: rgba(255, 255, 255, 0.12);
}

.searchBar #go img {
    transform: scale(.65);
    opacity: .8;
}

.searchBar #go:hover img {
    opacity: 1;
}

.peBtn {
    width: var(--button);
    height: var(--button);
    display: none;
}

@media screen and (max-width:769px) {
    header {
        position: relative;
    }

    .peBtn {
        display: block;
    }

    .logoBox {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .head menu {
        flex-direction: column;
    }

    .head menu,
    .searchBar {
        position: absolute;
        width: 100%;
        height: 100vh;
        background-color: rgba(17, 20, 56, 0.9);
        backdrop-filter: blur(20px) saturate(180%);
        left: 0;
        top: 0;
        padding: 20px 5px 0;
        transition: 200ms;
        transform: translateY(-100%);
    }

    .head menu.active,
    .searchBar.active {
        top: 100%;
        transform: translateY(0);
    }
}