/**
 * Effect Workspace Font Definitions
 * Fonts loaded from fonts.noisefactor.io CDN
 */

/* Block font fallbacks for zero-CLS font loading */
@font-face {
    font-family: 'Nunito Block';
    src: url('https://fonts.noisefactor.io/fonts/nunito/Nunito-Block.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Noto Sans Mono Block';
    src: url('https://fonts.noisefactor.io/fonts/noto-sans-mono/NotoSansMono-Block.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Victor Mono Block';
    src: url('https://fonts.noisefactor.io/fonts/victor-mono/VictorMono-Block.woff2') format('woff2');
    font-weight: 100 700;
    font-style: normal;
    font-display: block;
}

/* Noto Sans Mono - Code editor font */
@font-face {
    font-family: 'Noto Sans Mono';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('https://fonts.noisefactor.io/fonts/noto-sans-mono/NotoSansMono%5Bwdth%2Cwght%5D.woff2') format('woff2');
}

/* Nunito - Body text font */
@font-face {
    font-family: 'Nunito';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('https://fonts.noisefactor.io/fonts/nunito/Nunito%5Bwght%5D.woff2') format('woff2');
}

/* Material Symbols Outlined - Icon font */
@font-face {
    font-family: 'Material Symbols Outlined';
    src: url('https://fonts.noisefactor.io/fonts/material-symbols-outlined/material-symbols-outlined.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

/* Victor Mono - Logotype font */
@font-face {
    font-family: 'Victor Mono';
    src: url('https://fonts.noisefactor.io/fonts/victor-mono/VictorMono%5Bwght%5D.woff2') format('woff2');
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}

/* Font family definitions */
:root {
    --font-display: 'Nunito', 'Nunito Block';
    --font-body: 'Nunito', 'Nunito Block';
    --font-mono: 'Noto Sans Mono', 'Noto Sans Mono Block';
    --font-icon: 'Material Symbols Outlined';
    --font-logotype: 'Victor Mono', 'Victor Mono Block';
}

/* Material Symbols base style */
.material-symbols-outlined,
.icon-material {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0;
    width: 1em;
    overflow: hidden;
    text-align: center;
}
