header {
    width: var(--all-width);
    min-height: 72px;
    margin: 18px auto 0;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(229, 233, 240, .88);
    border-radius: 8px;
    padding: 0 14px 0 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 12px;
    z-index: 1000;
    box-shadow: 0 14px 38px rgba(23, 32, 51, .08);
    backdrop-filter: blur(16px);
}

.logo {
    font-weight: normal;
    padding: 0;
    max-height: none;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.logo a {
    color: var(--ink);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0;
}

.logo span {
    color: var(--accent);
    text-transform: uppercase;
}

menu {
    display: flex;
    margin: 0 auto;
    align-items: center;
    column-gap: 8px;
}

menu li a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--muted);
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

menu li a:hover {
    background-color: #172033;
    color: #fff;
    transform: translateY(-1px);
}

.icon-tag {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: cover;
    margin-right: 10px;
    vertical-align: middle;
}

.icon-play {
    background-image: url(../images/play.png);
}

.icon-new {
    background-image: url(../images/new.png);
}

.icon-tags {
    background-image: url(../images/star.png);
}

.icon-all {
    background-image: url(../images/time.png);
}

.sear-open {
    width: var(--button);
    height: var(--button);
    border-radius: 8px;
    background: #172033;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background-color .2s ease;
}

.sear-open:hover,
.menu-open:hover {
    transform: translateY(-1px);
    background-color: var(--accent);
}

.sear-open img,
.menu-open img,
.off-menu img {
    transform: scale(.7);
    filter: invert(1);
}

.searchBar {
    position: fixed;
    z-index: 99999;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(140deg, rgba(23, 32, 51, .92), rgba(23, 32, 51, .74)),
        radial-gradient(circle at top left, rgba(255, 107, 74, .35), transparent 34%);
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    transition: .32s ease;

}

.sear-Box {
    width: var(--searchBar);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}

#search {
    flex: 1;
    min-width: 0;
    height: 54px;
    background-color: #f5f7fb;
    color: var(--ink);
    border: 1px solid #e4e9f1;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 17px;
}

#search::placeholder {
    color: #8490a2;
}

#go {
    min-width: 108px;
    height: 54px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 15px;
    color: #fff;
    background-color: var(--accent);
    font-weight: 800;
    transition: transform .2s ease, background-color .2s ease;
}

#go::before {
    content: 'Search';
}

#go:hover {
    background-color: #172033;
    color: #fff;
    transform: translateY(-1px);
}

#go:hover::before {
    content: 'Search';
}

.off-sear {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
    transition: background-color .2s ease;
}

.off-sear:hover {
    background: rgba(255, 255, 255, .24);
}

.menu-open,
.off-menu {
    display: none;
}

@media screen and (max-width:769px) {
    header {
        justify-content: space-between;
        align-items: center;
        min-height: 62px;
        padding: 0 10px;
        margin-top: 10px;
        top: 8px;
    }

    .logo a {
        font-size: 21px;
    }

    .menu-open,
    .off-menu {
        width: var(--button);
        height: var(--button);
        display: block;
        border-radius: 8px;
        background-color: #172033;
    }

    .off-menu {
        position: absolute;
        top: 14px;
        right: 14px;
        background-color: rgba(255, 255, 255, .12);
    }

    menu {
        width: 100vw;
        height: 100vh;
        position: fixed;
        flex-direction: column;
        align-items: stretch;
        top: 0;
        left: 0;
        background:
            linear-gradient(145deg, rgba(23, 32, 51, .98), rgba(38, 52, 78, .96));
        row-gap: 12px;
        padding: 92px 18px 18px;
        transition: .32s ease;
        transform: scale(0);
        z-index: 1001;
    }

    menu li {
        width: 100%;
    }

    menu li a {
        display: flex;
        justify-content: center;
        min-height: 54px;
        white-space: nowrap;
        text-align: center;
        color: #fff;
        background-color: rgba(255, 255, 255, .08);
    }

    .sear-Box {
        padding: 10px;
        flex-direction: column;
    }

    .off-sear {
        top: 15px;
        right: 15px;
    }

    #search,
    #go {
        width: 100%;
    }
}
