html, body {
    margin: 0;
    padding: 0;
    background-color: #0D081B;
    color: #FFFFFF;
    direction: rtl;
    font-family: "IranYekanX";
    font-size: 16px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.container > .header {
    background-image: linear-gradient(#0D081B 50%, transparent);
    z-index: 2;
    position: fixed;
    width: calc(100% - 64px);
    max-width: 1400px;
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container > .header > .logo {
    width: 123px;
}

.container .main {
    padding-top: 104px;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    background-color: transparent;
    border: none;
    padding: 8px 12px;
    font-family: inherit;
    font-size: .875rem;
    border-radius: 4px;
    cursor: pointer;
}

.button .icon {
    width: 24px;
    height: 24px;
    line-height: 0;
    margin-left: 8px;
}

.button.button-large {
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
}

.button.color-primary {
    background-color: #8B5CF6;
}

.button.color-accent {
    background-color: rgba(255, 255, 255, .12);
}

.button.color-white {
    background-color: #FFFFFF;
    color: #0D081B;
}

/* End buttons */

.text-color-secondary {
    color: rgba(255, 255, 255, .6);
}

.grid-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.grid-container .grid-item {
    width: 50%;
    position: relative;
}

.download-section {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, .08);
}

.download-section .logo {
    width: 112px;
}

.download-section .title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 8px 0 0 0;
    padding: 0;
}

.download-section .description {
    line-height: 1.5;
    padding: 0;
    margin: 16px 0 24px 0;
}

.tv-section {
    border-left: none;
}

.tv-section > .grid-container {
    align-items: stretch;
}

.tv-section .tv-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

.tv-section .tv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, transparent, #201b2d);
}

.tv-section .tv-section-content {
    padding: 32px;
}

.tv-section .tv-section-content .tv-download-card {
    padding: 12px;
    border-radius: 8px;
    font-size: .875rem;
}

.tv-section .tv-section-content .tv-download-card:first-of-type {
    margin-bottom: 16px;
}

.tv-section .tv-section-content .tv-download-card .button-container {
    margin-top: 16px;
}

.margin-left-8 {
    margin-left: 4px;
    margin-bottom: 8px;
}

.android-section {
    margin-top: 250px;
}

.android-section .android-image {
    display: block;
    width: calc(100% - 64px);
    height: 125%;
    margin-top: -25%;
    margin-right: 32px;
}

.android-section .android-section-content {
    padding: 32px;
}

.ios-section {
    margin: 250px 0 80px 0;
    
}

.ios-section .ios-image {
    display: block;
    width: calc(100% - 64px);
    height: 125%;
    margin-top: -15%;
    margin-right: 32px;
}

.ios-section .ios-section-content {
    padding: 32px;
}

@media screen and (max-width: 768px) {
    html, body {
        font-size: 12px;
    }

    .grid-container {
        flex-direction: column;
    }

    .grid-container .grid-item {
        width: 100%;
    }

    .download-section .logo {
        width: 80px;
        height: 80px;
    }

    .tv-section {
        border-bottom: none;
        border-left: 1px solid rgba(255, 255, 255, .12);
    }

    .tv-section .tv-section-content {
        padding: 12px;
    }

    .tv-section .tv-section-content .tv-download-card {
        font-size: 1rem;
    }

    .tv-section .tv-image {
        border-radius: 0 0 20px 20px;
    }

    .tv-section .tv-overlay {
        background-image: linear-gradient(0deg, transparent, #272232);
    }

    .tv-section .tv-section-content .tv-download-card .button-container {
        text-align: center;
    }

    .margin-left-8 {
        margin-bottom: 8px;
        margin-left: 2px;
        margin-right: 2px;
    }

    .android-section {
        margin-top: 40px;
    }

    .android-section .android-section-content {
        padding: 12px;
    }

    .android-section .grid-container {
        flex-direction: column-reverse;
    }

    .android-section .android-image {
        margin-top: 32px;
    }

    .android-section .button-container {
        text-align: center;
    }

    .ios-section {
        margin-top: 40px;
    }

    .ios-section .ios-section-content {
        padding: 12px;
    }

    .ios-section .ios-image {
        margin-top: 32px;
    }

    .ios-section .button-container {
        text-align: center;
    }
}