@import "../../common/basic.less";

.page-wrap {
  position: relative;
  background-color: #fff;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  .logo {
    position: absolute;
    top: 36px;
    left: 43px;
    z-index: 10;
    img {
      height: 30px;
    }
  }
  .loading-form {
    display: flex;
    flex-direction: column;
    height: 28vh;
    width: 30vw;
    align-items: center;
    justify-content: center;
    &.inner{
      position: relative;
      top: -48px;
    }
    .text-wrap{
      position: relative;
      top: -30px;
      overflow: hidden;
      height: 24px;
      p{
        position: relative;
        height: 24px;
        line-height: 24px;
        margin: 0;
        transition: top .2s linear;
        &.no-transition{
          transition-duration: 0s;
        }
        .loading-dot{
          width: 32px;
        }
      }
    }
  }
}

.init-page-content {
  position: relative;
  top: 0;
  margin-top: 36vh;
  margin-left: 9vw;
  transition: all .2s linear;
  float: left;
  .title {
    position: relative;
    left: -22px;
    padding-left: 20px;
    margin-left: 1.5vw;
    min-height: 50px;
    font-size: 36px;
    font-weight: normal;
    color: black;
    z-index: 10;
    opacity: 0;
    transition: all .2s linear;
    &:before{
      content: '';
      position: absolute;
      top: 14px;
      left: 0;
      display: block;
      width: 8px;
      height: 30px;
      background:linear-gradient(180deg,rgba(88,197,188,1) 0%,rgba(114,126,255,1) 100%);
      border-radius:5px;
    }
  }
  @media screen and (min-width: (@screen-md + 1)) {
    margin-left: 12vw;
    .title{
      font-size: 44px;
      &:before{
        top: 20px;
      }
    }
  }
  .ant-form-item{
    opacity: 0;
    transition: all .2s linear;
  }
  .normal{
    top: 0;
    opacity: 1;
  }
  .to-up {
    opacity: 0;
    top: -50px;
  }
  .to-bottom {
    transition: all 0s linear;
    opacity: 0;
    top: 50px;
  }
}

