$deg: 36deg;
$deg2: -36deg;

$bgcolorlist:#254dea #e33230 #0766fb #f02c66 #6038ff #f85e55 #c13cff #2cb840 #5744f6 #e9862e;

.home-fifth-section {
  min-height: 50vh;
  background: linear-gradient(#fff 0%, #cbdcff 100%);

  .fifth-main {
    display: flex;
    margin: 5vh auto 0;
    justify-content: space-between;
  }

  .homepage-btn {
    margin-bottom: 8vh;
  }

  .circle-wave {
    position: relative;
    width: 37.5em;
    height: 42.75em;
    flex: none;

    &:hover .icon-circle {
      animation-play-state: paused;

      li span {
        animation-play-state: paused;
      }
    }
  }
  .icon-circle {
    position: absolute;
    width: 35em;
    height: 35em;
    border-radius: 50%;
    animation: iconCircle infinite 20s linear;

    li {
      width: 4.375em;
      height: 4.375em;
      position: absolute;
      background-color: #254dea;
      border-radius: 50%;
      color: #fff;
      line-height: 4.375em;
      text-align: center;
      left: 50%;
      margin-left: -1.25em;
      margin-top: -1.25em;
      cursor: pointer;
      .iconfont {
        font-size: 1.5em !important;
        cursor: pointer;
      }
    }

    @for $i from 1 to length($bgcolorlist) + 1 {
      li:nth-child(#{$i}) {
        background: nth($bgcolorlist, $i);
        transform: rotate(($i - 1) * $deg);
        transform-origin: 1.25em 18.75em;
        span {
          transform: rotate(($i - 1) * $deg2);
          animation: iconItem#{$i} infinite 20s linear;
        }
      }

      @keyframes iconItem#{$i} {
        0% {
          transform: rotate(($i - 1) * $deg2);
        }
        100% {
          transform: rotate(($i + 9) * $deg2);
        }
      }
    }


    li {
      span {
        position: absolute;
        left: 0;
        border-radius: 50%;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        visibility: hidden;
      }
      &:hover span {
        visibility: visible;
        z-index: 2;
      }
    }
  }

  @keyframes iconCircle {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }


  .circleBox {
    position: relative;
    right: 0.9375em;
    width: 10em;
    height: 10em;
    margin: 12.5em auto 0;
  }

  .circle1,
  .circle2,
  .circle3,
  .circle4,
  .circle5 {
    width: 10em;
    height: 10em;
    border-radius: 50%;
    position: absolute;
  }

  .circle5 {
    background-color: rgba(98, 88, 252, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .circle-center {
    width: 6.25em;
    height: 6.25em;
    padding: 1em 2em;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #2bebd7 0%, #692fd1 100%);
    color: #fff;
    text-align: center;
    font-size: 1.25em;
    line-height: 2em;
  }

  .circle1 {
    animation: cricle-wave 5s linear 0s infinite;
    background-color: rgba(98, 88, 252, 0.3);
  }

  .circle2 {
    animation: cricle-wave 5s linear 1s infinite;
    background-color: rgba(98, 88, 252, 0.3);
  }

  .circle3 {
    animation: cricle-wave 5s linear 2s infinite;
    background-color: rgba(98, 88, 252, 0.3);
  }

  .circle4 {
    animation: cricle-wave 5s linear 3s infinite;
    background-color: rgba(98, 88, 252, 0.3);
  }

  @keyframes cricle-wave {
    0% {
      transform: scale(1);
      opacity: 1;
    }

    10% {
      transform: scale(1.15);
      opacity: 0.9;
    }

    20% {
      transform: scale(1.3);
      opacity: 0.8;
    }

    30% {
      transform: scale(1.45);
      opacity: 0.7;
    }

    40% {
      transform: scale(1.6);
      opacity: 0.6;
    }

    50% {
      transform: scale(1.75);
      opacity: 0.5;
    }

    60% {
      transform: scale(1.9);
      opacity: 0.4;
    }

    70% {
      transform: scale(2.05);
      opacity: 0.3;
    }

    80% {
      transform: scale(2.2);
      opacity: 0.2;
    }

    90% {
      transform: scale(2.35);
      opacity: 0.1;
    }

    100% {
      transform: scale(2.5);
      opacity: 0;
    }
  }

  .task-main {
    margin:-2.5em 0  0 2.5em;
    .home-line {
      text-align: left;
      margin-bottom: 1.56em !important;
    }
  }

  .ant-collapse {
    border: 0;
    background: inherit;
    font-size: .875em;
    .ant-collapse-item {
      border: 0;
      margin-bottom: 0.9375em;
    }
    .ant-collapse-item:last-child,
    .ant-collapse-item:last-child > .ant-collapse-header {
      border-radius: .375em .375em 0 0;
    }

    .ant-collapse-header {
      height: 4.875em;
      background: #ffffff;
      box-shadow: 0px 0px .625em .3125em rgba(38, 118, 255, 0.04);
      border-radius: .375em;
      font-size: 1.125em;
      color: #0a1255;
      letter-spacing: 0;
      font-weight: 500;
      padding: 1.6875em 2.8125em 1.6875em 3.375em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;

      // max-width: 35em;

      .ant-collapse-arrow {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 1.75em;
        height: 1.75em;
        border-radius: 50%;
        box-shadow: 0px 0px 3.125em 1px rgba(38, 118, 255, 0.1);
        svg {
          transform: rotate(90deg);
        }
      }
    }

    .ant-collapse-item-active {
      background: #ffffff;
      box-shadow: 0px 0px .625em .3125em rgba(38, 118, 255, 0.04);
      border-radius: .375em;
      border: 0;
      .ant-collapse-header {
        height: 3em;
        padding: 0.9375em 3.375em;
        background: #596cee;
        color: #fff;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
      }

      .ant-collapse-arrow {
        display: none;
      }
    }

    .ant-collapse-content > .ant-collapse-content-box {
      padding: 1.375em 1.75em;
    }
  }

  .collapse-des {
    font-size: 0.9375em;
    color: #3a4772;
    letter-spacing: 0;
    line-height: 1.75em;
    font-weight: 400;
    margin-bottom: 0.5em !important;


  }
  .collapse-content {
    padding: .75em;
    background: #f5f7fa;
    border-radius: .25em;

    .collapse-content-item {
      position: relative;
      height: 1.875em;
      line-height: 1.875em;
      font-weight: 400;
    }
    .iconfont {
      margin-right: .75em;
      color: #ea0000;
    }
    .collapse-content-money {
      margin-left: 1.375em;
      color: #ea0000;
    }
    .collapse-content-time {
      margin-left: 1.375em;
    }
  }

  .collapse-detail{
    color: #4154f1;
    border-color: #4154f1;
    position: absolute;
    right: 1.25em;
  }
  .waves {
    position: relative;
    bottom: -1.5vh;
  }
}
