@import '../../../mixins.less';
@import '../../../vars.less';

@keyframes hideItemAnimation {
  100% {
    transform: scale(1);
    opacity: 1;
    z-index: -1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
    z-index: -1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
    z-index: -1;
  }
}

.wrapper {
  padding: 10px;
  cursor: pointer;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  .contentWrap {
    flex: 1;
    position: relative;
    transform-style: preserve-3d;
  }
  .contentItem {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    transition: all 0.2s linear;
    backface-visibility: hidden;
  }
  .comingSoonItem {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .activeItem {
    transform:  rotate(0);
  }
  .hideItem {
    transform:  rotateY(180deg);
  }
  .contentWithAbsolute {
    position: absolute;
    z-index: -100;
    opacity: 0;
  }
 .header {
   display: flex;
   margin-bottom: 10px;
   align-items: center;
 }

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

  .headerNormal {
    .label {
      margin-right: 5px;
    }
  }

  .label {
    font-weight: bold;
    color: #fff;
    font-size: 16px;
  }
  .desc {
    font-weight: 400;
    color: #fff;
  }
  .num {
    font-size: @label-font-size-1;
    font-weight: 400;
    color: #31D4D5;
  }
}
.bottomBorder {
  position: relative;
  &::before {
    position: absolute;
    content: '';
    bottom: 0;
    width: 90%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 1px;
    background: #179FA2;
  }
}
.normalScreen {
  padding: 30px;
  .label {
    font-size: @normal-font-2;
  }
  .desc {
    font-size: @normal-font-1;
  }
  .num {
    font-size: @normal-font-4;
  }
  .header {
    width: 100%;
    justify-content: space-between;
  }
}
