body {
    margin: 0;
    color: var(--text-primary);
    background: var(--white);
    touch-action: manipulation;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    height: 100vh;
}

.locked {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: fixed;
    touch-action: none;
}

#svelte {
    height: 100%;
    display: contents;
}

a {
    color: inherit;
}

button {
    /* CSS specific to older Safari versions */
    @supports (-webkit-touch-callout: none) and (not (position: sticky)) {
        display: -webkit-box !important;
    }
}

.overflow-hidden {
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.text-font-main {
    font-family: var(--font-family);
}

.text-font-alt {
    font-family: var(--font-family-alt);
}

.shimmer-effect {
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(245, 245, 245, 0.8) 50%,
            rgba(255, 255, 255, 1) 100%
    );
    background-size: 200px 100%;
    background-repeat: no-repeat;
    animation: shimmer 1s infinite;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes shimmer {
    0% {
        background-position: -10% 0;
    }
    100% {
        background-position: 110% 0;
    }
}
