html body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: inherit
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0
}

a {
  text-decoration: none;
  color: inherit;
  outline: none;
}
span {
  line-height: normal;
}
:root {
  --main-width: 60%;
}

/* 移除所有列表样式 */
ul, ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* 针对 li 的额外重置 */
li {
  margin-left: 0;    /* 解决某些浏览器的缩进问题 */
  padding-left: 0;
}
/* 设置滚动条样式 */
::-webkit-scrollbar {
  width: 10px; /* 滚动条宽度 */
  background-color: #2C2C2C; /* 背景透明 */
}

::-webkit-scrollbar-thumb {
  background-color: #9F9F9F; /* 默认20%透明度 */
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #D1D1D1; /* 鼠标移入时100%显示 */
}

@font-face {
  font-family: 'Poppins-Medium';
  src: url('/font/Poppins-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-Light';
  src: url('/font/Roboto-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-Medium';
  src: url('/font/Roboto-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-Regular';
  src: url('/font/Roboto-Regular.ttf') format('truetype');
}
