// 常用 flex
.flx-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flx-justify-bewteen {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

// 清除浮动
.clearfix::after {
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
  content: '';
}

// 文字多了自动换行
.break-warp {
  word-wrap: break-all;
  word-wrap: break-word;
}

// 滚动条设置
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #fff;
}
::-webkit-scrollbar-thumb {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: inset 0 0 0 #fff;
}


// 动画效果
.fade-enter {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-enter-active,
.fade-exit-active {
  opacity: 1;
  transition:  all 0.2s ease-out;
  transform: translateX(30px);
}

.fade-exit {
  opacity: 0;
  transform: translateX(30px);
}

// content-box样式
.content-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  .text {
    margin: 30px 0;
    font-size: 23px;
    font-weight: 700;
    text-align: center;
    a {
      text-decoration: underline !important;
    }
  }
}

// 卡片样式
.card {
  box-sizing: border-box;
  padding: 20px;
  overflow-x: hidden;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
}