@font-face {
    font-family: 'yekan';
    src: url('../fonts/iranyekanwebregularfanum.eot');
    src: url('../fonts/iranyekanwebregularfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/iranyekanwebregularfanum.woff') format('woff'), url('../fonts/iranyekanwebregularfanum.woff2') format('woff2'), url('../fonts/iranyekanwebregularfanum.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'yekan';
    src: url('../fonts/iranyekanweblightfanum.eot');
    src: url('../fonts/iranyekanweblightfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/iranyekanweblightfanum.woff') format('woff'), url('../fonts/iranyekanweblightfanum.woff2') format('woff2'), url('../fonts/iranyekanweblightfanum.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'yekan';
    src: url('../fonts/iranyekanwebboldfanum.eot');
    src: url('../fonts/iranyekanwebboldfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/iranyekanwebboldfanum.woff') format('woff'), url('../fonts/iranyekanwebboldfanum.woff2') format('woff2'), url('../fonts/iranyekanwebboldfanum.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'yekan';
    src: url('../fonts/iranyekanwebextraboldfanum.eot');
    src: url('../fonts/iranyekanwebextraboldfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/iranyekanwebextraboldfanum.woff') format('woff'), url('../fonts/iranyekanwebextraboldfanum.woff2') format('woff2'), url('../fonts/iranyekanwebextraboldfanum.ttf') format('truetype');
    font-weight: 800;
}

@font-face {
    font-family: 'yekan';
    src: url('../fonts/iranyekanwebextrablackfanum.eot');
    src: url('../fonts/iranyekanwebextrablackfanum.eot?#iefix') format('embedded-opentype'), url('../fonts/iranyekanwebextrablackfanum.woff') format('woff'), url('../fonts/iranyekanwebextrablackfanum.woff2') format('woff2'), url('../fonts/iranyekanwebextrablackfanum.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'Freight';
    src: url('../fonts/FreightSansProBold-Regular.eot');
    src: url('../fonts/FreightSansProBold-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/FreightSansProBold-Regular.woff') format('woff'), url('../fonts/FreightSansProBold-Regular.woff2') format('woff2'), url('../fonts/FreightSansProBold-Regular.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Fat.eot');
    src: local('../fonts/YekanBakh-Fat'),
        url('../fonts/YekanBakh-Fat.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Fat.woff2') format('woff2'),
        url('../fonts/YekanBakh-Fat.woff') format('woff'),
        url('../fonts/YekanBakh-Fat.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Medium.eot');
    src: local('../fonts/YekanBakh-Medium'),
        url('../fonts/YekanBakh-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Medium.woff2') format('woff2'),
        url('../fonts/YekanBakh-Medium.woff') format('woff'),
        url('../fonts/YekanBakh-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Bold.eot');
    src: local('../fonts/YekanBakh-Bold'),
        url('../fonts/YekanBakh-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Bold.woff2') format('woff2'),
        url('../fonts/YekanBakh-Bold.woff') format('woff'),
        url('../fonts/YekanBakh-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Light.eot');
    src: local('../fonts/YekanBakh-Light'),
        url('../fonts/YekanBakh-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Light.woff2') format('woff2'),
        url('../fonts/YekanBakh-Light.woff') format('woff'),
        url('../fonts/YekanBakh-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Heavy.eot');
    src: local('../fonts/YekanBakh-Heavy'),
        url('../fonts/YekanBakh-Heavy.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Heavy.woff2') format('woff2'),
        url('../fonts/YekanBakh-Heavy.woff') format('woff'),
        url('../fonts/YekanBakh-Heavy.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Thin.eot');
    src: local('../fonts/YekanBakh-Thin'),
        url('../fonts/YekanBakh-Thin.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Thin.woff2') format('woff2'),
        url('../fonts/YekanBakh-Thin.woff') format('woff'),
        url('../fonts/YekanBakh-Thin.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Regular.eot');
    src: local('../fonts/YekanBakh-Regular'),
        url('../fonts/YekanBakh-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Regular.woff2') format('woff2'),
        url('../fonts/YekanBakh-Regular.woff') format('woff'),
        url('../fonts/YekanBakh-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Hairline.eot');
    src: local('../fonts/YekanBakh-Hairline'),
        url('../fonts/YekanBakh-Hairline.eot?#iefix') format('embedded-opentype'),
        url('../fonts/YekanBakh-Hairline.woff2') format('woff2'),
        url('../fonts/YekanBakh-Hairline.woff') format('woff'),
        url('../fonts/YekanBakh-Hairline.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}


* {
    padding: 0;
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: #410000;
}

body {
    font-family: 'yekan';
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: rgb(62, 62, 62);
    cursor: pointer;
    transition: all .2s ease;
}

ul {
    list-style: none;
}

.flex {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-modal {
    display: none;
    width: 600px;
    height: 340px;
    position: fixed;
    z-index: 100;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.support_modal_show {
    display: block;
}

.support_modal_closing {
    animation: support_modal_closing 1s ease-in-out forwards;
}

@keyframes support_modal_closing {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        /* display: none; */
    }
}

.modal_thumbnail {
    background-image: url('../img/support-helmet-glory.png');
    height: 140%;
    width: 370px;
    position: absolute;
    top: -20%;
    left: -30%;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotateY(180deg);
    filter: drop-shadow(2px 4px 13px #000);
    opacity: 0;
    z-index: 2;
    animation: support_modal_thumbnail 1s ease-in-out forwards;
}

@keyframes support_modal_thumbnail {
    from {
        opacity: 0;
        transform: translateX(100px) rotateY(180deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotateY(180deg);
    }
}

.modal_content_container {
    width: 100%;
    height: 100%;
    background: red;
    padding: 45px;
    background: #c7c7c72b;
    backdrop-filter: blur(4px);
    border-radius: 0.7rem;
    filter: drop-shadow(2px 4px 13px #000000c4);
    border: 1px solid #ffffff2d;
    opacity: 0;
    animation: modal_content_container_animation 1s 0.3s ease-in-out forwards;
}

@keyframes modal_content_container_animation {
    from {
        opacity: 0;
        transform: translateX(-20%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.modal_content {
    height: 100%;
    width: 70%;
    color: #e4e4e4;
    direction: rtl;
    gap: 1.5rem;
}

.modal_content_title {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.modal_content_title span:nth-child(1) {
    align-self: flex-start;
}

.modal_content_title span:nth-child(2) {
    align-self: center;
    font-size: 1.7rem;
    color: #ff1b1b;
    line-height: 1.9;
}

.modal_content_title span:nth-child(3) {
    align-self: flex-end;
}

.support-modal__number {
    direction: ltr;
    font-size: 29px;
    font-weight: bold;
    font-family: 'yekan';
}

.support-modal__number a{
    color: #e4e4e4;
}


/* responsive */
@media screen and (max-width: 960px) {
    .support-modal {
        width: 500px;
        height: 285px;
    }

    .modal_content {
        gap: .9rem;
    }

    .modal_thumbnail {
        height: 140%;
        width: 300px;
    }

    .modal_content_title span:nth-child(2) {
        font-size: 23px;
    }
}

@media (max-width: 769px) {
    .support-modal {
        width: 460px;
        height: 265px;
    }

    .modal_content_title span:nth-child(2) {
        font-size: 23px;
    }

    .modal_content {
        gap: 8px;
    }

    .support-modal__number{
        font-size: 25px;
    }
}

@media (max-width: 651px) {
    .modal_thumbnail {
        height: 140%;
        width: 220px;
        top: -12%;
        left: -20%;
    }

    .modal_content_container {
        padding: 2.3rem;
    }

    .modal_content_title span:nth-child(2) {
        font-size: 1.3rem;
    }

    .modal_content_title span:nth-child(1),
    .modal_content_title span:nth-child(3) {
        font-size: 0.9rem;
    }

    .support-modal {
        width: 400px;
        height: 225px;
    }

    .support-modal__number {
        font-size: 1.6rem;
    }
}

@media (max-width: 551px) {
    .support-modal {
        width: 340px;
        height: 215px;
    }

    .modal_content_title span:nth-child(1),
    .modal_content_title span:nth-child(3) {
        display: none;
    }

    .modal_content_title span:nth-child(2) {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    .support-modal__number {
        font-size: 1.3rem;
    }

    .modal_content {
        width: 50%;
    }

    .modal_thumbnail {
        left: -17%;
    }
}

@media (max-width: 451px) {
    .support-modal {
        width: 315px;
        height: 195px;
    }

    .modal_content_container {
        padding: 2rem;
    }

    .modal_thumbnail {
        width: 200px;
    }
    .modal_content_title span:nth-child(2) {
        font-size: 21px;
    }

    .support-modal__number {
        font-size: 18px;
    }
}

@media (max-width: 401px) {
    .support-modal {
        width: 300px;
        height: 195px;
    }

    .modal_content_title span:nth-child(2) {
        /* font-size: 1.55rem; */
    }

    .modal_thumbnail {
        left: -13%;
    }
}

@media (max-width: 351px) {
    .modal_thumbnail {
        width: 175px;
    }

    .modal_content_container {
        padding: 1.3rem;
    }

    .support-modal {
        width: 285px;
        height: 175px;
    }
}