@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/fa-regular-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  src: url('./fonts/fa-solid-900.woff2') format('woff2');
}

.fa,
.fas {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.far {
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
}

/* 图标定义 */
.fa-moon:before {
  content: "\f186";
}
.fa-sun:before {
  content: "\f185";
}
.fa-sync-alt:before {
  content: "\f2f1";
}
.fa-exchange-alt:before {
  content: "\f362";
}
.fa-copy:before {
  content: "\f0c5";
}
.fa-check:before {
  content: "\f00c";
}
.fa-qq:before {
  content: "\f1d6";
}

/* 在文件中添加 QQ 图标的品牌字体定义 */
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/fa-brands-400.woff2') format('woff2');
}

/* 添加品牌图标的基础类 */
.fab {
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
}

/* 确保 QQ 图标定义存在 */
.fa-qq:before {
  content: "\f1d6";
} 