﻿@font-face {
    font-family: vazir;
    src: url(../fonts/Vazir.eot), url(../fonts/Vazir.woff), url(../fonts/Vazir.woff2);
}

@font-face {
    font-family: IRanSans;
    src: url(../fonts/IRANSans/IRANSans_Medium.ttf);
}

@font-face {
    font-family: BMitra;
    src: url('../fonts/B-Mitra/B Mitra_0.ttf');
}

@font-face {
    font-family: BNazanin;
    src: url('../fonts/B-NAZANIN/B-NAZANIN.TTF');
}

* {
    margin: 0;
    padding: 0;
}


.pointer-event-none {
    pointer-events: none !important;
}

body {
    font-family: IRanSans !important;
    position: relative;
    overflow-x: hidden;
    direction: rtl;
    text-align: right !important
}

.header {
    position: relative
}

    .header img {
        object-fit: fill;
        border-radius: 10px;
    }

.header__content {
    position: absolute;
    right: 5%;
    isolation: isolate;
    border: 1.5px solid #312e2e;
    border-radius: 1rem;
    overflow: hidden;
}

    .header__content h1 {
        font-size: clamp(1rem, 2.5vw, 4rem);
    }

    .header__content h5 {
        font-size: clamp(0.5rem, 1.8vw, 1.5rem);
    }

    .header__content::after {
        content: '';
        position: absolute;
        background-color: black;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        opacity: 0.3;
        z-index: -1;
        border: 1px solid black;
    }

.header__content--text {
    text-align: justify;
    color: white;
    font-size: 1.5rem
}

.border-none {
    border: none !important
}

a {
    text-decoration: none !important
}

.main {
    overflow-x: hidden;
}

    .main > * {
        width: 90%;
        margin: 0 auto
    }

.section__content--title {
    font-size: 5rem;
}

.section__content--text {
    font-size: 2rem;
    line-height: 2;
}

.wheel__form {
    position: relative;
}

.wheel__form--title {
    font-size: 3rem;
}

.wheel__form--text {
    font-size: 2rem;
    line-height: 2;
}

.wheel__form--main {
    gap:10px;
}

.wheel__form--code {
    min-height: 60px;
    gap: 0 8px;
    opacity: 0;
    transition: opacity ease-in 0.5s;
}

    .wheel__form--code div {
        gap: 10px;
    }

        .wheel__form--code div input {
            width: min(100px,100%);
            border-radius: 20%;
            text-align: center;
            min-height: 50px;
        }

.wheel__form--wheel {
    opacity: 0;
    transition: opacity ease-in 0.5s;
}

