@font-face {
    font-family: Iransans;
    src: url("../font/IRANSans.eot"), url("../font/IRANSans.woff"), url("../font/IRANSans.woff2");
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Iransans;
    margin: 0;
    background: url('../img/articles/bg_b_bg_mehrvarzi_20210412.png') no-repeat center/cover fixed;
    font-size: 1rem;
    direction: rtl;
}

.container {
    text-align: center;
}

section {
    padding: 3.5rem 1.5rem;
}

p {
    overflow: auto;
}

.page_graphic {
    display: none;
    position: absolute;
    max-width: 100%;
    height: auto;
}

.article_card {
    max-width: 400px;
    display: inline-block;
    color: #4d4d4d;
    padding: 11px;
    box-shadow: 0 1px 4px #979797;
    transition: color 0.3s;
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 7px;
    position: relative;
}

a {
    text-decoration: none;
}

.article_card:hover {
    color: rgb(255, 83, 71);
}

.article_card:hover .show_more {
    color: rgb(255, 83, 71);
}

.article_card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article_card h3 {
    font-size: inherit;
    height: 30px;
}

.article_card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.show_more {
    font-size: 0.8rem;
    color: #d71313;
    transition: color 0.3s;
}

.show_more img {
    position: relative;
    top: 7px;
    width: 19px !important;
    height: 19px !important;
    display: inline-block !important;
}

footer {
    /* background-color: rgb(43 41 41); */
    background-color: rgb(242 85 73);
    padding: 3rem;
    text-align: center;
    /* color: white; */
}

footer>div {
    margin-bottom: 11px;
}

footer a {
    /* color: white; */
    margin: 7px;
}

footer .design {
    font-size: 0.75rem;
    margin-bottom: 0;
}

footer .design img {
    position: relative;
    top: 9px;
}

@media(min-width:700px) {
    .article_card {
        width: 45%;
        margin: 11px;
    }
    .page_graphic.first {
        display: block;
        left: 0;
        top: -11px;
    }
    .page_graphic.second {
        display: block;
        top: 90%;
    }
    .page_graphic.third {
        display: block;
        left: 0;
        top: 193%;
    }
}

@media (min-width:1055px) {
    #title-placeholder {
        display: block;
    }
    .article_card {
        width: 30%;
        margin: 13px;
    }
    .container {
        max-width: 90%;
        margin: auto;
    }
}

@media (min-width:1200px) {
    .container {
        max-width: 1170px;
    }
    section {
        padding: 5.5rem 1.5rem;
    }
    .page_graphic.first {
        display: block;
        left: 0;
        top: -11px;
    }
    .page_graphic.second {
        display: block;
        top: 30vw;
    }
    .page_graphic.third {
        display: block;
        left: 0;
        top: 70vw;
    }
    .page_graphic.fourth {
        display: block;
        top: 166%;
        width: 20%;
    }
}