.animate-wrap{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  .layer{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
  }
  .animate-content{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    img{
      width: 100%;
      height: 100%;
    }
    .element{
      position: absolute;
      overflow: hidden;
    }
    // .bg-color{
    //   position: absolute;
    //   overflow: hidden;
    //   top: 0;
    //   right: 0;
    //   height: 71vh;
    //   width: 106vh;
    //   z-index: 3;
    //   mix-blend-mode: color;
    // }
    .bg-0{
      top: 0;
      right: 0;
      width: 122.5vh;
      height: 100vh;
      // min-height: 500px;
    }
    .bg-0-1{
      top: 0;
      right: 0;
      width: 122.5vh;
      height: 100vh;
      // min-height: 500px;
      z-index: 4;
    }
    .bg-1{
      top: 0;
      right: 0;
      width: 122.5vh;
      height: 100vh;
      z-index: 3;
      .triangle{
        position: absolute;
        top: 30vh;
        bottom: 0;
        left: 25vh;
        right: 50vh;
        .triangle-content{
          width:0;
          height:0;
          border-width:70vh 60vh;
          border-style:solid;
          border-color:transparent transparent transparent #fff;
          margin:40px auto;
          position:relative;
        }
        z-index: 1;
      }
      
      img{
        position: relative;
        z-index: 2;
      }
    }
    .rect{
      position: absolute;
      top: 100vh;
      width: 97.5vh;
      height: calc(500px - 100vh);
      right: 0;
      background-color: #fff;
      z-index: 1;
    }
    .bg-2{
      left: 0;
      bottom: 0;
      width: 38.33vh;
      height: 40.93vh;
      z-index: 4;
    }
    .bg-3{
      top: 0;
      right: 0;
      height: 71vh;
      width: 106vh;
    }
    .moon{
      top: 12vh;
      right: 33vh;
      width: 47.2vh;
      height: 47.2vh;
      opacity: 0;
    }
    .mountain-1{
      top: 36vh;
      right: 0;
      width: 78vh;
      height: 35.3vh;
      // height: 23vh;
      // width: 39vh;
    }
    .mountain-2{
      top: 37.6vh;
      right: -12px;
      width: 62.4vh;
      height: 33.4vh;
      // height: 28vh;
      // width: 37vh;
    }
    .mountain-3{
      top: 36.4vh;
      right: -12px;
      width: 63vh;
      height: 34.6vh;
      // height: 22vh;
      // width: 24vh;
    }
    .hillside-1{
      top: 28.8vh;
      right: 8vh;
      height: 43vh;
      width: 81vh;
    }
    .hillside-2{
      top: 42.3vh;
      right: 7.4vh;
      height: 30vh;
      width: 75vh;
    }
    .hillside-3{
      top: 49vh;
      right: 0;
      width: 80vh;
      height: 22.7vh;
      // height: 15vh;
      // width: 46vh;
    }
    .meteor-1{
      top: 6vh;
      right: 90vh;
      width: 7.12vh;
      height: 7.68vh;
    }
    .meteor-2{
      top: 6vh;
      right: 44vh;
      width: 7.12vh;
      height: 7.68vh;
    }
    .meteor-3{
      top: 12vh;
      right: 64vh;
      width: 3.51vh;
      height: 3.7vh;
    }
    .meteor-4{
      top: 14vh;
      right: 12vh;
      width: 5.18vh;
      height: 5.46vh;
    }
    .meteor-5{
      top: 32vh;
      right: 20vh;
      width: 3.51vh;
      height: 3.7vh;
    }
    .meteor-6{
      top: 8vh;
      right: 88vh;
      width: 7.12vh;
      height: 7.68vh;
    }
    .meteor-7{
      top: 6vh;
      right: 40vh;
      width: 7.12vh;
      height: 7.68vh;
    }
    .meteor-8{
      top: 14vh;
      right: 6vh;
      width: 3.51vh;
      height: 3.7vh;
    }
    .meteor-9{
      top: 10vh;
      right: 16vh;
      width: 5.18vh;
      height: 5.46vh;
    }
    .meteor-10{
      top: 36vh;
      right: 24vh;
      width: 3.51vh;
      height: 3.7vh;
    }
    .star-1{
      top: 1.2vh;
      right: 20vh;
      width: 72vh;
      height: 26vh;
    }
    .star-2{
      top: 3vh;
      right: 15vh;
      width: 83vh;
      height: 24vh;
    }
    .star-3{
      top: 5vh;
      right: 3vh;
      width: 92vh;
      height: 27vh;
    }
    .star-4{
      top: 9vh;
      right: 5vh;
      width: 54vh;
      height: 9vh;
    }
  }
  .ani-opacity{
    animation: opacityIn 1000ms linear 80ms 1;
  }
  .ani-left{
    animation: leftIn 200ms linear 80ms 1;
  }
  .ani-right{
    animation: rightIn 200ms linear 80ms 1;
  }
  .ani-right1{
    animation: rightIn 200ms linear 320ms 1;
  }
  .ani-top{
    animation: topIn 200ms linear 320ms 1;
  }
  .ani-top-m-1{
    animation: topLongIn 500ms linear 320ms 1;
  }
  .ani-top-m-2{
    animation: topLongIn 600ms linear 320ms 1;
  }
  .ani-top-m-3{
    animation: topLongIn 700ms linear 320ms 1;
  }
  .ani-top-long{
    animation: topLongIn 400ms linear 520ms 1;
  }
  .ani-flash{
    animation: flashIn 1000ms linear 520ms infinite;
  }
  .ani-flash1{
    animation: flashIn 1000ms linear 620ms infinite;
  }
  .ani-flash2{
    animation: flashIn 1200ms linear 520ms infinite;
  }
  .ani-flash3{
    animation: flashIn 1200ms linear 620ms infinite;
  }
  .ani-move{
    animation: moveIn 2400ms linear 520ms infinite;
  }
  .ani-move1{
    animation: moveIn 2000ms linear 620ms infinite;
  }
  .ani-move2{
    animation: moveIn 3000ms linear 520ms infinite;
  }
  .ani-move3{
    animation: moveIn 2400ms linear 620ms infinite;
  }
  .ani-move4{
    animation: moveIn 2000ms linear 1520ms infinite;
  }
  .ani-move5{
    animation: moveIn 2000ms linear 1620ms infinite;
  }
  .ani-move6{
    animation: moveIn 3000ms linear 1520ms infinite;
  }
  .ani-move7{
    animation: moveIn 2400ms linear 1620ms infinite;
  }
  .ani-move8{
    animation: moveIn 2000ms linear 520ms infinite;
  }
  .ani-move-long{
    animation: moveLongIn 3000ms linear 520ms infinite;
  }
  .ani-move-long2{
    animation: moveLongIn 3000ms linear 2520ms infinite;
  }
  .ani-moon{
    animation: topMoonIn 1200ms linear 420ms 1;
  }
  .ani-top-new{
    animation: topNewIn 600ms linear 370ms 1;
  }
  .ani-top-new1{
    animation: topNewIn 600ms linear 370ms 1;
  }
  .ani-top-new2{
    animation: topNewIn 600ms linear 470ms 1;
  }
  .ani-top-new3{
    animation: topNewIn 600ms linear 570ms 1;
  }
  .ani-top-new4{
    animation: topNewIn 600ms linear 590ms 1;
  }
  .ani-top-new5{
    animation: topNewIn 600ms linear 630ms 1;
  }
  .ani-top-new6{
    animation: topNewIn 600ms linear 690ms 1;
  }
}

