body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    color: #fff;
    [dir='ltr'] & {
        font-family: 'Noto Sans', sans-serif!important;
    }
    [dir='rtl'] & {
        font-family: 'Almarai', sans-serif!important;
    }
}

body * {
    box-sizing: border-box;
}

* {
    [dir='ltr'] & {
        font-family: 'Noto Sans', sans-serif;
    }
    [dir='rtl'] & {
        font-family: 'Almarai', sans-serif;
    }
}

.ltrContent {
    font-family: 'Noto Sans', sans-serif!important;
}
.rtlContent {
    font-family: 'Almarai', sans-serif!important;
}

.hidden-on-mobile {
    display: none;
}

@media only screen and (min-width: 768px) {
    .hidden-on-mobile {
        display: initial;
    }
}

@media only screen and (min-width: 768px) {
    .hidden-on-desktop {
        display: none;
    }
}

.main {
    min-height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 60px 0;
    background-image: url('./images/bg-1.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    @media only screen and (max-width: 768px) {
        padding: 24px 0;
    }
}

.page-header {
    width: 100%;
    max-width: calc(100vw - 16px - 16px);
    gap: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.empty-div {
    width: 1px;
    flex: 1;
}

@media only screen and (min-width: 1024px) {
    .page-header {
        width: calc(100vw - 78px - 78px);
        max-width: 1316px;
    }
}

.page-header .logo {
    display: flex;
    justify-content: center;
    flex: 1;

    height: auto;
    width: 13.375rem;
    @media only screen and (max-width: 768px) {
        width: 7.125rem;
    }

    & svg {
        height: 100%;
        width: auto;
    }
}

.page-video {
    display: grid;
    gap: 20px;
    width: 100%;
    max-width: 989px;
    padding: 0 16px;
    margin: 1.8rem auto;
}

@media only screen and (min-width: 768px) {
    .page-video {
        grid-template-columns: 312px 1fr;
        gap: 93px;
        [dir='rtl'] & {
            grid-template-columns: 1fr 312px;
        }
    }
}

.page-title {
    text-align: center;
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
}

@media only screen and (min-width: 768px) {
    .page-title {
        font-size: 40px;
        line-height: 54px;
    }
}

.page-description {
    margin: 16px auto 0;
    max-width: 40ch;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
}

@media only screen and (min-width: 768px) {
    .page-description {
        font-size: 24px;
        line-height: 36px;
        font-weight: 300;
    }
}

a.create-video-link {
    margin: 26px auto 0;
    display: inline-block;
    border-radius: 38px;
    width: 100%;
    max-width: 20.9375rem;
    padding: 0.875rem;
    background: white;
    color: #780044;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all ease-in-out 0.25s;
}

a.create-video-link:hover {
    background-color: #780044;
    color: #fff;
}

@media only screen and (min-width: 768px) {
    a.create-video-link {
        margin: 42px auto 0;
        max-width: 23.5rem;
        font-size: 20px;
        line-height: 28px;
    }
}

.landing-actions-container {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.landing-page-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-footer {
    width: 100%;
    max-width: calc(100vw - 16px - 16px);
    display: grid;
    justify-items: center;
    margin-top: 50px;
}

@media only screen and (min-width: 768px) {
    .page-footer {
        justify-items: end;
    }
}

@media only screen and (min-width: 1024px) {
    .page-footer {
        width: calc(100vw - 78px - 78px);
        max-width: 1316px;
    }
}

.page-footer__line {
    width: 1px;
    height: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.7);
    margin: 0 1rem;
}


.landing-page-useful-links {
    text-wrap: wrap;
    text-align: center;
    align-items: center;
    gap: 4px;

    & a {
        font-weight: 300;
        font-size: 1rem;
        color: #fff;
        text-decoration: none;
        text-align: center;
        padding: 0 16px 2px;
        border-right: solid 1px rgba(255, 255, 255, 0.7);
        &:first-of-type {
            padding-left: 0;
        }
        &:last-of-type {
            padding-right: 0;
            border: none;
        }
    }
    [dir='rtl'] & {
        & a {
            border-left: solid 1px rgba(255, 255, 255, 0.7);
            border-right: none;

            &:first-of-type {
                padding-right: 0;
                padding-left: 16px;
            }
            &:last-of-type {
                padding-left: 0;
                padding-right: 16px;
                border: none;
            }
        }
    }
}

.page-footer a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    transition: all ease-in-out 0.25s;
    @media only screen and (max-width: 768px) {
        font-weight: 400;
    }
}

.page-footer .qatar-link {
    font-weight: 600;
    width: fit-content;
    font-size: 20px;
}

@media only screen and (max-width: 768px) {
    .landing-page-useful-links {
        margin: 0;
    }
    .landing-page-useful-links a {
        text-align: center;
        font-size: 0.75rem;
    }
    .page-footer .qatar-link {
        color: rgba(255, 255, 255, 0.6);
        font-size: 14px;
    }
}

.page-footer a.bolder {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
}

.page-footer a:hover {
    color: #ccc;
}

#blank-image {
    width: 1px;
    height: 1px;
    position: absolute;
    opacity: 0;
    top: 0;
    z-index: -1000;
}

button {
    user-select: none;
}
