/* reset */
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* start editing from here */
a {
  text-decoration: none;
}

.txt-rt {
  text-align: right;
}

/* text align right */
.txt-lt {
  text-align: left;
}

/* text align left */
.txt-center {
  text-align: center;
}

/* text align center */
.float-rt {
  float: right;
}

/* float right */
.float-lt {
  float: left;
}

/* float left */
.clear {
  clear: both;
}

/* clear float */
.pos-relative {
  position: relative;
}

/* Position Relative */
.pos-absolute {
  position: absolute;
}

/* Position Absolute */
.vertical-base {
  vertical-align: baseline;
}

/* vertical align baseline */
.vertical-top {
  vertical-align: top;
}

/* vertical align top */
nav.vertical ul li {
  display: block;
}

/* vertical menu */
nav.horizontal ul li {
  display: inline-block;
}

/* horizontal menu */
img {
  max-width: 100%;
}

/*end reset*/
/****-----start-body----****/
body {
  font-family: Verdana;
  width: 100vw;
  height: 100vh;
  background: url(../images/bg.jpg)0px 0px no-repeat;
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 375px;
  min-height: 666px;
}

body a {
  transition: 0.1s all;
  -webkit-transition: 0.1s all;
  -moz-transition: 0.1s all;
  -o-transition: 0.1s all;
}

