@import url("/style/index.css");

.login-page {
    width: 100%;
    height: 100%;
    background: url(/pages/login/img/background.jpg) no-repeat center center;
    background-size: cover;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.logo-area {
  position: absolute;
  left: 4.53%;
  top: 6.48%;
  width: 419px;
  height: 63px;
}

.logo-img {
  width: 100%;
  height: auto;
}

.welcome-area {
  position: absolute;
  left: 108px;
  top: 16.11%;
  width: 770px;
  height: 770px;
}

.welcome-img {
  width: 100%;
  height: auto;
}

.login-box {
  position: absolute;
  right: 326px;
  top: 25%;
  padding: 45px;
  width: 500px;
  height: 530px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 0px 110px 0px #1478e866;
  border-radius: 19px;
}

.login-title {
    font-family: Source Han Sans SC;
    font-weight: bold;
    font-size: 38px;
    color: #02C4D6;
    text-align: center;
}

.input-group {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  background: #88A8A933;
  padding: 23px 27px;
  margin-top: 20px;
  height: 65px;
  border-radius: 15px;
}

.input-icon {
  width: 26px;
  height: 29px;
  margin-right: 19px;
}

.input-field {
  height: 40px;
  width: 100%;
  border: none;
  outline: none;
  font-size: 20px;
  background: transparent !important;
}

.input-field::placeholder {
  color: #8298AF;
}

.login-btn {
    width: 100%;
    margin-top: 40px;
    color: #fff;
    border: none;
    font-size: 26px;
    letter-spacing: 12px;
    text-indent: 12px;
    cursor: pointer;
    height: 75px;
    background: #02C4D6;
    box-shadow: 1px 2px 20px 0px rgba(119, 164, 255, 0.3);
    border-radius: 20px;
}

    .login-btn:hover {
        background: #1EAFCB;
    }

.download-area {
  position: absolute;
  bottom: 7.12%;
  left: 50%;
  transform: translateX(-50%);
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  width: 700px;
  height: 73px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0px 0px 50px 0px rgba(20, 120, 232, 0.4);
  border-radius: 10px;
  align-items: center;
  justify-content: space-evenly;
}

.download-item {
    height: 28%;
    width: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Source Han Sans SC;
    font-weight: 400;
    font-size: 18px;
    color: #02C4D6;
    line-height: 22px;
}

.download-item {
  position: relative;
}

.download-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 379px;
    margin-bottom: 10px;
    text-align: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: url("./img/download-popup.png") no-repeat center center;
    cursor: auto;
}

.download-item:hover .download-popup {
  opacity: 1;
  visibility: visible;
}

.download-qrcode {
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  height: 210px;
  background: #ffffff88;
  border-radius: 5px;
  overflow: hidden;
}

.download-popup-text {
    position: absolute;
    bottom: 89px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: #02C4D6;
    white-space: nowrap;
    text-align: center;
}

.download-item:hover {
  color: #111111;
}

.copyright {
  position: absolute;
  bottom: 2%;
  left: 40%;
  transform: translateX(-50%);
  text-align: center;
  width: 814px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 20px;
  color: #231815;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.copyright>div {
  white-space: nowrap;
}

/* 1920*1080，125%缩放 */
@media screen and (width: 1536px) {
  .logo-area {
    transform: scale(0.83);
    transform-origin: left top;
  }

  .welcome-area {
    transform: scale(0.83);
    transform-origin: left top;
    left: 100px;
  }

  .login-box {
    transform: scale(0.83);
    transform-origin: right top;
    right: 200px;
  }

  .download-area {
    transform: scale(0.83) translateX(-50%);
    transform-origin: left bottom;
  }

  .copyright {
    transform: scale(0.83) translateX(-50%);
    transform-origin: left bottom;
  }
}

/* 1920*1080，150%缩放 */
@media screen and (width: 1280px) {
  .logo-area {
    transform: scale(0.67);
    transform-origin: left top;
  }

  .welcome-area {
    transform: scale(0.67);
    transform-origin: left top;
    left: 100px;
  }

  .login-box {
    transform: scale(0.67);
    transform-origin: right top;
    right: 160px;
  }

  .download-area {
    transform: scale(0.67) translateX(-50%);
    transform-origin: left bottom;
  }

  .copyright {
    transform: scale(0.67) translateX(-50%);
    transform-origin: left bottom;
  }
}

/* 1600*900，100%缩放 */
@media screen and (width: 1600px) {
  .logo-area {
    transform: scale(0.8);
    transform-origin: left top;
  }

  .welcome-area {
    transform: scale(0.8);
    transform-origin: left top;
    left: 120px;
  }

  .login-box {
    transform: scale(0.8);
    transform-origin: right top;
    right: 200px;
  }

  .download-area {
    transform: scale(0.8) translateX(-50%);
    transform-origin: left bottom;
  }

  .copyright {
    transform: scale(0.8) translateX(-50%);
    transform-origin: left bottom;
  }
}

@media (max-width: 1920px) and (max-height: 1000px) {
  .welcome-area {
    top: 11.11%;
  }

  .login-box {
    top: 20%;
  }
}