* {
    padding: 0;
    margin: 0;
    border: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    font-family: PingFang SC, Helvetica Neue, Helvetica, Hiragino Sans GB, Microsoft YaHei, Arial, SimSun, sans-serif;
}

a {
    text-decoration: none;
    display: block;
}

p,
h1,
h2 {
    cursor: default;
}

li {
    list-style: none;
}

input {
    border: none;
    outline: none;
}

input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #ffffff inset;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
}

::-webkit-input-placeholder {
    color: #d6d4d4;
}

:-moz-placeholder {
    color: #d6d4d4;
}

::-moz-placeholder {
    color: #d6d4d4;
}

:-ms-input-placeholder {
    color: #d6d4d4;
}

button {
    outline: none;
    border: none;
    background-color: transparent;
}

button:focus {
    background-color: transparent;
}

/* 通用 */
.hide {
    display: none;
}

.default {
    cursor: default;
}

.buttom {
    position: absolute;
    bottom: 0;
}

nav {
    position: relative;
    height: 77px;
    width: 100%;
    background-color: #131515;
    padding-top: 18.5px;
    z-index: 999;
}

nav>a:first-child {
    position: relative;
    margin-left: 40px;
    height: 40px;
    width: 250px;
}

nav>a:first-child p {
    position: absolute;
    top: 22px;
    left: 47px;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 5.5px;
}

.icon-sousuo {
    position: absolute;
    top: 16px;
    right: 40px;
    font-size: 40px;
    color: #ffffff;
}


/* 内容 */
article {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 1;
    /* padding-top: 200px; */
}

.box {
    position: relative;
    top: 50%;
    margin-left: 60%;
    margin-top: -20%;
    width: 400px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.box>h1 {
    position: relative;
    height: 30px;
    width: 90px;
    font-size: 22px;
    text-align: center;
    line-height: 27px;
    color: transparent;
    background: linear-gradient(90deg, #f0e0b9, #f5cf85);
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -o-background-clip: text;
    margin: auto;
}

.box>h1::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #f0e0b9, #f5cf85);
}

/* 登陆 */
input {
    position: relative;
    height: 40px;
    width: 100%;
    border-radius: 4px;
    border: 1.5px solid gainsboro;
}

#login-user:focus,
#login-password:focus,
#login-check:focus {
    border: 1.5px solid #f5cf85;
}

#login-user:focus+.icon-yonghu,
#login-password:focus+.icon-suo,
#login-check:focus+.icon-anquan {
    border-right: 1.5px solid #f5cf85;
}

form {
    position: relative;
}

form>input,
.check>input {
    position: relative;
    padding-left: 45px;
    margin-top: 20px;
    color: #606266;
}

.login>input,
.create>input {
    height: 50px;
    border: none;
    font-size: 18px;
    color: #6a3906;
    background: linear-gradient(90deg, #f0e0b9, #f5cf85);
    cursor: pointer;
}

.login>p,
.create>p {
    height: 20px;
    width: 100%;
    line-height: 20px;
    font-size: 12px;
    font-weight: 300;
    margin-top: 10px;
    text-align: right;
    color: #a4a2a2;
}

.login>p span,
.create>p span,
footer a,
footer p {
    color: transparent;
    background: linear-gradient(90deg, #f0e0b9, #f5cf85);
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -o-background-clip: text;
    cursor: pointer;
}

.placeholder {
    height: 40px;
    margin-top: 20px;
}

/* 验证码 */
.check-box {
    position: relative;
    height: 90px;
    width: 400px;
    margin-left: -40px;
}

.check {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 40px;
}

#verCodeBtn {
    padding-left: 0;
    width: 110px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.check>input {
    width: 60%;
}

.check>canvas {
    height: 40px;
    width: 110px;
    margin-top: 20px;
    right: 0;
    cursor: pointer;
}

.check>p {
    margin-top: 60px;
}

.protocol {
    display: flex;
    height: 20px;
    margin-top: 10px;
    padding: 0 40px;
    margin-top: 10px;
}

.protocol>input {
    height: 12.5px;
    width: 12.5px;
    float: left;
}

.protocol p {
    font-size: 12px;
    color: #ffffff;
    line-height: 14px;
    padding-left: 8px;
    float: left;
}

.protocol>a {
    color: rgb(52, 52, 224);
    display: block;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    float: left;
}

#create {
    margin-top: 10px;
}

/* 图标 */
.icon-anquan,
.icon-suo,
.icon-yonghu,
.icon-shouji,
.icon-yiyuan,
.icon-duanxin {
    position: absolute;
    top: 20px;
    left: 0px;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    color: gray;
    font-size: 22px;
    z-index: 999;
    border-right: 1.5px solid gainsboro;
}

.icon-suo {
    top: 80px;
}

.icon-suos {
    top: 140px;
}

.icon-duanxin {
    top: 80px;
}

.icon-yiyuan {
    top: 80px;
}

.icon-shouji {
    top: 140px;
}

.icon-anquan {
    left: 40px;
}

.error {
    position: absolute;
    color: red;
    font-size: 12px;
    display: none;
}

/* 底部 */
footer {
    position: absolute;
    bottom: 0;
    height: 35px;
    width: 100%;
    background-color: #131515;
    display: flex;
    justify-content: center;
}

footer p,
footer a {
    font-size: 12px;
    line-height: 35px;
    margin: 0 10px;
}

footer p {
    cursor: default;
}

/* 弹窗 */
.alert {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 150px;
    width: 20%;
    max-width: 300px;
    margin: -90px 0 0 -150px;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 997;
    display: none;
}

.alert p {
    height: 100px;
    width: 100%;
    text-align: center;
    line-height: 100px;
    font-size: 20px;
    color: #c5c2c2;
}

.alert button {
    position: absolute;
    left: 50%;
    height: 30px;
    width: 60px;
    background: linear-gradient(90deg, #f0e0b9, #f5cf85);
    text-align: center;
    line-height: 30px;
    color: #6a3906;
    margin-left: -30px;
    border-radius: 5px;
    cursor: pointer;
}
