@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: bold;
    src: url("./fonts/eot/IRANYekanWebBold.eot");
    src: url("./fonts/eot/iranyekanwebbold.eot?#iefix") format("embedded-opentype"),
        /* IE6-8 */ url("./fonts/woff/iranyekanwebbold.woff") format("woff"),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url("./fonts/woff2/iranyekanwebbold.woff2") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("./fonts/ttf/iranyekanwebbold.ttf") format("truetype");
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 100;
    src: url("./fonts/eot/iranyekanwebthin.eot");
    src: url("./fonts/eot/iranyekanwebthin.eot?#iefix") format("embedded-opentype"),
        /* IE6-8 */ url("./fonts/woff/iranyekanwebthin.woff") format("woff"),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url("./fonts/woff2/iranyekanwebthin.woff2") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("./fonts/ttf/iranyekanwebthin.ttf") format("truetype");
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 300;
    src: url("./fonts/eot/iranyekanweblight.eot");
    src: url("./fonts/eot/iranyekanweblight.eot?#iefix") format("embedded-opentype"),
        /* IE6-8 */ url("./fonts/woff/iranyekanweblight.woff") format("woff"),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url("./fonts/woff2/iranyekanweblight.woff2") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("./fonts/ttf/iranyekanweblight.ttf") format("truetype");
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: normal;
    src: url("./fonts/eot/iranyekanwebregular.eot");
    src: url("./fonts/eot/iranyekanwebregular.eot?#iefix") format("embedded-opentype"),
        /* IE6-8 */ url("./fonts/woff/iranyekanwebregular.woff") format("woff"),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url("./fonts/woff2/iranyekanwebregular.woff2") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("./fonts/ttf/iranyekanwebregular.ttf") format("truetype");
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 500;
    src: url("./fonts/eot/iranyekanwebmedium.eot");
    src: url("./fonts/eot/iranyekanwebmedium.eot?#iefix") format("embedded-opentype"),
        /* IE6-8 */ url("./fonts/woff/iranyekanwebmedium.woff") format("woff"),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url("./fonts/woff2/iranyekanwebmedium.woff2") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("./fonts/ttf/iranyekanwebmedium.ttf") format("truetype");
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 800;
    src: url("./fonts/eot/iranyekanwebextrabold.eot");
    src: url("./fonts/eot/iranyekanwebextrabold.eot?#iefix") format("embedded-opentype"),
        /* IE6-8 */ url("./fonts/woff/iranyekanwebextrabold.woff") format("woff"),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url("./fonts/woff2/iranyekanwebextrabold.woff2") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("./fonts/ttf/iranyekanwebextrabold.ttf") format("truetype");
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 850;
    src: url("./fonts/eot/iranyekanwebblack.eot");
    src: url("./fonts/eot/iranyekanwebblack.eot?#iefix") format("embedded-opentype"),
        /* IE6-8 */ url("./fonts/woff/iranyekanwebblack.woff") format("woff"),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url("./fonts/woff2/iranyekanwebblack.woff2") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("./fonts/ttf/iranyekanwebblack.ttf") format("truetype");
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 900;
    src: url("./fonts/eot/iranyekanwebextrablack.eot");
    src: url("./fonts/eot/iranyekanwebextrablack.eot?#iefix") format("embedded-opentype"),
        /* IE6-8 */ url("./fonts/woff/iranyekanwebextrablack.woff") format("woff"),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url("./fonts/woff2/iranyekanwebextrablack.woff2") format("woff2"),
        /* FF39+,Chrome36+, Opera24+*/ url("./fonts/ttf/iranyekanwebextrablack.ttf") format("truetype");
}

:root {
    --main-color: #c3cb1e;
    --second-color: #df133b;
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: inherit;
}
a,
a:focus,
a:hover {
    text-decoration: none;
}

a {
    color: darkcyan;
    transition: color 0.2s;
}

a:hover {
    color: cyan;
}

img,
video {
    max-width: 100%;
}

body {
    font-family: iranyekan;
    font-size: 16px;
    direction: rtl;
    text-align: right;
    color: #333;
}

.text {
    font-size: 16px;
    line-height: 27px;
}

.subtitle {
    font-size: 1.6rem;
    font-weight: 500;
}

.line {
    display: inline-block;
    width: 33px;
    height: 4px;
    background-color: var(--second-color);
}

header {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-color: #c3cb1e;
}

