header {
    background-color: #fff;
}

header>.center {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

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

header>.center p {
    margin: 0 auto;
    font-size: 15px;
    font-weight: 550;
}

header>.center p a {
    text-decoration: underline;
    color: #0088bd;
}

nav {
    margin: 0 auto;
    background-color: #0088bd;
    padding: 5px 0;
}

nav ul {
    display: flex;
}

nav ul li {
    flex: 1;
    display: flex;
}

nav ul a {
    color: #fff;
    display: block;
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    font-size: 15px;
}

nav a:hover {
    background-color: #00a8e1;
}

nav ul button a {
    width: var(--button_size);
    display: block;
    padding: 8px;
}

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

.searchBar #search {
    flex: 1;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    height: var(--button_size);
    border: 1px solid rgba(0, 0, 0, .15);
    border-right: 0;
    border-radius: 6px 0 0 6px;
    text-indent: 1em;
    font-size: 15px;
    background-color: #fcfcfc;
}

.searchBar #go {
    width: var(--button_size);
    height: var(--button_size);
    background-color: #76bd22;
    border-radius: 0 6px 6px 0;
    border: 1px solid rgba(0, 0, 0, .15);
    border-left: 0;
}

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

.searchBar #go:hover {
    background-color: #85c814;
}

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

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

    header .center p {
        display: none !important;
    }

    .peBtn {
        display: block;
    }

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

    nav {
        width: 100%;
        overflow-x: auto;
    }

    nav ul {
        flex-direction: column;
        gap: 5px;
    }

    nav ul li a {
        font-size: 17px;
        justify-content: start;
        padding: 8px 0 8px 8px;
    }

    .searchBar {
        padding: 20px 5px;
    }

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

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