/* 把我们所有标签的内外边距清零 */
* {
  margin: 0;
  padding: 0;
  /* css3盒子模型 */
  box-sizing: border-box;
  font-family: MicrosoftYaHei;
}
/* em 和 i 斜体的文字不倾斜 */
em,
i {
  font-style: normal;
}
/* 去掉li 的小圆点 */
li {
  list-style: none;
}
img {
  /* border 0 照顾低版本浏览器 如果 图片外面包含了链接会有边框的问题 */
  border: 0;
  /* 取消图片底侧有空白缝隙的问题 */
  vertical-align: middle;
}
button {
  /* 当我们鼠标经过button 按钮的时候，鼠标变成小手 */
  cursor: pointer;
}
a {
  color: #666;
  text-decoration: none;
}
*::-webkit-scrollbar {
  display: none;
}
* {
  scrollbar-width: none;
}
* {
  -ms-overflow-style: none;
}
html {
  scroll-behavior: smooth;
}
button,
input {
  /* "\5B8B\4F53" 就是宋体的意思 这样浏览器兼容性比较好 */
  font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
  /* 默认有灰色边框我们需要手动去掉 */
  border: 0;
  outline: none;
}
body {
  /* CSS3 抗锯齿形 让文字显示的更加清晰 */
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
  font: 0.0625rem/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
  color: #666;
}
.hide,
.none {
  display: none;
}
/* 清除浮动 */
.clearfix:after {
  visibility: hidden;
  clear: both;
  display: block;
  content: ".";
  height: 0;
}
.clearfix {
  *zoom: 1;
}
body {
  background-color: #171b1e;
}
/* 版心 */
.w {
  width: 7.5rem;
  margin: 0 auto;
}
/* 导航栏 */
/* 导航栏 */
.header {
  min-width: 7.5rem;
  width: 100%;
  position: fixed;
  z-index: 333;
  top: 0;
  left: 0;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(51, 51, 51, 0.2);
  color: #fff;
  padding: 0.0469rem 1.25rem;
  backdrop-filter: blur(5px);
}
.logo img {
  cursor: pointer;
  max-height: 0.2604rem;
}
.nav-links .menu-item {
  display: inline-block;
  margin-right: 0.276rem;
  position: relative;
}
.nav-links .menu-item:last-of-type {
  margin-right: 0;
}
.nav-links a {
  color: #fff;
  font-size: 0.0833rem;
}
.scroll-to-top-btn {
  z-index: 999;
  display: none;
  position: fixed;
  bottom: 0.5208rem;
  right: 0.5208rem;
  width: 0.2083rem;
  height: 0.2083rem;
  background-color: transparent;
  border: 0.0104rem solid #3498db;
  border-radius: 50%;
  color: #3498db;
  cursor: pointer;
}
.scroll-to-top-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.1042rem;
}
.scroll-to-top-btn:hover {
  background-color: #3498db;
  color: #ffffff;
}
