@import "../../style/index.less";

.home {
  position: relative;
  z-index: 0;
  font-size: 0;

  &::after {
    content: "";
    display: block;
    height: 80px;
  }


  &:before {
    z-index: 1;
    position: absolute;
    top: 26px;
    left: 0;
    width: 93px;
    height: 33px;
    content: '';
    background: url('../../assets/logo-top.png') no-repeat 0 0 /contain;
  }

  &-button {
    position: absolute;
    top: 181px;
    left: 50%;
    margin-left: -76.5px;
    width: 153px;
    height: 60px;
    background: url('https://activitystatic.lkbang.net/mongo/images/activity-button%402x.ead076b6.png') no-repeat center/contain;
    -webkit-animation: free_download .8s linear alternate infinite;
    animation: free_download .8s linear alternate infinite;
  }

  &-activity {
    width: 100%;
    min-height: 337px;
  }

  &-service {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    position: absolute;
    top: 274px;
    left: 16px;
    right: 16px;
    width: 343px;
    height: 81px;
    background: #FFFFFF;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.07);
    border-radius: 14px;

    &-item {
      display: flex;
      align-items: center;
      height: 81px;

      .Hs-item-svg {
        margin-right: 5px;
        width: 32px;
        height: 32px;
      }

      .Hs-item-text {
        font-size: 16px;
        font-weight: 600;
        color: #242629;
        height: 32px;
        line-height: 35px;
      }
    }
  }

  &-select {
    padding: 58px 20px 40px;
    background: #FFFFFF;

    &-title {
      margin-bottom: 7px;
      font-size: 20px;
      font-weight: 600;
      color: #242629;
      line-height: 24px;
    }

    &-desc {
      display: flex;

      .Hs-desc-item {
        display: flex;
        align-items: center;
        height: 16px;
        margin-right: 12px;

        .Hsd-item-svg {
          margin-right: 8px;
          width: 12px;
          height: 12px;
        }

        .Hsd-item-text {
          padding-top: 2px;
          font-size: 12px;
          font-weight: 600;
          color: #666666;
        }
      }
    }

    &-goods {
      padding: 15px 0 0;
      @{deep} .goods-list-item {
        position: relative;
        padding: 17px 0 0;
      }
    }
  }

  &-classroom {
    overflow: hidden;
    margin-bottom: 20px;
    padding: 0 20px;
    background: #ffffff;

    &-title {
      margin-bottom: 20px;
      font-size: 20px;
      font-weight: 600;
      color: #242629;
      line-height: 24px;
    }

    &-card {
      position: relative;
      overflow: hidden;
      margin-bottom: 28px;
      padding-left: 20px;
      height: 160px;
      background: #FFC842;
      box-shadow: 0px 12px 24px 0px rgba(255, 200, 66, 0.1);
      border-radius: 14px;

      .Hc-card-question {
        margin: 24px 130px 11px 0;
        font-size: 18px;
        font-weight: 600;
        color: #242629;
        line-height: 23px;
        display: block;
        position: relative;
        z-index: 2;
      }

      .Hc-card-result {
        margin-bottom: 15px;
        padding: 3px 0 2px;
        width: 124px;
        text-align: center;
        background: #FF6702;
        border-radius: 7px 3px 7px 3px;
        font-size: 12px;
        color: #FFFFFF;
        line-height: 12px;
      }

      .Hc-card-operation {
        float: left;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80px;
        height: 30px;
        background: #FFFFFF;
        &.active {
          background:rgba(255,255,255,.4);
        }
        &:nth-child(3) {
          border-radius: 20px 0 0 20px;
        }

        &:nth-child(4) {
          border-radius: 0 20px 20px 0;
        }

        .Hcc-operation-svg {
          margin-right: 5px;
          width: 16px;
          height: 16px;
        }

        .Hcc-operation-text {
          font-size: 14px;
          font-weight: 400;
          color: #333333;
          line-height: 21px;
        }
      }

      .Hc-card-image {
        position: absolute;
        z-index: 1;
        right: 15px;
        bottom: 0;
        width: 132px;
        height: 139px;
      }
    }

    &-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;

      .Hc-item-left {
        p:first-child {
          margin-bottom: 9px;
          font-size: 16px;
          font-weight: 600;
          color: #242629;
          line-height: 22px;
        }

        p:last-child {
          font-size: 12px;
          font-weight: 400;
          color: #999999;
          line-height: 16px;
        }
      }

      .Hc-item-right {
        width: 60px;
        height: 60px;
        background: #F4F4F4;
        border-radius: 14px;
      }
    }
  }

  &-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 22px;

    p:first-child {
      margin-bottom: 4px;
      font-size: 16px;
      color: #999999;
      line-height: 19px;
      a {
        font-size: 16px;
        color: #999999;
      }
    }

    p:last-child {
      font-size: 12px;
      color: #999999;
      line-height: 14px;
    }
  }

  @{deep} .copyright {
    p, a {
      color: #CCCCCC !important;
    }
  }

  &-logo {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 17px;

    &-svg {
      margin-bottom: 11px;
      width: 116px;
      height: 43px;
    }

    &-info {
      font-size: 10px;
      color: #CCCCCC;
      line-height: 14px;
    }
  }
}