@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;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --font: 'Vazir';
    --base-color: #fff;
    --form-bg: #4a4949;
    --form-submit-bg: #212020;
    --body-bg: #d3d3d3;
    --second-color: #424242;
    --box-title-color: #fccf02;
    --footer-bg-color: #f6c91c;
    --form-input-bg: #212020;
    --text-color: #000000;
}

body {
    font-family: var(--font);
    width: 100%;
    min-height: 100vh;
    background-color: var(--body-bg);
    background: linear-gradient(180deg, #3b3838, #1a1919, #070607);
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 100%;
    width: 90%;
    margin: auto;
}

.row {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.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__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%;
    background-position: right top;
    background-size: 60%;
}

.center {
    margin: auto;
}

.player {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
}



.form {
    width: 100%;
    margin-bottom: 2rem;
    background-color: var(--form-bg);
    max-width: 700px;
    margin: auto;
    padding: 1.5rem 0;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

    .form .row {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

.form__title {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
    color: #fff;
}

.form__control {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 calc(50% - 2rem);
    flex: 1 1 calc(50% - 2rem);
    margin: 0 1rem;
    margin-bottom: 0.5rem;
}

.form__input {
    width: 100%;
    padding: 0.6rem;
    font-family: inherit;
    border: 0;
    outline: none;
    -webkit-transition: border 100ms ease-in-out;
    -o-transition: border 100ms ease-in-out;
    transition: border 100ms ease-in-out;
    background: var(--form-input-bg);
    border-width: 1px;
    border-color: rgba(216, 216, 216, 0.322);
    border-style: solid;
    color: #fff;
}

    .form__input::-webkit-input-placeholder {
        font-size: 1rem;
        color: var(--base-color);
    }

    .form__input::-moz-placeholder {
        font-size: 1rem;
        color: var(--base-color);
    }

    .form__input:-ms-input-placeholder {
        font-size: 1rem;
        color: var(--base-color);
    }

    .form__input::-ms-input-placeholder {
        font-size: 1rem;
        color: var(--base-color);
    }

    .form__input::placeholder {
        font-size: 1rem;
        color: var(--base-color);
    }

.form__control:last-of-type {
    margin-bottom: 2rem;
}

.form__submit {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    border: 0;
    outline: 0;
    color: var(--base-color);
    padding: 0.8rem;
    font-family: inherit;
    max-width: 170px;
    margin: auto;
    font-size: 1.1rem;
    border-radius: 10rem;
    background-color: var(--form-submit-bg);
    cursor: pointer;
    border-radius: 12px;
}

@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);
    }
}

@media screen and (max-width: 700px) {
    .paragraph {
        font-size: 1.1rem;
    }

    .form__title {
        font-size: 1.7rem;
    }

    .form__input::-webkit-input-placeholder {
        font-size: 0.95rem;
    }

    .form__input::-moz-placeholder {
        font-size: 0.95rem;
    }

    .form__input:-ms-input-placeholder {
        font-size: 0.95rem;
    }

    .form__input::-ms-input-placeholder {
        font-size: 0.95rem;
    }

    .form__input::placeholder {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 680px) {
    .form__control {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .form__title {
        font-size: 1.4rem;
    }

    .form__input::-webkit-input-placeholder {
        font-size: .9EM;
    }

    .form__submit {
        font-size: .9rem;
    }
}

@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;
    }
}
