* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  margin: 0 auto;
  font-size: 16px;
}
  
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f1f1f1;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
  color: #ffffff;
  border-bottom: 1px solid #fff;
  padding: 10px 20px;
}

img {
  border: none;
  max-width: 100%;
  width: 100%;
  vertical-align: middle;
}

.pointer {
  cursor: pointer;
}

.hide {
  display: none;
}

.heartbeat{
  animation: scaleIn-data 1s backwards, scaleSlideBtn-data 1s 1s infinite;
}

@keyframes scaleIn-data {
  0% {
    opacity: 0;
    transform: scale(2);
  }
  100% {
      opacity: 1;
      transform: scale(1);
  }
}

@keyframes scaleSlideBtn-data {
  0% {
    transform: scale(1);
  }
  50% {
      transform: scale(1.08);
  }
  100% {
      transform: scale(1);
  }
}

.shake{
  animation: tada 1s infinite;
}

@keyframes tada {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  10%, 20% {
    transform: scale3d(.98, .98, .98) rotate(-1deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale3d(1.02, 1.02, 1.02) rotate(1deg);
  }
  40%, 60%, 80% {
    transform: scale3d(1.02, 1.02, 1.02) rotate(-1deg);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}

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

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

.mb-5 {
  margin-bottom: 5px;
  color: #050403;
  /* font-size: 0.24rem; */
}

.flex{
  display: flex;
  align-items: center;
}

.justify-between{
  justify-content: space-between;
}

.justify-center{
  justify-content: center;
}

.justify-around{
  justify-content: space-around;
}

.red-font {
  color: red;
}

.blue-font {
  color: #1961be;
}

.purple-font {
  color: #503191;
}

.position-center{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 针对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; /* 设置滚动条手柄在鼠标悬停时的背景颜色 */
}