:root {
    --text: #7a889c;
    --BackgroundColor: #0a2136;
    --BaseColor: #055259;
    --TextColor: #e3e3e3;
    --IconColor: #b1afaf;
    --BtnColor: #005e7c;
    --cardColor: #162d44;
    --borderColor: #233952;
    --successColor: #50ba91;
    --errorColor: #f25456;
    --LinkColor: rgb(3 218 198);
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    font-weight: normal;
}

@font-face {
    font-family: vazir;
    src: url('/assets/font/Vazir.eot');
    src: url('/assets/font/Vazir.eot?#iefix') format('embedded-opentype'), url('/assets/font/Vazir.woff2') format('woff2'), url('/assets/font/Vazir.woff') format('woff'), url('/assets/font/Vazir.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}
body {
    min-height: 100dvh;
    color: var(--TextColor);
    background: var(--BackgroundColor);
    line-height: 1.6;
    font-family: 'vazir', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: justify;
    font-size: 16px;
    direction: rtl;
    overflow: hidden;
}
.homeBg {
    height: 100dvh;
    width: 100dvw;
    background-image: url('/assets/homeBg.jpg');
    background-size: cover; /* تصویر کل صفحه را پر کند */
    background-position: center; /* تصویر در مرکز */
    background-repeat: no-repeat; /* تکرار نشود */
    background-attachment: fixed; /* هنگام اسکرول ثابت بماند */
}
.justify {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.homeAppD {
    position: fixed;
    bottom: 0;
    width: 100dvw;
    padding: 14px;
    justify-content: center !important;
}
    .homeAppD a {
        width: 150px;
    }
        .homeAppD a:last-child {
            margin-right: 14px;
        }
@media (max-width: 768px) {
    .homeBg {
        background-position: calc(50% - 14%) center;
    }
}
#element {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    font-size: 22px;
    padding: 14px;
    width: 100%;
    background: rgb(0 0 0 / 40%);
}
#element .e1{
    font-size: 32px;
    font-weight: bold;
    /* color: #ab00ff; */
}
.video-container {
    width: 100%;
    max-width: 500px; /* حداکثر عرض برای دسکتاپ */
    aspect-ratio: 9 / 16; /* نسبت عمودی */
    background: #000;
    margin: 14px auto;
}

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover; /* پر کردن کادر بدون حاشیه */
        display: block;
    }

/* برای موبایل */
@media (max-width: 768px) {
    .video-container {
        max-width: calc(100% - 28px);
        height: calc(100dvh - 28px);
        aspect-ratio: auto;
    }
}