@font-face {
    font-family: "IRANSansXV";
    src:
        url("/asset/fonts/fuggFJSHLK868.woff2") format("woff2"),
        url("/asset/fonts/fuggFJSHLK868.woff") format("woff");
    font-display: swap;
}

:root {
    --color-background: #f7f7f7;
    --color-brand: #07638d;
    --color-accent: #07638d;
    --color-bottom-text: #f7f7f7;
    --color-text: #1b1b1b;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #1b1b1b;
        --color-accent: #0979ad;
        --color-brand: #0979ad;
        --color-bottom-text: #bcc0c3;
        --color-text: #bcc0c3;
    }
}

body {
    background: var(--color-background);
    color: var(--color-text);
    font-family:
        "IRANSansXV",
        system-ui,
        -apple-system,
        sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: calc(12px + (18 - 12) * ((100vw - 320px) / (1920 - 320)));
    line-height: 1.5;
    font-weight: normal;
    -webkit-user-select: none;
    user-select: none;
    direction: rtl;
}

@keyframes dot-flashing {
    0% {
        color: var(--color-dot);
    }

    60%,
    100% {
        color: var(--color-dot-shadow);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 50%;
    top: 50%;
    width: 80%;
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: fadeIn 1000ms ease;
    animation: fadeIn 1000ms ease;
}

.footer {
    position: fixed;
    left: 50%;
    width: 100%;
    background-color: var(--color-background);
    bottom: 0;
    text-align: center;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-animation: fadeIn 1000ms ease;
    animation: fadeIn 1000ms ease;
    color: var(--color-text);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "IRANSansXV";
    font-size: 12px;
    line-height: 1.5;
    padding: 1.2em 0;
    font-weight: normal;
}

p {
    text-align: center;
    margin: 0.05em;
    font-family: "IRANSansXV";
    font-size: 1.5em;
    line-height: 2.5em;
    animation-delay: 0.5s;
    font-variation-settings: "wght" 700;
}

loc,
locc {
    display: block;
    margin: 1em 0 2em 0;
    font-family: "IRANSansXV";
    font-size: 1.2em;
    line-height: 1.5em;
    animation-delay: 0.5s;
    font-variation-settings: "wght" 500;
}



@media (orientation: portrait) {
    loc {
        margin: 1em 0 3em 0;
    }

    locc {
        margin: 1em 0 1.5em 0;
    }
}

a {
    font-size: 1em;
    color: var(--color-text);
    text-decoration: none;
}

a:hover {
    color: var(--color-accent);
}

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media (orientation: portrait) {
    .container {
        flex-direction: column;
    }
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.75em 0.75em;
    padding-right: 3.25em;
    font-family: "IRANSansXV";
    font-size: 1.2em;
    font-variation-settings: "wght" 500;
    color: var(--color-text);
    background: none;
    border: 0.18em solid var(--color-text);
    border-radius: 0.5em;
    cursor: pointer;
    width: 13em;
    height: 3em;
    position: relative;
}

.btn:hover {
    .btn-icon {
        background: var(--color-accent);
        color: var(--color-background);
    }

    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn .btn-icon {
    position: absolute;
    font-size: 1.2em;
    top: -0.08em;
    right: -0.08em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 2.4em;
    width: 2.4em;
    border-radius: 0em 0.4em 0.4em 0em;
    background: var(--color-text);
    color: var(--color-background);
}

.logotype {
    fill: var(--color-text);
}

.logo {
    fill: var(--color-brand);
}

.logo:hover {
    fill: var(--color-text);
}

.logo-holder {
    display: block;
    margin: 2em auto;
    width: 100%;
    height: 4.5em;
}

.social-media {
    display: block;
    margin: 1.5em auto;
    font-size: 1.2em;
    line-height: 1.2em;
}

.canda {
    padding: 0.5em;
    padding-bottom: 1.75em;
    height: 3em;
}

@media (orientation: portrait) {
    .canda {
        padding-bottom: 0.25em;
    }
}

.canada-text {
    fill: var(--color-text);
}

.canada-red {
    fill: #e20613;
}