* {
  margin: 0;
  padding: 0;
}

.content {
  width: 100vw;
  height: 100vh;
  background: url(./bg.jpg) no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-content {
  position: relative;
  width: 800px;
  height: 360px;
  background-color: #813c85;
  border-radius: 30px;
  padding: 30px;
}

.banner-box {
  display: inline-block;
  width: 500px;
  height: 100%;
  background: url(./bg.jpg) no-repeat;
  background-size: cover;
  border-radius: 20px 0 0 20px;
}

.login-box {
  width: 330px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 30px 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-box > h1 {
  font-size: 36px;
  margin: 60px 0;
  color: #fff;
}

.login-box > input {
  margin-bottom: 20px;
  width: 200px;
  height: 36px;
  padding: 0 20px;
  border-radius: 36px;
  border: none;
  outline: none;
  font-size: 18px;
}

.login-btn {
  margin-top: 20px;
  width: 200px;
  height: 40px;
  background-color: #f07c82;
  border: none;
  border-radius: 40px;
  color: #fff;
  font-size: 18px;
}

@media screen and (max-width: 900px) {
  .login-content {
    margin: 0 30px;
  }

  .banner-box {
    border-radius: 20px;
  }

  .login-box {
    background-color: rgba(52, 0, 73, 0.5);
  }
}

@media screen and (max-width: 600px) {
  .content {
    background: url(./android.jpg) no-repeat center;
    background-size: cover; /* 或者 background-size: contain; */
  }
}


  .login-content {
    background-color: transparent;
  }

  .banner-box {
    display: none;
  }

  .login-box {
    position: initial;
    margin: -40px auto;
    background-color: transparent;
  }
}
