@font-face {
    font-family: font;
    src: url(../Vazir/Vazir-Bold-FD.ttf);
}
html,body{
width: 100%;
height: auto;
float: left;
margin: 0;
padding: 0;   
direction: rtl;
}
body *{
    font-family: font;
}
a{
    text-decoration: none;
}
.m-banner-row{
    width: 90%;
    height: auto;
    float: left;
    display: flex;
    margin: 1em 5%;
    flex-wrap: wrap;
}
.m-banner-ele{
    width: 48%;
    height: auto;
    float: left;
    display: flex;
    margin: 1em 0;
    box-sizing: border-box;
    padding:9em 2em;
    border-radius: 10px;
    background-position: left top;
    background-size: cover;
    opacity: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.m-banner-ele img{
    width: 100%;
    height: 100%;
    float: left;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.m-banner-man{
    transform: translateX(15em);
    /* background-image: url(image/man.jpg); */
    margin-left: 2%;
}
.m-banner-woman{
    transform: translateX(-15em);
    /* background-image: url(image/woman.png); */
    margin-right: 2%;
}
.m-banner-des{
    width: 50%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
}
.m-banner-des h3{
    margin: 0;
    line-height: 50px;
    font-size: 35px;
    color: white;
}
.m-banner-des span{
    margin: 0;
    margin-bottom: 1em;
    font-size: 28px;
    color: rgb(7 64 129);
}
.m-banner-des a{
    width: fit-content;
    float: left;
    border: 1.5px solid rgb(0, 94, 202);
    border-radius: 100px;
    background-color: rgb(0, 94, 202);
    color: white;
    padding: 0.6em 7%;
    transition: 0.4s;
    cursor: pointer;
    box-sizing: border-box;
    font-size: 14px;
}
.m-banner-des a:hover{
    color: rgb(0, 94, 202);
    background-color: rgb(231, 243, 255);
    transition: 0.4s;
}
@media only screen and (max-width:750px){
    .m-banner-ele{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
@media only screen and (max-width:400px){
    .m-banner-ele{
        background-position: 20% top;
    }
    .m-banner-des h3 {
        font-size: 27px;
    }
    .m-banner-des span {
        font-size: 20px;
    }
    .m-banner-des a {
        font-size: 12px;
    }
}