html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    direction: rtl;
}
ol, ul {
    list-style: none;
}
img{
    width: 100%;
}


body{
    margin: 0;
    padding: 0;
    position: relative;
    direction: rtl;
    font-family: iranyekan !important;
}
.wrraper{
    height: 100vh;
    margin: 0;
    padding: 0;
    background-image: url("../img/bg1.jpg");
    background-position: center;
    background-size: cover;
}
.text-main{
    position: relative;
}
.text-main__img img{
    margin-top: 8px;
    height: 98vh;
    width: 98vw;
}
.text-main__img_mob{
    display: none;
}
.text-main__img_mob-footer{
    display: none;
}
.text-main__txt{
    overflow-y: scroll;
    position: absolute;
    top: 55%;
    right: 50%;
    width: 41vw;
    transform: translate(52%,-50%);
    text-align: justify;
    font-size: 20px;
    line-height: 30px;
    height: 300px;
    color: #ffffff;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}
.text-main__txt::-webkit-scrollbar {
    display: none;
}
.header{
    position: absolute;
    top: 32px;
    right: 120px;
    left: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}
.header img{
    width: auto;
}
.social img{
    width: 40px;
    margin-right: 20px;
}
.footer{
    position: absolute;
    bottom: 40px;
    right: 50%;
    text-decoration: none;
    font-size: 20px;
    transform: translate(55%,0);
    color: #ffffff;
}

@media (max-width: 880px) {
    .wrraper {
        background-image: url("../img/mob-bg1.jpg");
        padding-top: 125px;
    }
    .text-main__img_deck{
        display: none;
    }
    .text-main__img_mob-footer{
        display: block;
        position: absolute;
        bottom: 0;
    }
    .footer{
        z-index: 5;
        right: 48%;
        transform: translate(48%,0);
    }
    .text-main__txt{
        height: 378px;
        top: 57%;
    }
    .text-main__img_mob{
        display: block;
    }
    .text-main__img img {
        margin-top: 60px;
        height: 66vh;
        width: 100vw;
    }
    }
@media (max-width: 650px) {
    .footer {
        right: 39%;
        transform: translate(32%,0);
    }
    .header{
        right: 80px;
        left: 80px;
    }
}
@media (max-width: 550px) {
    .footer {
        right: 27%;
        transform: translate(15%,0);
        bottom: 25px;
    }
    .text-main__txt{
        font-size: 15px;
    }
    .header{
        right: 80px;
        left: 80px;
    }
}
@media (max-width: 450px) {
    .footer {
        right: 29%;
        transform: translate(15%,0);
        bottom: 15px;
        font-size: 15px;
    }
    .header {
        right: 15px;
        left: 15px;
    }
    .social img {
        width: 30px;
        margin-right: 10px;
    }
}
@media (max-width: 365px) {
    .text-main__txt{
        height: 324px;
        top: 56%;
        width: 45vw;
    }
    .text-main__img img {
        margin-top: 110px;
        height: 58vh;
    }
    .footer {
        right: 22%;
        transform: translate(10%,0);
        bottom: 10px;
        font-size: 15px;
    }
}