@font-face {
    font-family: "IRANSansMonoSpacedNum";
    src: url(../../font/IRANSansMonoSpacedNum.ttf);
}

@font-face {
    font-family: "IRANSansMonoSpacedNum-black";
    src: url(../../font/IRANSansMonoSpacedNum_Black.ttf);
}

@font-face {
    font-family: "IRANSansMonoSpacedNum-light";
    src: url(../../font/IRANSansMonoSpacedNum_Light.ttf);
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a,
a:link {
    text-decoration: none;
}

body {
    font-family: "IRANSansMonoSpacedNum-light";
    font-size: 16px;
    display: flex;
    justify-content: center;
    background-color: whitesmoke;
}

.zeero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    width: 100%;
    color: #2e3261;
    background-color: whitesmoke;
}

.video {
    display: flex;
    justify-content: center;
    padding: 10px;
}

h1 {
    text-align: center;
    color: #2e3261;
    margin: 20px;
    font-family: "IRANSansMonoSpacedNum-black";
}

.subtitle {
    text-align: center;
    color: #4d4d4d;
    margin: 25px;
}

.center {
    margin-left: 75px;
    margin-right: 75px;
}

.thumbnail {
    width: 100px;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin: 0;
}

    .row > p {
        width: 100%;
    }

.mg {
    height: 30px;
    align-items: center;
}
.submit {
    width: 130px;
    height: 40px;
    background-color: #B91618;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 50%;
}
button {
    width: 150px;
    height: 50px;
    cursor: pointer;
    border: none;
    font-family: "IRANSansMonoSpacedNum";
    font-size: 16px;
    background-color: #B91618;
    transition: 0.5s;
}

    button:hover {
        box-shadow: 1px 2px 11px 1px grey;
    }

    button:focus {
        outline: none;
    }

.inpt {
    width: 500px;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    background-color: #e9e9e9;
    border: none;
    border-radius: 40px;
    font-family: IRANSansMonoSpacedNum;
}

.inputcontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.inpt::placeholder {
    font-family: "IRANSansMonoSpacedNum";
    font-size: 14px;
}
input[type="text"]:-moz-placeholder {
    direction: rtl;
}

input[type="text"]:-ms-input-placeholder {
    direction: rtl;
}

input[type="text"]::-webkit-input-placeholder {
    direction: rtl;
}

.picturemobile {
    width: 90%;
}

.ball {
    width: 25px;
    height: 25px;
    border-radius: 20px;
    background-color: #000;
    font-family: sans-serif;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 8px 0 5px;
}

.handle {
    width: 47%;
    min-height: 120px;
}

.handlecontainer {
    justify-content: space-between;
    padding: 20px 0;
    width: 100%;
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 40%, .6);
}

    /* using :target */
    .modal-container:target {
        display: flex;
    }

.modal {
    width: 80%;
    height: 70px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    background: white;
    box-shadow: .4rem .4rem 2.4rem .2rem hsla(236, 50%, 50%, 0.3);
    position: relative;
    overflow: hidden;
    position: absolute;
    top: 100px;
}

.modal__details {
    text-align: center;
}

.link-2 {
    width: 10px;
    height: 10px;
    border: 1px solid hsla(0, 0%, 100%, .4);
    color: inherit;
    font-size: 28px;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
}

    .link-2::before {
        content: "\00d7";
        transform: translateY(-.1rem);
    }

    .link-2:hover,
    .link-2:focus {
        border-color: hsla(0, 0%, 100%, .6);
        transform: translateY(-.2rem);
    }

.rulecontainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 500px;
    padding-right: 15px;
    direction: ltr;
    text-align: right;
    margin-top: 20px;
    margin-bottom: 20px;
}

.rule {
    margin-right: 5px;
}

.container {
    width: 100%;
}

.alert {
    width: 35px;
    height: 35px;
    margin: 10px;
}

.alerttext {
    text-align: right;
    margin: 10px 0;
}

.alertcontainer {
    display: flex;
    flex-direction: column;
    justify-content: right;
    margin-top: 20px;
}

.cnt {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #4d4d4d;
}

.grayscreen {
    background-color: #ebebeb;
    width: 100%;
}

.iframe {
    width: 95%;
}
.grayscreen > *, .normalscreen > * {
    max-width: 1200px;
    margin: 30px auto;
}

.align-baseline {
    align-items: baseline;
}

@media only screen and (min-width: 871px) {
    .grayscreen {
        background-color: #ebebeb;
        width: 100%;
    }

    .displaymin {
        display: none;
    }

    .displaymax {
        display: flex;
        justify-content: center;
    }

    .imagecontainer {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 20px;
        width: 100%;
        margin-bottom: 20px;
        margin-top: 60px;
    }

    .p1 {
        position: absolute;
        top: 6%;
        right: 25%;
        width: 150px;
    }

    .p2 {
        position: absolute;
        top: 30px;
        right: 2%;
        width: 20%;
    }

    .p5 {
        position: absolute;
        top: 6%;
        left: 33%;
        width: 24%;
    }

    .p6 {
        position: absolute;
        top: 23%;
        left: 2%;
        width: 20%;
    }

    .container {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
}

@media only screen and (max-width:870px) {
    .grayscreen {
        background-color: #C4C4C4;
        width: 100%;
    }

    .displaymax {
        display: none;
    }

    .inpt {
        width: 95%;
    }

    .rulecontainer {
        width: 95%;
    }

    .thumbnail {
        width: 70px;
    }
    .imagecontainer {
        display: flex;
        justify-content: flex-end;
    }

    h1 {
        font-size: 1.2em;
    }
}