.wheel__content--leg {
    position: relative;
    z-index: 0;
    bottom: 5px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


input:focus-within {
    outline: none;
}

input {
    border: none;
}

.border-radius-10 {
    border-radius: 10px !important;
}

form.d-none {
    display: none !important
}

.btn-purple {
    background-color: #4361EE;
    text-decoration: none;
    color: #FFFF !important;
    outline: none;
    border-radius: 0.8rem;
    padding: 0.5rem 2rem;
    border: none;
    min-height: 61px;
    border-radius: 20px;
    width: 15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.signUp {
    background-color: #F2F4F9;
}

    .signUp p {
        font-size: 2rem;
    }

.mainbox {
    margin-top: 2rem;
}

.border-radius-20 {
    border-radius: 1.6rem
}

section.customers {
    flex-wrap: wrap;
    background-color: #F2F4F9;
}

.customers a {
    display: flex;
    align-items: center;
    transition: all ease-in 0.2s !important;
    filter: grayscale(1);
}

.customers img {
    width: 150px;
}

.customers a:hover {
    filter: grayscale(0);
}

footer, footer a {
    background-color: #F2F4F9;
    color: #717D85
}

ul {
    list-style: none;
}

.slide-fwd-center {
    -webkit-animation: slide-fwd-center 0.45s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-fwd-center 0.45s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

#headline {
    font-size: clamp(1.8rem,3vw,4rem);
}

#countdown > ul > li {
    font-size: clamp(1.2rem,2vw,4rem);
    text-align: center;
}

.frame-parent > img {
    animation: rotating 6s 0.2s linear infinite;
    top: 0;
}

    .frame-parent > img:nth-child(1) {
        left: 20%;
    }

    .frame-parent > img:nth-child(2) {
        top: 15%;
        left: 0;
    }

    .frame-parent > img:nth-child(3) {
        top: 45%;
        left: 12%;
    }

    .frame-parent > img:nth-child(4) {
        top: 65%;
        right: 15%;
    }

    .frame-parent > img:nth-child(5) {
        top: 28%;
        right: 8%;
    }

    .frame-parent > img:nth-child(6) {
        top: 0;
        right: 22%;
    }

@keyframes rotating {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes slide-fwd-center {
    0% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    100% {
        -webkit-transform: translateZ(160px);
        transform: translateZ(160px);
    }
}

@keyframes slide-fwd-center {
    0% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    100% {
        -webkit-transform: translateZ(160px);
        transform: translateZ(160px);
    }
}

@media only screen and (max-width: 1440px) {
    /* .header {
        height: 71vh;
    }*/

    .section__content--title {
        font-size: 4rem;
    }

    .section__content--text {
        font-size: 1.5rem;
    }

    .section__left img, .section__right img {
        height: 400px
    }

    .wheel__form--text {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 1024px) {
    /*.header {
        height: 51vh;
    }*/

    .section__content--title {
        font-size: 3rem;
    }

    .section__content--text {
        font-size: 1.1rem;
    }

    .section__left img, .section__right img {
        height: 300px
    }

    div.wheel__form {
        width: 100% !important;
        margin-bottom: 2rem
    }

    .signUp p {
        font-size: 1rem;
    }

    .header__content--text {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 768px) {

    .btn-purple {
        min-height: 52px;
        width: 12rem;
    }

    .header__content--text {
        font-size: .52rem;
        margin-bottom: 0 !important;
    }

    header .btn-purple {
        min-height: 31px;
        width: 9rem;
    }

    header .btn-purple {
        min-height: 25px;
        width: 6rem;
        font-size: 0.6rem;
    }

    .header__content--text {
    }
}

@media only screen and (max-width: 576px) {

    .btn-purple {
        min-height: 52px;
        width: 12rem;
    }

    .section__content--title {
        font-size: 2rem;
    }

    .section__left img, .section__right img {
        height: 250px
    }

    .section__content--text {
        font-size: 0.8rem
    }

    div.section__content {
        padding: 1rem !important
    }

    section.signUp {
        padding: 1rem !important;
        font-size: 1rem !important
    }

    .signUp p {
        font-size: .8rem;
        margin: 0
    }

    .btn-purple {
        min-height: 41px;
        width: 9rem;
    }

    .wheel__form--title {
        font-size: 2.2rem
    }

    .wheel__form--text {
        font-size: 1.2rem;
    }

    section.wheel {
        margin-top: 0.5rem !important
    }

    .btn-purple {
        width: 6rem;
        padding: 0;
    }

    .header__content--text {
        display: none;
    }

    div.header__content {
        padding: 0.5rem !important;
    }

    .wheel__form--code {
        flex-direction: column;
    }

    button.validate-token {
        width: 100% !important;
    }
}

@media only screen and (max-width: 425px) {
    header.header {
        margin-top: 0 !important;
    }

    .main > * {
        width: 100%
    }

    .signUp p {
        font-size: .7rem;
        margin: 0;
    }

    .btn-purple {
        font-size: 0.9rem
    }
}

@media only screen and (max-width: 375px) {
    .section__content--title {
        font-size: 1.5rem
    }

    section.signUp {
        margin: 0 auto !important
    }
}
