header {
    width: 100%;
    background-color: #fff;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.692);
    padding: 10px 0;
}

.head-cen {
    width: var(--width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.searchBar {
    width: var(--searchBar);
    display: flex;
    background-color: rgb(250 250 249);
    border: 1px solid rgb(214 211 209);
    border-radius: 999px;
}

#search {
    flex: 1;
    height: var(--button);
    background-color: transparent;
    font-size: 15px;
}

#go {
    width: var(--button);
    height: var(--button);
}

#go img {
    transform: scale(.7);
    opacity: .6;
}

nav ul {
    display: flex;
    column-gap: 15px;
}

nav ul a {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(to right, #000, #000) no-repeat right bottom;
    background-size: 0px 3px;
    transition: background-size .3s;
    padding-bottom: 3px;
}

nav ul a:hover {
    background-size: 100% 3px;
    background-position: left bottom;
}

@media screen and (max-width:769px) {

    header {
        width: 100%;
        position: relative;
    }

    .head-cen {
        flex-direction: column;
    }

    .searchBar {
        width: calc(var(--width) - 20px);
        margin: 0 .64rem;
    }
}