* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}
.login-container {
  display: flex;
  align-items: center;
  width: 1340px;
  height: 540px;
  padding-right: 80px;
  padding-left: 100px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.left-box {
  flex: 1;
  letter-spacing: 5px;
}

.left-box {
  margin-top: -7.5rem;
  color: white;
}
.left-box .tips {
  margin-bottom: 20px;
}

.left-box .tips h3 {
  font-weight: 600;
  font-size: 1.7rem;
}

.left-box .tips .line {
  height: 2px;
  width: 30px;
  margin-top: 20px;
  background-color: #fff;
}

.left-box .title h2 {
  font-weight: 600;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.left-box .title h4 {
  font-weight: 300;
  font-size: 1.3rem;
}
.right-box {
  width: 300px;
  padding: 20px 15px 15px 15px;
  /*background-color: #fff;*/
  text-align: center;
  border-radius: 10px;
  /*box-shadow: 0 14px 28px rgba(0, 0, 0, .1), 0 20px 20px rgba(0, 0, 0, .1);*/
  /*background-color: rgba(255, 255, 255, 0.25);*/
  background-color: rgba(131, 163, 207, 0);
}

.right-box h1 {
  padding-bottom: 20px;
  font-size: 21px;
  color: #f1f1f1;
  font-weight: 500;
  letter-spacing: 5px;
}

.right-box .login-form {
  display: flex;
  flex-direction: column;
}

.right-box .login-form input {
  height: 45px;
  margin-bottom: 20px;
  padding: 0 10px;
  outline: none;
  border: 1px solid #bbb7b7;
  border-radius: 5px;
  font-size: 16px;
  transition: all 1s;
}

.right-box .login-form input:focus {
  border: 1px solid #1c84c6;
  background-color: #f1f1f1;
}

.login-form .captcha {
  display: flex;
  justify-content: space-between;
}

.login-form .captcha input {
  width: 70%;
  margin-right: 10px;
}

.login-form .captcha a {
  height: 44px;
  width: 100px;
}

.login-form .captcha a img {
  width: 100%;
  height: 100%;
  background-size: cover;
}

.right-box .btn-login {
  height: 45px;
  border: none;
  background-color: #e38533;
  transition: all .5s;
  border-radius: 5px;
  line-height: 36px;
  letter-spacing: 2px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.right-box .btn-login:hover {
  background-color: #e38533;
}

.right-box .btn-login[disabled] {
  background-color: #ccc;
  cursor: not-allowed;
}

.input-error {
  border: 1px solid orangered!important;
}


/* 背景方块 */
.bg-squares {
  list-style: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.bg-squares li {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  position: absolute;
  bottom: -10rem;
  /* 执行动画：动画名 时长 线性 无限次播放 */
  animation: square 20s linear infinite;
}

/* 为每一个方块设置不同的位置、大小、动画延迟时间、动画时长、背景色 */
.bg-squares li:nth-child(1) {
  left: 10%;
}

.bg-squares li:nth-child(2) {
  left: 20%;
  width: 5rem;
  height: 5rem;
  /* 动画延迟时间 */
  animation-delay: 2s;
  /* 动画时长 */
  animation-duration: 17s;
}

.bg-squares li:nth-child(3) {
  left: 25%;
  animation-delay: 4s;
}

.bg-squares li:nth-child(4) {
  left: 40%;
  width: 3.75rem;
  height: 3.75rem;
  background-color: rgba(255, 255, 255, 0.25);
  animation-duration: 22s;
}

.bg-squares li:nth-child(5) {
  left: 70%;
}

.bg-squares li:nth-child(6) {
  left: 80%;
  width: 7.5rem;
  height: 7.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  animation-delay: 3s;
}

.bg-squares li:nth-child(7) {
  left: 32%;
  width: 10rem;
  height: 10rem;
  animation-delay: 7s;
}

.bg-squares li:nth-child(8) {
  left: 55%;
  width: 1.25rem;
  height: 1.25rem;
  animation-delay: 15s;
  animation-duration: 40s;
}

.bg-squares li:nth-child(9) {
  left: 25%;
  width: 0.625rem;
  height: 0.625rem;
  background-color: rgba(255, 255, 255, 0.3);
  animation-delay: 2s;
  animation-duration: 40s;
}

.bg-squares li:nth-child(10) {
  left: 90%;
  width: 10rem;
  height: 10rem;
  animation-delay: 11s;
}

/* 定义动画 */
@keyframes square {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-120vh) rotate(600deg);
  }
}


@keyframes run {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }

}
