header {
    width: var(--all-width);
    margin: 0 auto;
    background: #fdfdfd;
    border-bottom: 1px solid #e2e2e3;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

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

.logo a {
    color: #666;
    font-size: 28px;
}

.logo span {
    color: #00c791;
    text-transform: uppercase;
}

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

menu li a {
    display: flex;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.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);
}

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

.searchBar {
    position: fixed;
    z-index: 99999;
    width: 100%;
    height: 100%;
    background-color: #0008;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    transition: .4s;

}

.sear-Box {
    width: var(--searchBar);
    display: flex;
}

#search {
    flex: 1;
    height: var(--button);
    background-color: transparent;
    color: #000;
    border-bottom: 2px solid #ccc;
    color: #fff;
}

#search::placeholder {
    color: #fff;
}

#go {
    min-width: 74px;
    height: var(--button);
    padding: 0 15px;
    font-size: 14px;
    color: #fff;
    border-bottom: 2px solid #ccc;
    transition: .3s;
}

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

#go:hover {
    background-color: #fff;
    color: #000;
}

#go:hover::before {
    content: 'G O';
}

.off-sear {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
}

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

@media screen and (max-width:769px) {
    header {
        position: relative;
        justify-content: space-between;
        align-items: center;
        z-index: 99;
    }

    .searchBar {
        background-color: #000000dd;
    }

    .menu-open,
    .off-menu {
        width: var(--button);
        height: var(--button);
        display: block;
    }

    .off-menu {
        position: absolute;
        top: 6px;
        right: 6px;
    }

    menu {
        width: 100vw;
        height: 100vh;
        position: fixed;
        flex-direction: column;
        align-items: start;
        top: 0;
        left: 0;
        background-color: #fff;
        row-gap: 30px;
        padding-top: 15%;
        transition: .4s;
        transform: scale(0);
        z-index: 9;
    }

    menu li {
        width: 100%;
    }

    menu li a {
        display: block;
        white-space: nowrap;
        text-align: center;
    }

    .sear-Box {
        padding: 0 10px;
    }

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