:root {
    --background: rgb(251 250 237);
    --color: rgb(27 28 21);
    --logr: rgb(85 100 35);
    --selection: rgb(216 235 154);
}

@font-face {
    font-family: SahelVF;
    src: url("https://lib.arvancloud.ir/sahel-font/3.4.0/Sahel-VF.woff2") format(woff2), local("Sahel VF");
}

@keyframes particle {
    to {
        transform: translate3d(var(--target-translate-x), calc(-100dvh - 120px), 0) rotateZ(var(--target-rotate-z));
    }
}

::selection {
    background-color: var(--selection);
}

* {
    margin: 0;
}

a {
    text-decoration: unset;
    color: unset;
}

body {
    font-family: SahelVF, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100dvh;
    gap: 1rem;
    background: var(--background);
    color: var(--color);
    accent-color: var(--logr);
    position: relative;

    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        flex-grow: 1;
        justify-content: center;

        svg {
            overflow: visible;
        }
    }

    footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 0.65rem;
        opacity: 50%;
        margin-bottom: 1rem;
        gap: 8px;

        #credit {
            display: flex;
            flex-direction: row;
            gap: 8px;
            align-items: center;

            svg {
                vertical-align: middle;
            }

            #logr {
                color: var(--logr);
            }

            #dream-team {
                color: hotpink;
            }
        }
    }

    #particle-source {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: clip;
        filter: blur(2px) opacity(0.5);
        z-index: -1;

        .particle {
            font-size: 5rem;
            position: absolute;
            animation: particle 30s linear;
            bottom: -120px;
        }
    }


}

@media (prefers-color-scheme: dark) {
    :root {
        --background: rgb(19 20 13);
        --color: rgb(228 227 215);
        --logr: rgb(188 207 129);
        --selection: rgb(62 76 12)
    }
}