@import '../../variables.scss';

$paddingY: 5vh;
$paddingX: 3.5vw;
section.prelogin {
  background-image: url('../../../public//images/bg_leave.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  overflow-x: hidden;
  // background-image: url('../../../public//images//bglogin.jpg');
  .inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 10px;
    width: 100%;
    height: 100%;
    > div {
      margin: 0 auto;
      padding: 15px 36px;
      // flex: 1;
      // width: 100%;
      height: 100vh;
      /* padding: 5vh 3.5vw; */
      min-height: 100vh;
      // overflow: hidden;
    }
    .visualWrapper {
      // background: url(/images/bgauth_lgc1gq.webp) no-repeat;
      // background-position: center;
      // background-size: cover;
      // display: flex;
      // justify-content: center;
      // align-items: center;

      .carimg {
        // border: 1px solid red;
        width: 100%;
        max-width: 750px;
        height: 100%;
        max-height: 960px;

        // @media (max-height: 900px) {
        //   // margin-top: 5%;
        //   width: 60%;
        // }
        // @media (max-height: 700px) {
        //   // margin-top: 3%;
        //   width: 85%;
        // }
        // @media (max-height: 900px) and (max-width: 1499px) {
        //   width: 80%;
        //   // width: 100%;
        //   // margin-top: 5%;
        // }
      }
      p {
        position: absolute;
        bottom: 40px;
        left: 6%;
        max-width: 500px;
        color: #fff;
        font-size: 20px;
        @media (max-width: 1499px) {
          left: 3%;
          max-width: 400px;
          font-size: 16px;
        }
      }
      @media (max-width: 991px) {
        display: none;
      }
    }
    .formWrapper {
      // border: 1px solid red;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 auto;
      width: 100%;
      max-width: 699px;
      // display: flex;
      // //bug.com
      // // flex-direction: column-reverse;
      // flex-direction: column;
      // align-items: center;
      // // justify-content: center;
      // justify-content: space-around;
      // position: relative;
      // overflow-y: scroll;
      // z-index: 1;
      // border: 1px solid red;
      height: 100%;
      max-height: 714px;
      // @media (max-width: 991px) {
      //   text-align: center;
      //   flex-direction: unset;
      //   display: block;
      // }
      .form_title {
        margin-bottom: 15px;
        color: #0c7347;
        font-weight: 400;
        font-size: 55px;
        text-align: center;

        @media (max-width: 500px) {
          font-size: 32px;
        }
      }
      .form_label {
        margin-bottom: 5px;
        margin-left: 20px;
        color: $lightblack;
        font-weight: 700;
        font-size: 16px;
        @media (max-width: 991px) {
          text-align: center;
        }
      }
      .form_profilelabel {
        display: flex;
        margin-bottom: 5px;
        margin-left: 20px;
        color: $lightblack;
        font-weight: 500;

        @media (max-width: 991px) {
          display: block;
          text-align: center;
        }
      }
      p {
        color: #31a04a;
        font-weight: 500;
        font-size: 16px;

        font-family: 'Creato Display';
      }
      .form_selecticon {
        position: absolute;
        top: 68%;
        left: 5%;
        transform: translateY(-50%);
        color: #8c8c8c;
      }
      .forgotWrapper {
        display: flex;
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        a,
        label {
          font-size: 14px;
        }
      }
      .forgotWrappersignup {
        display: flex;
        position: relative;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        // padding: 0px 2rem;
        a,
        label {
          font-size: 14px;
        }
      }
      button[type='submit'] {
        width: 100%;
        font-size: 18px;
        // margin-top: 2.5vh;
      }

      .extra_info {
        width: 100%;
        font-weight: 600;
        font-size: 22px;

        @media (max-width: 991px) {
          position: unset;
          margin-top: 40px;
        }
        a {
          font-weight: 800;
        }
      }

      .form_brand {
        img {
          max-width: 250px;
        }
        @media (min-width: 991px) {
          display: none;
        }
      }

      .leafimg {
        position: absolute;
        right: -100px;
        bottom: -150px;
        z-index: -1;
      }
    }
  }
}
section.prelogin2 {
  background-image: url('../../../public//images//bglogin.jpg');
  background-position: center;
  background-size: cover;
  // background-image: url("../../../public//images/bg_leave.png");
  background-repeat: no-repeat;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  overflow-x: hidden;
  .inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 10px;
    width: 100%;
    height: 100%;
    > div {
      margin: 0 auto;
      padding: 15px 36px;
      // flex: 1;
      // width: 100%;
      height: 100vh;
      /* padding: 5vh 3.5vw; */
      min-height: 100vh;
      // overflow: hidden;
    }
    .visualWrapper {
      // background: url(/images/bgauth_lgc1gq.webp) no-repeat;
      // background-position: center;
      // background-size: cover;
      // display: flex;
      // justify-content: center;
      // align-items: center;

      .carimg {
        // border: 1px solid red;
        width: 100%;
        max-width: 750px;
        height: 100%;
        max-height: 960px;

        // @media (max-height: 900px) {
        //   // margin-top: 5%;
        //   width: 60%;
        // }
        // @media (max-height: 700px) {
        //   // margin-top: 3%;
        //   width: 85%;
        // }
        // @media (max-height: 900px) and (max-width: 1499px) {
        //   width: 80%;
        //   // width: 100%;
        //   // margin-top: 5%;
        // }
      }
      p {
        position: absolute;
        bottom: 40px;
        left: 6%;
        max-width: 500px;
        color: #fff;
        font-size: 20px;
        @media (max-width: 1499px) {
          left: 3%;
          max-width: 400px;
          font-size: 16px;
        }
      }
      @media (max-width: 991px) {
        display: none;
      }
    }
    .formWrapper {
      // border: 1px solid red;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 auto;
      width: 100%;
      max-width: 699px;
      // display: flex;
      // //bug.com
      // // flex-direction: column-reverse;
      // flex-direction: column;
      // align-items: center;
      // // justify-content: center;
      // justify-content: space-around;
      // position: relative;
      // overflow-y: scroll;
      // z-index: 1;
      // border: 1px solid red;
      height: 100%;
      max-height: 714px;
      // @media (max-width: 991px) {
      //   text-align: center;
      //   flex-direction: unset;
      //   display: block;
      // }
      .form_title {
        margin-bottom: 15px;
        color: #0c7347;
        font-weight: 400;
        font-size: 55px;
        text-align: center;

        @media (max-width: 500px) {
          font-size: 32px;
        }
      }
      .form_label {
        margin-bottom: 5px;
        margin-left: 20px;
        color: $lightblack;
        font-weight: 700;
        font-size: 16px;
        @media (max-width: 991px) {
          text-align: center;
        }
      }
      .form_profilelabel {
        display: flex;
        margin-bottom: 5px;
        margin-left: 20px;
        color: $lightblack;
        font-weight: 500;

        @media (max-width: 991px) {
          display: block;
          text-align: center;
        }
      }
      p {
        color: #31a04a;
        font-weight: 500;
        font-size: 16px;

        font-family: 'Creato Display';
      }
      .form_selecticon {
        position: absolute;
        top: 68%;
        left: 5%;
        transform: translateY(-50%);
        color: #8c8c8c;
      }
      .forgotWrapper {
        display: flex;
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        a,
        label {
          font-size: 14px;
        }
      }
      .forgotWrappersignup {
        display: flex;
        position: relative;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        // padding: 0px 2rem;
        a,
        label {
          font-size: 14px;
        }
      }
      button[type='submit'] {
        width: 100%;
        font-size: 18px;
        // margin-top: 2.5vh;
      }

      .extra_info {
        width: 100%;
        font-weight: 600;
        font-size: 22px;

        @media (max-width: 991px) {
          position: unset;
          margin-top: 40px;
        }
        a {
          font-weight: 800;
        }
      }

      .form_brand {
        img {
          max-width: 250px;
        }
        @media (min-width: 991px) {
          display: none;
        }
      }

      .leafimg {
        position: absolute;
        right: -100px;
        bottom: -150px;
        z-index: -1;
      }
    }
  }
}
.lottie {
  display: inline-block;
  position: relative;
  margin: 40px 0px;
  // &:before {
  //   content: '';
  //   position: absolute;
  //   top: -12px;
  //   right: -12px;
  //   left: -12px;
  //   bottom: -12px;
  //   background: $white;
  //   border-radius: 50%;
  //   box-shadow: 0px 3px 6px #00000029;
  // }
}
