@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

*, *::before, *::after {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

:root {
    --font: 'Vazir';
    --base-color: #fff;
    --body-bg: #d3d3d3;
    --box-title-color: #fccf02;
    --footer-bg-color: #f6c91c;
    --text-color: #000000;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    width: 100%;
    min-height: 100vh;
    background-color: var(--body-bg);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #3b3838, #1a1919, #070607);
}

.container {
    max-width:100%;
    width: 90%;
    margin: auto;
}

.row {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-d-column {
    flex-direction: column !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.header {
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
    margin-bottom: 4rem;
}

.header__butter-figure {
    z-index: -1;
}

.header__circle-img {
    max-width: 100%;
    position: absolute;
    height: 500px;
    top: 0;
    right: 50%;
    left: 50%;
    transform: translateX(50%);
}

.header__brand {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 90px;
    flex: 1 1 90px;
}

.header__nav {
    -webkit-box-flex: 3;
    -ms-flex: 3 1 50%;
    flex: 3 1 50%;
}

.header__bar.close-icon {
    height: 38px;
}

.header__nav-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    list-style: none;
}

.header__nav-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.header__nav-link {
    --text-color: var(--footer-bg-color);
    padding: 0 1rem;
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--text-color);
    text-shadow: 1px 1px transparent;
    -webkit-transition: color 250ms ease-in-out, text-shadow 250ms ease-in-out;
    -o-transition: color 250ms ease-in-out, text-shadow 250ms ease-in-out;
    transition: color 250ms ease-in-out, text-shadow 250ms ease-in-out;
}

.header__nav-figure {
    width: 100%;
    height: 100%;
    padding: 1.2rem;
    margin-bottom: 0.5rem;
}

.header__nav-link img {
    height: 50px;
    pointer-events: none;
}

.header__contact-support {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 85px;
    flex: 1 1 85px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.header__bars {
    outline: 0;
    border: 0;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    background-color: transparent;
    cursor: pointer;
    display: none;
    z-index: 99;
    flex-direction: column;
    align-items: center;
}

.header__bars-bar {
    width: 40px;
    height: 4px;
    background: #fff;
    margin-bottom: 0.5rem;
    border-radius: 100px;
    transition: all 300ms ease-in-out;
}

.header__bars.open .header__bars-bar:first-child {
    transform: rotate(130deg);
}

.header__bars.open .header__bars-bar:nth-child(2) {
    display: none;
}

.header__bars.open .header__bars-bar:last-child {
    transform: rotate(45deg);
    position: relative;
    bottom: 11px;
}

.header__nav-svg-icon, .header__nav-image-icon {
    width: 50px;
    height: 50px;
}

.btn {
    border-radius: 20px;
    background: linear-gradient(120deg, #211f20, #292728);
    -webkit-box-shadow: 0px 1px 0.3px -0.3px rgb(0 0 0 / 44%), inset 0.113px -1.178px 2px 0px rgb(0 0 0 / 67%), inset 0px 0px 4.6px 0.4px rgb(255 255 255 / 0%);
    box-shadow: 0px 1px 0.3px -0.3px rgb(0 0 0 / 44%), inset 0.113px -1.178px 2px 0px rgb(0 0 0 / 67%), inset 0px 0px 4.6px 0.4px rgb(255 255 255 / 0%);
    z-index: 8;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border-top: 1px solid var(--footer-bg-color);
}

.header__nav-link .header__nav-image-icon {
    opacity: 1;
    -webkit-transition: opacity 300ms ease-in-out;
    -o-transition: opacity 300ms ease-in-out;
    transition: opacity 300ms ease-in-out;
}

.main {
    width: 100%;
    flex: 1;
    position: relative;
}

.main__image {
    max-height: 700px;
}

.articles {
    width: 100%;
    display: flex;
    background-size: contain;
    background-position: right;
}

    .articles .container {
        max-width: 850px;
    }

.articles__article {
    --base-w: 50%;
    flex: 1 1 var(--base-w);
    display: flex;
    border-radius: 25px;
    background-image: -moz-linear-gradient( 0deg, rgb(10, 10, 10) 0%, rgb(39, 37, 38) 51%, rgb(46, 43, 42) 100% );
    background-image: -webkit-linear-gradient( 0deg, rgb(10, 10, 10) 0%, rgb(39, 37, 38) 51%, rgb(46, 43, 42) 100% );
    background-image: -ms-linear-gradient( 0deg, rgb(10, 10, 10) 0%, rgb(39, 37, 38) 51%, rgb(46, 43, 42) 100% );
    box-shadow: 0px 124px 120px 0px rgb(0 0 0 / 65%), inset 1.5px 1px 0px 0px rgb(220 173 2 / 31%);
    margin-right: 3rem;
    margin-bottom: 2rem;
}

.articles__article-header {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 0.5rem;
}

.articles__article-title {
    flex: 1 1;
    margin-right: 2rem;
    color: #fff;
    font-size: 2rem;
}

.articles__article-figure {
    display: flex;
    margin-bottom: 0;
}

.articles__article-img {
    max-height: 100px;
}















@media screen and (max-width: 992px) {
    .articles__article-title {
        font-size: 1.4rem;
    }

    .articles__article-img {
        max-height: 85px;
    }

    .footer__item-social-icon {
        max-height: 23px;
    }

    .footer {
        padding-bottom: 0;
    }

    .header__nav-item {
        padding: 0;
        margin-bottom: 1rem;
    }

    .footer__main {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .footer__col {
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        margin-bottom: 1rem;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .footer__paragraph-1, .footer__paragraph-2 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 900px) {
    .header {
        margin-bottom: 0;
    }

    .row {
        flex-wrap: wrap;
    }

    .header__nav {
        display: none;
    }

    .header__brand {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 35px;
        flex: 1 1 35px;
    }

    .header__bars {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex: 1;
        -ms-flex: 1 1;
        flex: 1 1;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: relative;
        top: 0.5rem;
    }

    .header .row {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .header__nav {
        position: absolute;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        min-height: 100vh;
        height: auto;
        top: -100%;
        right: 0;
        left: 0;
        margin-top: 1rem;
        visibility: hidden;
        opacity: 0;
        padding: 2rem 0;
        z-index: 99;
        background-color: rgba(0, 0, 0, 0.5);
    }

        .header__nav.active {
            top: 100%;
            visibility: visible;
            opacity: 1;
            -webkit-transition: opacity 300ms ease-in-out, visibility 150ms ease-in-out, top 300ms ease-in-out;
            -o-transition: opacity 300ms ease-in-out, visibility 150ms ease-in-out, top 300ms ease-in-out;
            transition: opacity 300ms ease-in-out, visibility 150ms ease-in-out, top 300ms ease-in-out;
        }

    .header__nav-list {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

        .header__nav-list .header__nav-item:last-child {
            margin: 0;
        }

    .header__nav-link {
        color: var(--base-color);
    }

    .articles__article {
        --base-w: 100%;
        margin-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .footer__paragraph-1, .footer__paragraph-2 {
        font-size: 0.9rem;
    }

    .articles__article-title {
        font-size: 1.2rem;
    }

    .articles__article-img {
        max-height: 70px;
    }
}

@media screen and (max-width: 576px) {
    .articles__article-title {
        font-size: 1.1rem;
    }

    .articles__article-img {
        max-height: 60px;
    }
}

@media screen and (max-width: 490px) {
    .footer__img {
        max-width: 140px;
    }

    .footer__item-social-icon {
        max-height: 20px;
    }

    .footer__col {
        margin-bottom: 0.5rem;
    }

    .footer__about-address, .footer__about-address-2, .footer__about-website, .footer__about-phone-number, .footer__about-span, .footer__paragraph-1, .footer__paragraph-2, .main__paragraph {
        font-size: 0.9rem;
    }
}
