header {
    width: 100%;
    height: 80px;
    background-color: #000;
    position: sticky;
    top: 0;
    z-index: 999;
}

nav {
    width: 70%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.nav-left {
    width: 18%;
    display: flex;
}

nav .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn,
.sear-btn {
    display: none;
    cursor: pointer;
}

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

.menu li {
    margin: 0 20px;
}

nav a {
    color: #fff;
}

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

.searchBar input {
    height: 35px;
    border-radius: 15px;
    text-indent: 10px;
    font-size: 18px;
    transition: all 0.6s;
}

.searchBar input:hover {
    box-shadow: 0px 0px 20px 20px rgba(255, 255, 255, 0.295);
    ;
}

.sea-btn {
    width: 40px;
    cursor: pointer;
}

@media (max-width:999px) {

    .menu-btn,
    .sear-btn {
        display: block;
        width: 40px;
    }

    .logo {
        width: 50%;
    }

    nav {
        width: 98%;
        padding: 0 2%;
    }

    .nav-left {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .menu {
        border: 1px solid gray;
        width: 100%;
        position: absolute;
        height: 100vh;
        top: 0;
        transform: translateY(-100%);
        left: 0;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        background: #000;
        padding: 30px;
        transition: all 0.5s ease;
    }

    .menu li {
        width: 100%;
        text-align: center;
        padding-bottom: 5px;
        margin: 10px 0;
        border-bottom: 1px dashed gray;
    }

    .searchBar {
        width: 100%;
        height: 100vh;
        background-color: #000;
        border: 1px solid rgba(255, 255, 255, 0.363);
        position: absolute;
        justify-content: center;
        align-items: start;
        padding-top: 50px;
        left: 0;
        top: 0;
        transform: translateY(-100%);
        transition: all 0.5s ease;
    }

    .open_menu_and_searchBar {
        top: 100%;
        transform: translateY(0);
    }
}