* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none; /*a标签下划线*/
}

a {
  color: black; /* 默认颜色 */
  text-decoration: none; /* 移除下划线 */
}

a:visited {
  color: black; /* 访问后的颜色 */
}

a:active {
  color: black; /* 点击时的颜色 */
}

html,
body {
  height: 100vh;
  overflow: hidden;
}

html {
  font-size: 100px;
}

.container {
  width: 100%;
  height: 100%;
  background: url(./img/login_bg.png) no-repeat center center;
  background-size: cover;
  position: relative;
  font-size: 0.18rem;
}

.loginBox {
    position: absolute;
    left: 50%;
    top: 45%;
    translate: -50% -50%;
    padding-top: 0.2rem;
    padding-bottom: 0.3rem;
    width: 5rem;
    height: auto;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0.3rem;
    text-align: center;
}

.title {
  font-size: 0.4rem;
  color: #0f3e91;
  font-weight: bold;
  letter-spacing: 0.05rem;
  text-align: center;
}

.userBox {
  width: 3.6rem;
  height: 0.6rem;
  background-color: white;
  margin: 0.25rem auto 0;
  border-radius: 0.1rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.iconBox {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 0.01rem solid black;
}

.icon_user {
  width: 0.22rem;
  height: 0.27rem;
}

.userBox > input {
  width: 80%;
  height: 0.6rem;
  border: 0;
  padding-left: 0.1rem;
  outline: none;
  font-size: 0.18rem;
}

.passwordBox {
  width: 3.6rem;
  height: 0.6rem;
  background-color: white;
  margin: 0.25rem auto 0;
  border-radius: 0.1rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.passwordBox > input {
  width: 80%;
  height: 0.6rem;
  border: 0;
  padding-left: 0.1rem;
  outline: none;
  font-size: 0.18rem;
}

.verificationBox {
  width: 3.6rem;
  height: 0.6rem;
  background-color: white;
  margin: 0.25rem auto 0;
  border-radius: 0.1rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.verificationBox > input {
  width: 40%;
  height: 0.6rem;
  border: 0;
  padding-left: 0.1rem;
  outline: none;
  font-size: 0.18rem;
}

.pink {
    width: 40%;
    height: 0.6rem;
    background-color: pink;
    background-color: #0f3f94;
    color: white;
    line-height: .56rem;
    cursor: pointer;
}

.instruction {
  font-size: 0.16rem;
  margin-top: 0.2rem;
  text-align: left;
  margin-left: 20%;
  color: red;
}

.loginBtn {
  width: 3.6rem;
  height: 0.6rem;
  margin-top: 0.25rem;
  background-color: #0f3f94;
  color: white;
  font-size: 0.24rem;
  border: 0;
  border-radius: 0.3rem;
}

@media (max-width: 1024px) {
  .loginBox {
    width: 15rem;
    height: 15rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .userBox {
    width: 14rem;
    height: 2rem;
    margin: 0.5rem auto 0;
    border-radius: 0.5rem;
  }

  .icon_user {
    width: 1rem;
    height: 1.1rem;
  }

  .userBox > input {
    height: 2rem;
    padding-left: 0.5rem;
    font-size: 0.9rem;
  }

  .passwordBox {
    width: 14rem;
    height: 2rem;
    margin: 0.5rem auto 0;
    border-radius: 0.5rem;
  }

  .passwordBox > input {
    height: 2rem;
    padding-left: 0.5rem;
    font-size: 0.9rem;
  }

  .verificationBox {
    width: 14rem;
    height: 2rem;
    margin: 0.5rem auto 0;
    border-radius: 0.5rem;
  }

  .verificationBox > input {
    height: 2rem;
    padding-left: 0.5rem;
    font-size: 0.9rem;
  }

  .pink {
    height: 2rem;
  }

  .instruction {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: left;
    margin-left: 10%;
    color: red;
  }

  .loginBtn {
    width: 14rem;
    height: 2rem;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    border-radius: 1.5rem;
  }
}
