* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  margin: 0 auto;
  font-size: 16px;
}

body {
  /* font-family: 'SimSun', '宋体', serif; */
  /* font-family: Arial, sans-serif; */
  font-family: "Microsoft YaHei", 微软雅黑, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f1f1f1;
  box-sizing: border-box;
}

li {
  list-style: none;
  color: #ffffff;
}

img {
  border: none;
  max-width: 100%;
  width: 100%;
  /* height: 100%;
  max-height: 100%; */
  vertical-align: middle;
  display: block;
}

/* 针对Webkit浏览器，如Chrome和Safari */
::-webkit-scrollbar {
  width: 8px; /* 设置滚动条的宽度 */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* 设置滚动条轨道的背景颜色 */
}

/* 滚动条手柄 */
::-webkit-scrollbar-thumb {
  background: #888; /* 设置滚动条手柄的背景颜色 */
  border-radius: 10px; /* 设置滚动条手柄的圆角 */
}

/* 当手柄在滚动条上滚动时添加阴影 */
::-webkit-scrollbar-thumb:hover {
  background: #555; /* 设置滚动条手柄在鼠标悬停时的背景颜色 */
}

.hide {
  display: none;
}

.pointer {
  cursor: pointer;
}

.dialog-top {
  top: 55% !important;
  transform: translate(0, -50%);
}

.dialog-center {
  top: 50% !important;
  transform: translate(0, -50%);
}

a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}

.heartbeat {
  animation: heartbeat 1s infinite;
}
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
