@import "../../../res.less";

.homepage>.homeRoot>.check {
  margin-top: 30px;
  margin-left: 5px;
  width: 741px;
  border-radius: 8px;
  position: relative;
  //background-color: rgb(255, 255, 251);
  //box-shadow: 0 5px 10px 0 rgba(235, 198, 192, 0.22), inset 0 2px 3px 0 rgba(255, 255, 255, 0.72), inset 0 24px 125px 0 rgba(255, 255, 255, 0.7);

  &::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 300px;
    bottom: 0;
    border-radius: 0 0 8px 8px;
    background-color: rgb(255, 255, 251);
    box-shadow: 0 5px 10px 0 rgba(235, 198, 192, 0.22), inset 0 2px 3px 0 rgba(255, 255, 255, 0.72), inset 0 24px 125px 0 rgba(255, 255, 255, 0.7);
    z-index: 0;
  }

  /* 定义字体 */
  @font-face {
    font-family: "zzgfyht";
    src: url('/src/assets/font/zzgfyht.ttf') format('truetype');
    // font-display: swap;
  }

  .check-color {
    left: 8px;
    right: 8px;
    top: 300px;
    bottom: 0;
  }

  .check-bg {
    width: 741px;
    height: 563px;
    .webpBg("HomePage/checkBg.png");
  }

  .check-title {
    position: absolute;
    left: 86px;
    top: 34px;
    font-size: 40px;
    font-family: "zzgfyht";


    background: linear-gradient(to right,
        rgb(79, 12, 29),
        rgba(132, 20, 57, 0.76));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .title-line {
    position: absolute;
    width: 334px;
    height: 26px;
    top: 70px;
    left: 86px;
    .webpBg("HomePage/line.png");
  }


  .prize-name {
    position: absolute;
    top: 130px;
    left: 40px;
    font-size: 29px;
    font-family: "zzgfyht";
  }

  .prize-img {
    position: absolute;
    width: 291px;
    height: 187px;
    top: 130px;
    left: 426px;
    .webpBg("HomePage/img.png");
    border-radius: 20px;
  }

  .insist-bg {
    position: absolute;
    top: 200px;
    left: 32px;
    width: 310px;
    height: 64px;
    .webpBg("HomePage/insistBg.png");

  }

  .insist-day {
    position: absolute;
    top: 186px;
    left: 56px;
    width: 310px;
    height: 64px;
    font-size: 26px;
    font-family: "zzgfyht";
    font-style: italic;

    .special {
      font-size: 62px;
      top: 178px;
      font-family: "zzgfyht";
    }
  }

  .process-tip {
    position: absolute;
    top: 300px;
    left: 40px;
    color: gray;

    .process1 {
      color: black;
      font-weight: bold;
    }

    .process2 {
      color: black;
      font-weight: bold;
    }

  }

  .actTime {
    font-size: 24px;
    color: rgb(111, 36, 61);
    text-align: left;
    position: absolute;
    left: 435px;
    top: 49px;
  }

  .task {
    margin-left: 33px;
    margin-top: 354px;
    width: 675px;
    border-radius: 20px;

    .task-bg {
      position: relative;
      background-color: rgb(255, 246, 218);
      border-radius: 20px;

      .task-plan {
        position: relative;
        background-color: rgb(254, 213, 182);
        color: rgb(111, 36, 61);
        width: 240px;
        height: 60px;
        text-align: center;
        line-height: 60px;
        font-size: 26px;
        border-radius: 20px 0px 40px 0px;
      }

      .task-item {
        position: relative;
        width: 100%;
        height: 98px;
        left: 30px;
        margin-top: 46px;
        margin-bottom: -36px;

        // .item-bg {
        //   width: 727px;
        //   height: 171px;
        //   left: 0px;
        //   top: 0px;
        //   position: absolute;
        //   .sparkBg("taskModule/s_bg.png");
        // }

        .item-icon {
          width: 60px;
          height: 60px;
          position: absolute;
        }

        .item-name {
          width: 351px;
          height: 69px;
          left: 96px;
          top: -5px;
          position: absolute;

          .item-title {
            width: 340px;
            height: 34px;
            left: -5px;
            top: 0px;
            position: absolute;
            font-size: 30px;
            line-height: 30px;
            // font-weight: bold;
            // color: rgba(19, 96, 7, 1);
            .lineClamp1();
          }

          .item-tip {
            width: 390px;
            height: 28px;
            left: -5px;
            top: 45px;
            position: absolute;
            // font-weight: bold;
            font-size: 24px;
            line-height: 24px;
            color: gray;
            .lineClamp1();
          }
        }

        // 按钮
        .gofinish {
          position: absolute;
          width: 116px;
          height: 45px;
          top: 6px;
          left: 500px;
          .webpBg("HomePage/task/gofinish.png");
        }

        .gosign {
          position: absolute;
          width: 116px;
          height: 45px;
          top: 6px;
          left: 500px;
          .webpBg("HomePage/task/gosign.png");
        }

        .finish {
          position: absolute;
          width: 116px;
          height: 45px;
          top: 6px;
          left: 500px;
          .webpBg("HomePage/task/finish.png");
        }
      }
    }
  }

  .calendar {
    border-radius: 20px;
    // background-color: rgb(255, 250, 234);
    position: relative;
    margin-left: 32px;
    margin-top: 60px;
    width: 675px;
    height: auto;
    padding-bottom: 130px;

    .remind {
      font-size: 26px;
      color: rgb(111, 36, 61);
      line-height: 1.2;
      position: absolute;
      left: 200px;
      width: 380px;
      height: 46px;
    }

    .subcribe {
      position: absolute;
      left: 574px;
      width: 92px;
      height: 34px;
      top: -2px;
      // font-size: 26px;
      .webpBg("HomePage/订阅.png");
    }

    .list {
      position: relative;
      top: 80px;
      width: 675px;
      height: auto;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;

      .sample {
        position: relative;
        width: 67px;
        height: 67px;
        margin-left: 15px;
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        // .webpBg("HomePage/sampleBg.png");

        .day-number {
          font-size: 24px;
          line-height: 1.2;
          position: absolute;
        }

        .done {
          position: absolute;
          width: 67px;
          height: 68px;
  
          .webpBg("HomePage/sampleBg.png");
        }

        .duigou {
          position: absolute;
          top: 48px;
          width: 19px;
          height: 15px;
  
          .webpBg("HomePage/duigou.png");
        }

        .renew {
          position: absolute;
          width: 67px;
          height: 68px;
  
          .webpBg("HomePage/renewBg.png");
        }
      }

      .new-style {
        position: relative;
        width: 67px;
        height: 67px;
        margin-left: 15px;
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        .webpBg("HomePage/prizeBg.png");
      }
    }
  }
}