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

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

  &::after {
    content: "";
    display: block;
    padding-bottom: 49px;
  }


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

  &-activity {
    width: 100%;
  }

  &-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;

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

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

  &-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;
        margin-right: 12px;

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

        .Hsd-item-text {
          font-size: 12px;
          font-weight: 600;
          color: #666666;
          line-height: 16px;
        }
      }
    }

    &-goods {
      padding: 0;

      @{deep} .goods-list-item {
        position: relative;
        margin: 32px 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: 31px 0 2px;
        font-size: 18px;
        font-weight: 600;
        color: #242629;
        line-height: 31px;
      }

      .Hc-card-result {
        margin-bottom: 21px;
        padding: 3px 0 2px;
        width: 124px;
        text-align: center;
        background: rgba(255, 103, 2, 1);
        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;

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

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

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

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

      .Hc-card-image {
        position: absolute;
        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;
    }

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

  &-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;
    }
  }
}