.header-logo {
    position: absolute;
    right: 5%;
    top: 5%;
    max-width: 90px;
    max-height: 90px;
    z-index: 999;
}

.header-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    position: absolute;
    top: 0;
    right: auto;
    bottom: 0;
    left: -15%;
}

.header-bg-mobile {
    display: none;
}

.header-content {
    position: relative;
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    padding: 25px 150px 25px 0;
}

.header-title {
    font-size: 2.5rem;
    margin: 10px 0;
    font-weight: 700;
}

.header-desc {
    font-size: 1.5rem;
    margin: 10px 0;
    font-weight: 400;
}
.header-btn-hold {
    margin: 10px 0 30px 0;
}
.header-btn {
    display: inline-block;
    border-radius: 10px;
    background-color: #fff;
    padding: 10px 15px;
    font-size: 1.2rem;
    font-weight: 500;
}
.header-btn::after {
    content: "←";
}
.video-section {
    background-color: #f2f2f2;
    padding: 0 10px 30px 10px;
}
.video-section-content {
    padding-bottom: 30px;
    position: relative;
    background-color: #fff;
    max-width: 800px;
    padding: 10px 15px;
    margin: -30px auto 0 auto;
    border-radius: 10px;
}
.video-section-desc {
    margin: 15px auto 40px auto;
}
.video-section-video {
    margin: 10px auto;
    display: block;
    border-radius: 10px;
    padding: 3px;
    border: 1px solid #c2c2c2;
}

.story {
    position: relative;
    overflow: hidden;
}

.story-content {
    position: relative;
    width: 50%;
    /* background-color: var(--main-color); */
    /* transform: skew(110deg); */
}

.story-desc {
    position: relative;
    margin-bottom: 30px;
    padding: 25px 150px 25px 0;
}

.story-image {
    position: absolute;
    top: 0;
    right: 50%;
    left: 0;
    bottom: 0;
    object-fit: cover;
    width: 50%;
    height: 100%;
}

.story-overlay {
    position: absolute;
    top: 0;
    right: -30%;
    bottom: 0;
    left: 40%;
    background-color: var(--main-color);
    transform: skew(-30deg);
}

.banners {
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 10px;
}
.banners-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 20px;
}

.banner-image {
    transition: transform 0.2s;
}

.banner-image:hover {
    transform: scale(1.05);
}

.how-to-sell {
    border-radius: 10px;
    border: 1px solid #c2c2c2;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    margin: 25px auto;
}

.how-to-sell-link {
    color: darkcyan;
}

.how-to-sell-link:hover {
    color: cyan;
}

footer {
    background-color: #c2c2c2;
}

footer p {
    padding: 10px 15px;
    font-size: 11px;
    color: #fff;
    text-align: center;
}

@media only screen and (max-width: 1700px) {
    .header-bg {
        left: -26%;
    }
}

@media only screen and (max-width: 1600px) {
    .header-bg {
        left: -33%;
    }
}

@media only screen and (max-width: 1400px) {
    .header-bg {
        left: -43%;
    }
}

@media only screen and (max-width: 1200px) {
    header {
        min-height: 45vh;
    }

    .header-content {
        padding: 30px 50px 30px 0;
    }
    .header-bg-mobile {
        display: block;
    }

    .header-bg-desktop {
        display: none;
    }

    .header-bg {
        left: 0;
        object-fit: none;
        width: auto;
        height: auto;
    }
}

@media only screen and (max-width: 1024px) {
    .header-content {
        padding: 30px 20px;
    }
    .header-bg {
        object-fit: initial;
        left: -56px;
    }

    .video-section {
        padding-top: 30px;
    }

    .video-section-content {
        margin: 0 auto;
    }
    .story-image {
        position: initial;
        width: 100%;
        display: block;
    }

    .story-overlay {
        display: none;
    }

    .story-content {
        width: 100%;
        background-color: var(--main-color);
    }

    .story-desc {
        padding: 25px;
    }
    .banners-container {
        grid-template-columns: auto auto;
    }
}

@media only screen and (max-width: 768px) {
    header {
        flex-direction: column;
        justify-content: center;
    }

    .header-bg {
    }

    .header-content {
        width: 100%;
        padding: 30px 10px;
    }
}

@media only screen and (max-width: 480px) {
    .banners-container {
        grid-template-columns: auto;
    }

    .how-to-sell {
        flex-direction: column;
    }
}
