.memu_pop_up_bg {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    z-index: 2;
    /* TODO: onclick display block */
    display: none;

}


.menu_pop_up_div {
    background-color: #fff;
    position: absolute;
    width: 516px;
    height: 287px;
    top: calc(50vh - 143.5px);
    left: calc(50vw - 258px);
    padding: 40px 40px;
    display: grid;
    grid-template-columns: 1fr 6fr;
    grid-template-rows: repeat(1, 70px 20px auto 50px);
    border-radius: 2px;
    box-sizing: border-box; 
}

.menu_pop_up_div .close_menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    cursor: pointer;
}

.menu_pop_up_div .close_menu .close_img {
    width: 20px;
}

#agent_icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255);
    border-radius: 40px;
    border: 1px solid #E6E9ED;
    background-size: cover;
    background-position-y: center;
}

.menu_pop_up_div .agent_content {
    padding: 15px 20px;
    height: 80px;
    box-sizing: border-box; 
}

.menu_pop_up_div .agent_content .p1 {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 4px;
    line-height: 24px;
    margin-top: 0;
}

.menu_pop_up_div .agent_content .p2 {
    font-size: 16px;
    color: #6c6c6c;
    line-height: 24px;
    margin-top: 0;
}

.menu_pop_up_div .p3 {
    font-size: 16px;
    color: #6c6c6c;
    text-align: center;
    padding-top: 24px;
    margin-top: 0;
}

.menu_pop_up_div .p4 {
    font-size: 16px;
    padding: 24px 1.3rem;
    color: #252525;
    margin-top: 0;
}

.menu_pop_up_div hr {
    grid-column-start: 1;
    grid-column-end: span 2;
    margin-top: 30px;
    margin-bottom: 0;

    box-sizing: content-box;
    height: 0;
    overflow: visible;
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.menu_pop_up_div .phone_btn {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 208px;
    height: 42px;
    border: 0;
    color: #fff;
    font-size: 18px;
    border-radius: 2px;
    background: #536de3;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.menu_pop_up_div .wtsapp_btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 208px;
    height: 42px;
    border: 0;
    color: #fff;
    font-size: 18px;
    border-radius: 2px;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu_pop_up_div .phone_btn img,
.menu_pop_up_div .wtsapp_btn img {
    width: 20px;
    margin-right: 5px;
}


@media screen and (max-width: 600px) {
    .menu_pop_up_div {
        width: 335px;
        height: auto;
        left: calc(50vw - 167.5px);
        padding: 23.5px 28px;
        top: calc(50vh - 115px);
    }

    #agent_icon {
        width: 65px;
        height: 65px;
    }

    .agent_content {
        padding: 10px 25px;
    }

    .menu_pop_up_div .agent_content .p1 {
        font-size: 18px;
    }
    
    .menu_pop_up_div .agent_content .p2 {
        font-size: 14px;
    }

    .menu_pop_up_div hr {
        margin-top: auto;
    }
    
    .menu_pop_up_div .p3 {
        padding-top: 4.5px;
    }
    
    .menu_pop_up_div .p4 {
        padding: 4.5px 1.6rem;
    }

    #wtsapp_btn_text,
    #phone_popup {
        display: none;
    }

    .menu_pop_up_div .phone_btn {
        left: 30px;
        width: 132px;
        height: 40px;
        bottom: 30.5px;
    }
    
    
    .menu_pop_up_div .wtsapp_btn {
        right: 30px;
        width: 132px;
        height: 40px;
        bottom: 30.5px;
    }
}