body {
  font-family: "Source Han Sans CN", sans-serif;
}

.login-main {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  /* background-image: linear-gradient(to right, #499AEB, #186cd6); */
  background: url(/static/img/bgnew.png) no-repeat;
  background-size:100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-main .logo {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 999;
  width: 200px;
}

.login-bg1 {
  width: 60vw;
  height: 60vw;
  /* background-image: linear-gradient(#219edc, #4684dc 20%, #1661dc 40%); */
  transform: rotate(-135deg);
  position: absolute;
  top: -30vw;
  right: -30vw;
  z-index: 1;
}

.login-bg2 {
  width: 85vw;
  height: 85vw;
  /* background-image: linear-gradient(#2682c5, #2a60a3, #1b3299); */
  transform: rotate(60deg);
  position: absolute;
  bottom: -60vw;
  right: -30vw;
  z-index: 2;
}

.box-main {
  width: 70vw;
  height: 70vh;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
  border-radius: 20px !important;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  padding: 40px 0;
  display: flex;
  flex-direction: row;
}

.box-img {
  width: 60%;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-img img {
  width: 100%;
  position: relative;
  animation: img-show 1.5s;
}

.box-login {
  width: 40%;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
}

@font-face {
  font-family: eFont;
  src: url('./test1.ttf');
}

.login-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  animation: title-show 3s;
}

.login-title .title-text {
  font-size: 54px;
  font-weight: 400;
  color: #FFFFFF;
  text-shadow: 3px 5px 3px rgba(0, 0, 0, 0.6);
  font-family: eFont;
  letter-spacing: 3px;
  margin-top: 40px;
}

.login-form-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 80px;
  position: relative;
  animation: form-show 1.5s;
}

.form-row {
  display: flex;
  flex-direction: row;
  margin-bottom: 50px;
  position: relative;
  height: 66px;
}

.form-row .row-title {
  position: absolute;
  top: 10px;
  left: 0;
  bottom: 10px;
  width: 60px;
  color: #FFFFFF;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

/* .row-title .icon-user{
  color: #3283CA !important;
} */

.form-row input {
  width: 100%;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid #3283CA;
  border-radius: 100px !important;
  font-size: 26px;
  font-weight: 300;
  padding: 6px 6px 6px 80px;
  transition: all .2s;
  outline: none;
}

.form-row input:focus {
  border: 1px solid #54edc9;
  box-shadow: 0 0 4px rgba(84, 224, 237, 0.8);
}

.form-row.btn-row {
  margin-bottom: 0;
}

.form-row.btn-row button {
  width: 100%;
  border: none;
  border-radius: 100px !important;
  font-size: 26px;
  letter-spacing: 10px;
  text-indent: 10px;
  background-image: linear-gradient(to right, #55e0bc, #2350e0);
  color: #FFFFFF;
  transition: all .2s;
}

.form-row.btn-row button:hover {
  background-image: linear-gradient(to right, #54edc9, #2252ed);
}

@keyframes img-show {
  from {
    opacity: 0;
    left: -200px;
  }
  to {
    opacity: 1;
    left: 0;
  }
}

@keyframes form-show {
  from {
    opacity: 0;
    right: -200px;
  }
  to {
    opacity: 1;
    right: 0;
  }
}

@keyframes title-show {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 800px) {
  .login-main {
    align-items: flex-start;
  }

  .login-bg1 {
    width: 80vh;
    height: 70vh;
    /* background-image: linear-gradient(#44acdf, #1496d7 20%); */
    transform: rotate(-145deg);
    top: -80vw;
    right: -50vw;
  }

  .login-bg2 {
    width: 100vw;
    height: 100vh;
    transform: rotate(45deg);
    bottom: -55vw;
    right: -40vw;
  }

  .box-main {
    height: auto;
    margin-top: 20vh;
    padding: 20px;
  }

  .box-img {
    display: none;
  }

  .box-login {
    width: 100%;
    padding: 0;
  }

  .login-title {
    margin-bottom: 25px;
  }

  .login-title .title-text {
    font-size: 18px;
    letter-spacing: 3px;
    text-indent: 3px;
  }

  .login-form-box {
    padding-bottom: 0;
  }

  .form-row {
    margin-bottom: 20px;
  }

  .form-row .row-title {
    width: 40px;
    padding: 0;
  }

  .form-row input {
    padding-left: 50px;
  }

  .form-row.btn-row button {
    padding-top: 7px;
    padding-bottom: 7px;
  }
}