@import "animation";
.salary-section {
  background: #fff;
  .salary-content {
    max-width: 1440px;
    margin: auto;
    padding: 184px 50px 170px 50px;
    overflow: hidden;
    .salary-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .introduction-content {
      position: relative;
      .subtitle {
        width: 523px;
        // height: 78px;
        height: 32px;
        margin-bottom: 38px;
        background-image: url('../images/salary/subtitle.svg');
        background-repeat: no-repeat;
        opacity: 0;
      }
    }
    .right-wrap {
      // margin-left: 73px;
      position: relative;
      .charts-bar {
        opacity: 0;
        width: 494px;
        height: 306px;
        right: 127px;
        // border:1px solid #eee;
        background-image: url('../images/salary/pic3.svg');
        background-position: -79px -63px;
        background-repeat: no-repeat;
        position: relative;
        box-shadow: 0 16px 80px 0 rgba(0, 0, 0, 0.05);
      }
      .point-up {
        opacity: 0;
        background-image: url('../images/salary/pic3_2.svg');
        background-repeat: no-repeat;
        height: 120px;
        left: 105px;
        position: absolute;
        width: 300px;
        top: 107px;
      }
      .point-down {
        opacity: 0;
        background-image: url('../images/salary/pic3_3.svg');
        background-repeat: no-repeat;
        height: 120px;
        left: 105px;
        position: absolute;
        width: 300px;
        bottom: 53px;
      }
      .charts-pie-parent {
        transition: transform 0.5s, opacity 0.43s;
        transform: translate(85px, -79px);
        width: 211px;
        height: 278px;
        position: absolute;
        top: -60px;
        right: 27.5px;
        opacity: 0;
      }
      .charts-pie {
        // opacity: 0;
        width: 100%;
        height: 100%;
        // position: absolute;
        // top: -46px;
        // right: 27.5px;
        background-image: url('../images/salary/pic_4.svg');
        // background-position: -79px -63px;
        background-repeat: no-repeat;
        box-shadow: 0 16px 80px 0 rgba(0, 0, 0, 0.05);
        background-size: cover;
        border-radius: 8px;
      }
      .charts-tooltip {
        opacity: 0;
        width: 167px;
        height: 102px;
        position: absolute;
        bottom: -44px;
        right: 0;
        background-image: url('../images/salary/pic_5.svg');
        // background-position: -59px -25px;
        background-size: cover;
        background-repeat: no-repeat;
        box-shadow: 0 34px 60px 0 rgba(68, 68, 68, 0.14);
        border-radius: 8px;
      }
    }
  }
}

//animation
.animated {
  .salary-section {
    .salary-content {
      overflow: inherit;
    }
    .charts-bar {
      animation: salaryChartBarFadeInUp 0.35s ease-in-out forwards;
      // animation-delay: 0.2s;
      animation-delay: 0.1s;
    }
    .point-up {
      animation: poinitFadeInDown 0.35s ease-in-out forwards;
      animation-delay: 0.35s;
    }
    .point-down {
      animation: poinitFadeInUp 0.35s ease-in-out forwards;
      animation-delay: 0.35s;
    }
    .charts-pie {
      animation: zoomIn 0.7s ease-in-out forwards;
      // animation: zoomIn 0.6s cubic-bezier(0, 1.49, 0, 0.6) forwards;
      // transition: transform 0.7s 0s, opacity 0.7s 0s;
    }
    .charts-tooltip {
      animation: salaryFadeInRightBottom 0.5s ease-in-out forwards;
    }
    .title {
      animation: talentFadeInDown 0.65s ease-in-out forwards;
    }

    .subtitle {
      animation: salarySubtitleFadeInDown 0.59s ease-in-out forwards;
    }

    .introduction {
      animation: talentSubtitleFadeInUp 0.59s ease-in-out forwards;
    }

    .check-video {
      animation: talentPlayFadeInUp 0.6s ease-in-out forwards;
    }
    .charts-pie-parent {
      transform: translate(0, 0) !important;
      opacity: 1 !important;
    }
  }
}
@keyframes poinitFadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -40px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes poinitFadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