.app-block {
  width: 40%;
  margin: 0 auto;
  text-align: center;
  /* height: 80%; */
  margin-bottom: 20vh;
  background: rgba(250, 190, 0, .1);
  border-radius: 20px;
  padding: 2rem 3rem;
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-form {
  width: 88%;
  height: 30em;
  /* border-bottom: 1px solid #999; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.form-box {
  margin-bottom: 1em;
}

.qrcode-box {
  min-width: 340px;
  width: 93%;
  padding: 50px 70px 28px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-sizing: border-box;
  border: 1px dotted #eacb20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: none;
}

.qrcode-box a {
  margin-top: 22px;
  color: #fff;
}

.qrcode-box a:hover {
  color: #eacb20;
}

.form-btn {
  display: none;
}

/*-----*/
.cube img {
  width: 85%;
}

.app-block input[type="text"],
.app-block input[type="number"],
.app-block input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  padding: 1.5em 1.2em 1.5em 5em;
  color: #fff;
  font-size: 16px;
  outline: none;
  font-weight: 500;
  border: none;
  background: url("../images/email.png") no-repeat #1e1e1d;
  background-position: 1.5em center;
  margin: 1em 0;
}

.app-block input[type="password"] {
  background: url("../images/password.png") no-repeat #1e1e1d;
  background-position: 1.5em center;

}

.app-block input[type="number"] {
  background: url("../images/dynamic.png") no-repeat #1e1e1d;
  background-position: 1.5em center;
}

.submit {
  width: 96%;
  margin: 1em 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-block p.sign {
  padding-top: 3em;
}

.app-block input[type="submit"] {
  font-size: 20px;
  font-weight: 300;
  color: #000;
  cursor: pointer;
  outline: none;
  padding: 15px 20px;
  width: 46%;
  border: none;
  moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  background: #eacb20;
  border-radius: 2em;
  -webkit-border-radius: 2em;
  -o-border-radius: 2em;
  -moz-border-radius: 2em;
  border: 3px solid #EACB20
}

.qrcode-btn,
.form-btn {
  margin-right: 8%;
  background-color: transparent !important;
  border: 3px dotted #EACB20 !important;
  color: #eacb20 !important;
}

.qrcode-btn:hover,
.form-btn:hover {
  background: #eacb20 !important;
  color: #000 !important;
}


input[type="submit"]:hover {
  color: #EACB20;
  background: none;
  border: 3px dotted #EACB20;
}

.app-block p a,
.app-block p.sign {
  color: #AFAFB0;
  font-weight: 400;
  font-size: 1em;
}

.app-block p {
  padding-top: 1em;
}

.app-block p a:hover,
.app-block p.sign a:hover {
  text-decoration: underline;
  color: #EACB20;
}





/*宽屏设备*/
@media only screen and (min-aspect-ratio: 5/10) {
  .app-block {
    transform: scale(0.95);
    margin-bottom: 20vh;
  }
}

/*宽屏设备*/
@media only screen and (min-aspect-ratio: 6/10) {
  .app-block {
    transform: scale(0.9);
    margin-bottom: 15vh;
  }
}

/*宽屏设备*/
@media only screen and (min-aspect-ratio: 7/10) {
  .app-block {
    transform: scale(0.88);
    margin-bottom: 13vh;
  }
}

/*宽屏设备*/
@media only screen and (min-aspect-ratio: 8/10) {
  .app-block {
    transform: scale(0.85);
    margin-bottom: 10vh;
  }
}

/*宽屏设备*/
@media only screen and (min-aspect-ratio: 9/10) {
  .app-block {
    transform: scale(0.82);
    margin-bottom: 7vh;
  }
}

/*宽屏设备*/
@media only screen and (min-aspect-ratio: 10/10) {
  .app-block {
    transform: scale(0.80);
    margin-bottom: 5vh;
  }
}

/*-----start-responsive-design------*/
@media (max-width:1920px) {
  .app-block {
    width: 24%;
  }

}

/*-----start-responsive-design------*/
@media (max-width:1600px) {
  .app-block {
    width: 36%;
  }

}

/*-----start-responsive-design------*/
@media (max-width:1440px) {
  .app-block {
    width: 38%;
  }

}

@media (max-width:1366px) {
  .app-block {
    width: 42%;
  }

}

@media (max-width:1280px) {
  .app-block {
    width: 46%;
  }


}

@media (max-width:1024px) {
  .app-block {
    width: 55%;
  }

}

@media (max-width:768px) {
  .cam img {
    margin: 2em 0;
  }

  .app-block {
    width: 66%;
    padding: 1em;
  }

  .copy-right {
    padding: 1em 1em;
  }


}

@media (max-width:640px) {

  .app-block {
    width: 78%;
    background: none;
    border-radius: none;
    padding: 0;
    backdrop-filter: unset;
  }
}

@media (max-width:480px) {
  .copy-right p {
    font-size: 0.9em;
  }

  .new h3 a,
  .new h4 a {
    font-size: 0.9em;
  }

  .login-form {
    width: 94%;
    margin: 0 auto;
  }

  .app-block input[type="submit"] {
    font-size: 18px;
    padding: 14px 15px;
  }

  .app-block {
    width: 88%;
    padding: 1em;
  }

  .app-block input[type="text"],
  .app-block input[type="number"],
  .app-block input[type="password"] {
    background-size: 7%;
    padding: 1.1em 1em 1.1em 4em;
    margin-top: 1px;
    font-size: 14px;
  }

  .app-block input[type="password"] {
    background-size: 7%;
  }

  .app-block input[type="number"] {
    background-size: 7%;
  }

  .buttons {
    margin: 0em 0 1em 0;
    padding: 3em 0em 1em 0em;
  }

  .block h2 {
    padding: 0.8em 0;
    font-size: 1.4em;
  }

  .app-block p a,
  .app-block p.sign a {
    font-size: 0.9em;
  }

  .app-block p {
    padding-top: 0em;
  }

  .app-block p.sign {
    padding: 2em 0 2em 0;
  }
}

@media (max-width:320px) {
  .app-block {
    width: 98%;
    padding: 0em 0em 1em 0em;
  }

  .app-block p a,
  .app-block p.sign {
    font-size: 0.9em;
  }

  body h1 {
    font-size: 1.7em;
  }

  .copy-right p {
    font-size: 0.8em;
    line-height: 1.7em;
  }

  .app-block p.sign {
    padding: 1em 0 1em 0;
  }

  .submit {
    margin: 0.5em 0;
  }

  .app-block input[type="submit"] {
    font-size: 18px;
    padding: 10px 10px;
  }

  .app-block p {
    padding-top: 0.5em;
  }

  .app-block input[type="text"],
  .app-block input[type="number"],
  .app-block input[type="password"] {
    background-size: 8%;
    padding: 1em 1em 1em 4em;
    margin-top: 1px;
    font-size: 13px;
  }

  .app-block input[type="password"] {
    background-size: 8%;
  }

  .app-block input[type="number"] {
    background-size: 8%;
  }

  .login-form {
    width: 92%;
    margin: 0 auto;
  }

  .cube img {
    width: 200px;
  }
}