@font-face {
    font-family: 'iconfont';
    src: url('css/font/fontello.woff2') format('woff2');
}

body {
    font-size: 16px;
    color: #fff;
}

.icon {
    position: relative;
    display: inline-block;
    font-family: 'iconfont';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    margin-right: .3rem;
    width: 1em;
}

#container {
    background-color: #74c5ff;
    background-image: radial-gradient(#cfebff, #74c5ff, #0088e8);
    background-position: center center;
    bottom: 0;
    color: #555;
    left: 0;
    perspective: 600px;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
}

/* 定义动画关键帧 */
@keyframes zoomIn {
    from {
        transform: translate3d(-120vw, -120vh, -600px) scale(0.3) rotateZ(-45deg);
        opacity: 0;
        filter: blur(20px);
      }
      to {
        transform: translate3d(0, 0, 0) scale(1) rotateZ(0);
        opacity: 1;
        filter: blur(0);
      }
}

/* 应用动画到登录框 */
.login-box {
    animation: zoomIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    transform-style: preserve-3d; /* 保持3D变换 */
    position: relative; /* 保证层级 */
    /* 确保缩放从中心开始 */
    max-width: 500px;
}

.input {
    background-color: #50b6f5;
    border: 1px solid #0087bc;
    border-radius: 5px;
    box-shadow: 0 2px 6px #127db5 inset;
    color: #fff;
    font-size: 16px;
    height: 1.2em;
    line-height: 1.2em;
    margin-bottom: 1em;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    width: 300px;
}

.input>label {
    font-size: 14px;
    font-weight: normal;
    margin-left: 0.5em;
    margin-right: 0.2em;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #50b6f5 inset !important;
    -webkit-text-fill-color: #fff;
}

.input input {
    background-color: transparent;
    border: 0;
    color: #fff;
    font-size: 16px;
    margin: 0;
    outline: 0 none;
    padding: 0;
    /* width: calc(100% - 40px); */
    position: absolute;
    left: 30px;
    right: 20px;
    top: 10px;
}

.input input::placeholder {
    color: #eee;
    font-size: .9em;
}

#btnLogin {
    box-shadow: 0 0 6px #f00;
    background-color: #f00;
    text-align: center;
    height: 40px;
    cursor: pointer;
    border-radius: 30px;
    border: 2px solid #fff;
}
#btnLogin:hover{
    background-color: #d00;
}
#imgVCode {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    height: 40px;
    width: 90px;
    background-color: #fff;

}

h2 {
    text-align: center;
    color: #fff;
    font-size: 26px;
    text-shadow: 0 0 5px #006cb8;
}