/* These styles are loaded before the app itself */
@import url('/fonts/fonts.css');
@import url('/design_tokens.css');

html,
body {
    background-color: var(--semantic-main-surface-primary);
    color: var(--semantic-main-elements-primary);
    font-size: calc(var(--base-scale) * var(--typography-body-m-400-fontsize));
    font-family: 'ABC Diatype Variable';
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-rendering: geometricPrecision;
    -webkit-text-size-adjust: none;
}

.LoaderFullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Loader .LoaderUnderscore {
    animation: loaderAnimation 1s ease-out;
    animation-iteration-count: infinite;
}

@keyframes loaderAnimation {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    51% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}
