.head-top {
    background-color: rgba(13, 14, 13, 1);
    padding: 8px 20px;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

.head-bot {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgb(187, 188, 185);
}

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

nav a {
    color: #0d0e0d;
    font-size: 14px;
    font-weight: 650;
    position: relative;
    padding-bottom: 5px;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: #0d0e0d;
    width: 0%;
    left: 50%;
    transition: .3s;
}

nav a:hover::before {
    width: 100%;
    left: 0;
}

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

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

#search {
    width: calc(var(--searchBar) - var(--button));
    height: var(--button);
    background-color: transparent;
    color: #0d0e0d;
    font-size: 15px;
    border-bottom: 2px solid #0d0e0d;
}

#go {
    width: var(--button);
    height: var(--button);
    border-bottom: 2px solid #0d0e0d;
}

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

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

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

    .PEBtn {
        display: block;
        height: 20px;
    }

    .head-top {
        display: none;
    }

    .head-bot {
        padding:0 10px;
    }
    .logo{
        height: 20px;
    }
    .PEBtn img,
    .logo img{
        height: 20px;
        object-fit: contain;
    }
    nav,
    .searchBar {
        position: absolute;
        height: 100vh;
        width: 100%;
        left: 0;
        top: 0;
        background-color: #f0f0f1;
        transition: .4s;
        transform: translateX(-100%);
        padding: 50px 5px 0;
    }

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

    .off-menu,
    .off-search {
        position: absolute;
        top: 5px;
        right: 5px;
    }

    .open_state {
        transform: translateX(0);
    }
}