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

.gamePage {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;

  .bg {
    width: 100%;
    height: 1624px;
    position: absolute;
    .sparkBg("gamePage/bg.jpg");
  }
  .count321 {
    width: 750px;
    height: 1624px;
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    .countSvga {
      width: 750px;
      height: 1624px;
      position: absolute;
      top: 0;
      left: 0;
    }
  }
  

  .countBg {
    width: 148px;
    height: 61px;
    line-height: 67px;
    position: absolute;
    left: 575px;
    top: 61px;
    color: #ffffff;
    font-size: 30px;
    .sparkBg("gamePage/countBg.png");
    box-sizing: border-box;

    .count {
      width: 116px;
      height: 54px;
      position: absolute;
      left: 57px;
    }
  }

  .numPaper {
    width: 357px;
    height: 219px;
    position: absolute;
    left: 204px;
    top: 371px;
    .sparkBg("gamePage/numberBg.png");

    .number {
      width: 290px;
      height: 150px;
      position: absolute;
      left: 18px;
      top: 46px;
      font-size: 60px;
      color: #10631c;
      font-weight: bold;
      line-height: 150px;
      text-align: center;
      // background-color: #ffffff;
    }
  }

  .minusBg {
    color: #792818!important;
    .sparkBg("gamePage/minus2.png")!important;
  }



  .leftNum {
    width: 332px;
    height: 266px;
    position: absolute;
    left: 45px;
    top: 778px;

    .rightSvga {
      width: 690px;
      height: 664px;
      position: absolute;
      left: calc(50% - 345px);
      top: calc(50% - 332px);
    }

    .wrongSvga {
      width: 332px;
      height: 266px;
      position: absolute;
      left: calc(50% - 166px);
      top: calc(50% - 133px);
    }
 
    .selected {
      width: 332px;
      height: 266px;
      position: absolute;
      .sparkBg("gamePage/selectBg.png");
    }

    .number1 {
      width: 280px;
      height: 180px;
      position: absolute;
      left: 35px;
      top: 25px;
      .sparkBg("gamePage/plus.png");

      .text1 {
        width: 212px;
        height: 112px;
        line-height: 112px;
        text-align: center;
        position: absolute;
        left: 20px;
        top: 44px;
        font-size: 44px;
        font-weight: bold;
        color: #10631c;
        // background-color: #ffffff;
      }

      .text2 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 212px;
        height: 112px;
        position: absolute;
        line-height: 112px;
        text-align: center;
        left: 20px;
        top: 44px;
        font-size: 44px;
        font-weight: bold;
        color: #10631c;
        .fenBox {
          display: flex;
          flex-direction: column;
          align-items: center;
         
          .fen1 {
            padding-bottom: 6px;
            width: 60px;
            height: 30px;
            line-height: 30px;
            border-bottom: 3px solid #10631c;
          }

          .fen2 {
            padding-top: 10px;
            width: 60px;
            height: 30px;
            line-height: 30px;
          }
        }
      } 
     


      
    }

    .minusNumber1 {
      width: 280px;
      height: 180px;
      position: absolute;
      left: 35px;
      top: 25px;
      .sparkBg("gamePage/minus.png");

      .text1 {
        width: 212px;
        height: 112px;
        position: absolute;
        line-height: 112px;
        text-align: center;
        left: 20px;
        top: 44px;
        font-size: 44px;
        font-weight: bold;
        color: #792818;
        // background-color: #ffffff;
      }

      .text2 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 212px;
        height: 112px;
        position: absolute;
        line-height: 112px;
        text-align: center;
        left: 20px;
        top: 44px;
        font-size: 44px;
        font-weight: bold;
        color: #792818;
        .fenBox {
          display: flex;
          flex-direction: column;
          align-items: center;
         
          .fen1 {
            padding-bottom: 6px;
            width: 60px;
            height: 30px;
            line-height: 30px;
            border-bottom: 3px solid #792818;
          }

          .fen2 {
            padding-top: 10px;
            width: 60px;
            height: 30px;
            line-height: 30px;
          }
        }
      } 
    }

    .twoNum {
      .left1 {
        width: 151px;
        height: 80px;
        position: absolute;
        left: 80px;
        top: 60px;
        text-align: center;
        line-height: 80px;
        font-size: 32px;
        color: #10631c;
        font-weight: bold;
        .sparkBg("gamePage/plus2.png");
      }

      .left2 {
        width: 151px;
        height: 80px;
        position: absolute;
        left: 110px;
        top: 115px;
        text-align: center;
        line-height: 80px;
        font-size: 32px;
        color: #10631c;
        font-weight: bold;
        .sparkBg("gamePage/plus2.png");
      }
    }
  }

  .rightNum {
    width: 332px;
    height: 266px;
    position: absolute;
    left: 370px;
    top: 778px;

    .selected {
      width: 332px;
      height: 266px;
      position: absolute;
      .sparkBg("gamePage/selectBg.png");
    }

    .rightSvga {
      width: 690px;
      height: 664px;
      position: absolute;
      left: calc(50% - 345px);
      top: calc(50% - 332px);
    }

    .wrongSvga {
      width: 332px;
      height: 266px;
      position: absolute;
      left: calc(50% - 166px);
      top: calc(50% - 133px);
    }

    .number2 {
      width: 280px;
      height: 180px;
      position: absolute;
      left: 35px;
      top: 25px;
      .sparkBg("gamePage/plus.png");
      .text1 {
        width: 212px;
        height: 112px;
        position: absolute;
        left: 20px;
        top: 44px;
        font-size: 44px;
        font-weight: bold;
        line-height: 112px;
        text-align: center;
        color: #10631c;
        // background-color: #ffffff;
      }
      .text2 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 212px;
        height: 112px;
        position: absolute;
        line-height: 112px;
        text-align: center;
        left: 20px;
        top: 44px;
        font-size: 44px;
        font-weight: bold;
        color: #10631c;
        .fenBox {
          display: flex;
          flex-direction: column;
          align-items: center;
         
          .fen1 {
            padding-bottom: 6px;
            width: 60px;
            height: 30px;
            line-height: 30px;
            border-bottom: 3px solid #10631c;
          }

          .fen2 {
            padding-top: 10px;
            width: 60px;
            height: 30px;
            line-height: 30px;
          }
        }
      } 
    }

    .minusNumber2 {
      width: 280px;
      height: 180px;
      position: absolute;
      left: 35px;
      top: 25px;
      .sparkBg("gamePage/minus.png");
      .text1 {
        width: 212px;
        height: 112px;
        position: absolute;
        left: 20px;
        top: 44px;
        font-size: 44px;
        font-weight: bold;
        line-height: 112px;
        text-align: center;
        color: #792818;
        // background-color: #ffffff;
      }
      .text2 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 212px;
        height: 112px;
        position: absolute;
        line-height: 112px;
        text-align: center;
        left: 20px;
        top: 44px;
        font-size: 44px;
        font-weight: bold;
        color: #792818;
        .fenBox {
          display: flex;
          flex-direction: column;
          align-items: center;
         
          .fen1 {
            padding-bottom: 6px;
            width: 60px;
            height: 30px;
            line-height: 30px;
            border-bottom: 3px solid #792818;
          }

          .fen2 {
            padding-top: 10px;
            width: 60px;
            height: 30px;
            line-height: 30px;
          }
        }
      } 
    }

    .twoNum {
      .right1 {
        width: 151px;
        height: 80px;
        position: absolute;
        left: 80px;
        top: 60px;
        text-align: center;
        line-height: 80px;
        font-size: 32px;
        color: #10631c;
        font-weight: bold;
        .sparkBg("gamePage/plus2.png");
      }



      .right2 {
        width: 151px;
        height: 80px;
        position: absolute;
        left: 110px;
        top: 115px;
        text-align: center;
        line-height: 80px;
        font-size: 32px;
        color: #10631c;
        font-weight: bold;
        .sparkBg("gamePage/plus2.png");
      }
    }
  }
}

.moneyAni {
  animation: money 0.3s linear forwards;
}

@keyframes money {
  0% {
    transform: scaleY(0.87);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}