header {
    border-bottom: 1px solid hsla(0, 0%, 20%, .15);
    padding: 20px 0;
}

header .center {
    display: flex;
    align-items: center;
}

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

nav {
    margin: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: #000;
    font-size: 14px;
    transition: .3s;
    font-weight: 350;
}

nav a:hover {
    color: #3bbeec;
}

.searchBar {
    width: var(--searchBar);
    height: fit-content;
    display: flex;
    /* background: linear-gradient(-90deg, #60b4e7 0%, #60b4e7 49%, #6461e0 100%); */
}

#search {
    width: calc(var(--searchBar) - var(--button) - 10px);
    height: var(--button);
    color: #000000d8;
    background-color: transparent;
    padding: 0 10px 0 15px;
    font-size: 15px;
    border: 1px solid gray;
    border-right: 0;
    border-radius: 40px 0 0 40px;
}

#go {
    width: calc(var(--button) + 10px);
    height: var(--button);
    border-radius: 0 40px 40px 0;
    padding-right: 10px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid gray;
}

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

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

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

    .pe_btn {
        display: block;
    }

    header .center {
        gap: 10px;
        justify-content: space-around;
    }

    nav,
    .searchBar {
        width: 100%;
        height: 100vh;
        position: absolute;
        left: 0;
        background-color: #fff;
        transition: .3s;
        top: 0;
        transform: translateY(-100%);
        padding: 0 5px 10px;
    }

    nav ul {
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
    }
}