.header {
    height: 70px;
    width: 100%;
    box-shadow: 0px 2px 15px -3px rgba(175, 175, 175, 0.295);
    /* position: fixed; */
    position: sticky;
    top: 0px;
    background-color: #fff;
    z-index: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 4%;
}



.logo_div {
    height: 60px;
    width: auto;
}

.logo_in_header {
    height: 100%;
    width: auto;
}

.nav_menu {
    min-width: 500px;
    display: flex;
    justify-content: space-between;
}

.nav_item_div {
    margin: 0 5px;
    padding: 0px 15px;
    height: 40px;
    text-decoration: none;
}

.nav_item {
    display: inline-block;
    text-decoration: none;
    color: var(--text-black);
    font-weight: 500;
}

.nav_item:hover {
    border-bottom: 2px solid var(--dark-blue);
    color: var(--dark-blue);
}


/* burder menu  */
.burger {
    height: 22px;
    width: 45px;
    cursor: pointer;
    display: none;
    justify-items: end;
    /* margin-right: 10px; */
}

.bar1,
.bar2,
.bar3 {
    width: 27px;
    height: 2px;
    background-color: var(--text-black);
    margin: 2px 0;
    transition: 0.4s;
    border-radius: 50px;
}

.bar2 {
    width: 20px;
}

.bar3 {
    width: 15px;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 2px);
    transform: rotate(-45deg) translate(-9px, 2px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -1px);
    transform: rotate(45deg) translate(-8px, -1px);
    width: 27px;
}


/* Ad bar container */

.ad_bar_container {
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad {
    height: 125px;
    width: 1100px;
    background-color: #70C6FF;
}

.ad_content {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 250px auto;
    overflow: hidden;
}

.ad_image {
    height: 100%;
    width: auto;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-clip: border-box;
}

.ad_data {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--yellow);
}

.ad_text {
    height: 100%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ad_text h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.ad_text p {
    font-size: 16px;
    font-weight: 500;
}

.ad_btn {
    display: inline-block;
    text-decoration: none;
    background-color: var(--white);
    color: var(--text-black);
    border-radius: 6px;
    width: 150px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ad bar container */

@media screen and (max-width: 930px) {
    .ad_content {
        grid-template-columns: auto;
    }

    .ad_image {
        display: none;
    }
}

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

    .name {
        font-size: 18px;
    }

    .burger {
        display: grid;
    }

    .nav_div {
        background-color: transparent;
        overflow: auto;
        width: 100%;
        position: fixed;
        top: 70px;
        left: 0;
        display: inline-block;
        justify-content: center;
        align-items: flex-start;
    }

    .nav_div.show_nav_div {
        height: calc(100vh - 70px);
    }

    .nav_menu {
        /* opacity: 0; */
        height: 0;
        max-height: 500px;
        width: 100%;
        /* max-width: 400px; */
        min-width: 0;
        display: grid;
        justify-items: center;
        justify-content: center;
        align-items: center;
        background-color: #3569a6;
        margin: 0 auto;
        overflow: hidden;
        transition: all 0.5s;
        /* border-radius: 8px; */
        -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.22);
        box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.22);
    }

    .nav_item {
        color: #fff;
    }


}


@media screen and (max-width: 670px) {
    .ad {
        height: 250px;
    }

    .ad_data {
        flex-direction: column;
    }

    .ad_text h2 {
        font-size: 16px;
    }

    .ad_text p {
        font-size: 14px;
    }

    .ad_btn {
        width: 115px;
        height: 35px;
        font-size: 14px;
    }
}

@media screen and (max-width: 425px) {
    .name {
        font-size: 16px;
    }
}

.show_nav_menu {
    opacity: 1;
    height: 500px;
}


.login_link {
    background-color: var(--dark-blue);
    color: var(--white);
    border-radius: 6px;
    padding: 0px 30px;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.3s;
    border: none;
    outline: none;
    cursor: pointer;
}

.login_link .nav_item {
    color: white;
}

.login_link .icon {
    font-size: 1.6rem;
}


.banner {
    width: 100%;
    height: 300px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media screen and (max-width: 500px) {
    .banner {
        height: 170px;
    }
}