/* 本地字体声明 */

@font-face {
  font-family: 'Quicksand';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/quicksand-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Quicksand';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/quicksand-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Quicksand';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/quicksand-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Quicksand';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/quicksand-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-sc-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-sc-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-sc-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/caveat-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/caveat-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/caveat-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/caveat-700.woff2') format('woff2');
}

:root {
    --font-primary: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-chinese: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-handwritten: 'Caveat', cursive;
}

body {
    font-family: var(--font-primary);
}