@keyframes opacityIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes leftIn {
  from {
    transform: translate(-50px, 0);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes rightIn {
  from {
    transform: translate(50px, 0);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes topIn {
  from {
    transform: translate(0, 50px);
    opacity: 1;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes topLongIn {
  from {
    transform: translate(0, 150px);
    opacity: 1;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes topMoonIn {
  0% {
    transform: translate(0, 320px);
    opacity: 1;
  }
  500%{
    opacity: 1;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes topNewIn {
  0% {
    transform: translate(0, 500px);
    opacity: 1;
  }
  // 40%{
  //   transform: translate(0, 180px);
  // }
  70%{
    transform: translate(0, 70px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes flashIn {
  0%{
    opacity: .5;
  }
  30%{
    opacity: .1;
  }
  60%{
    opacity: .2;
  }
  100%{
    opacity: .5;
  }
}
@keyframes moveIn{
  0%{
    opacity: 1;
    transform: translate(-200px, -200px);
  }
  30%{
    transform: translate(-50px, -50px);
  }
  60%{
    transform: translate(100px, 100px);
  }
  100%{
    transform: translate(300px, 300px);
  }
}
@keyframes moveLongIn{
  0%{
    opacity: 1;
    transform: translate(-500px, -500px);
  }
  30%{
    transform: translate(-300px, -300px);
  }
  60%{
    transform: translate(0, 0);
  }
  100%{
    transform: translate(300px, 300px);
  }
}

.init-form{
  margin-top: 5vh;
  width: 30vw;
  .ant-form-item-label{
    text-align: left;
    padding-left: 1.5vw;
    font-weight: 700;
  }
  .ant-form-item-label, .ant-form-item-control{
    line-height: 34px;
  }
  .ant-input-number{
    width: auto;
    min-width: 50px;
  }
  .port{
    .ant-form-item-label{
      padding-left: 0;
    }
  }
  .form-bottom{
    text-align: right;
    .submit-btn{
      height: 40px;
      width: 100px;
      color: #fff;
      background:linear-gradient(138deg,rgba(119,191,255,1) 0%,rgba(90,102,255,1) 100%);
      box-shadow:0px 2px 15px 0px rgba(67,112,255,0.29);
      border-radius:30px;
      &:hover{
        color: #fff;
      }
    }
  }
  @media screen and (min-width: (@screen-md + 1)) {
    width: 32vw;
    margin-top: 6vh;
    font-size: 14px;
    .ant-form-item-label, .ant-form-item-control{
      line-height: 42px;
    }
    .ant-form-item{
      margin-bottom: 32px;
    }
    .form-bottom{
      .submit-btn{
        width: 140px;
        height: 52px;
      }
    }
  }
  @media screen and (max-width: 1000px) and (min-width: 401px) {
    width: 320px;
  }
  @media screen and (max-width: 400px) {
    width: 80vw;
  }
}
