/* 注意路径要相对于这个 CSS 文件的位置；
   如果 CSS 和 fonts 目录同级，就直接写 fonts/xxx.ttf */

@font-face {
  font-family: 'Sarasa Gothic SC';
  src: url('../fonts/SARASA-GOTHIC-SC-EXTRALIGHT.TTF') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sarasa Gothic SC';
  src: url('../fonts/SARASA-GOTHIC-SC-LIGHT.TTF') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sarasa Gothic SC';
  src: url('../fonts/SARASA-GOTHIC-SC-REGULAR.TTF') format('truetype');
  font-weight: 200;   /* 常规正文 */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sarasa Gothic SC';
  src: url('../fonts/SARASA-GOTHIC-SC-SEMIBOLD.TTF') format('truetype');
  font-weight: 200;   /* 加粗标题 */
  font-style: normal;
  font-display: swap;
}


/* 斜体（可选，用不到可以不加） */
@font-face {
  font-family: 'Sarasa Gothic SC';
  src: url('../fonts/SARASA-GOTHIC-SC-ITALIC.TTF') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Sarasa Gothic SC';
  src: url('../fonts/Montserrat-Medium.otf') format('truetype');
  font-weight: 200;   /* 加粗标题 */
  font-style: normal;
  font-display: swap;
}

html, body {
  font-family: 'Sarasa Gothic SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 覆盖按钮、输入框等不继承 body 字体的元素 */
button, input, select, textarea {
  font-family: inherit;
}