body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-box {
    background: #f8f9fa;
    display: flex;
    width: 1000px;
    border-radius: 6px;
}

.login-box .left {
    width: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box .left img {
    display: block;
    width: 500px;
}

.login-box .right {
    padding: 20px;
    flex: 1;
}

.login-box .right .form-box {
    background: #fff;
    height: 100%;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0px 0px 20px #999;
}

.login-box .right .form-box .title {
    color: #39b54a;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.login-box .right .form-box .title h3 {
    font-size: 30px;
}

.login-box .right .form-box .title p {
    font-size: 18px;
}

.login-box .right .form-box .input-box .user {
    background: url(../images/user.png) no-repeat right 10px center;
}

.login-box .right .form-box .input-box .pwd {
    background: url(../images/locked.png) no-repeat right 10px center;
}

.login-box .right .form-box .input-box .code {
    background: url(../images/code.png) no-repeat right 10px center;
}

.login-box .right .form-box .input-box input.error {
    border: 1px solid red;
}

.login-box .right .form-box .img-box {
    cursor: pointer;
}

.login-box .right .form-box .img-box img {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.k-login-box {
    background: #fff;
    border: 1px solid #ccc;
    width: 350px;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.k-login-box::after {
    width: 100%;
    height: 100%;
    content: '';
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform: rotate(10deg);
    position: absolute;
    background: #e54d42;
    z-index: -1;
    border-radius: 10px;
    animation: a_rotate 0.5s;

}

.k-login-box::before {
    width: 100%;
    height: 100%;
    content: '';
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform: rotate(20deg);
    position: absolute;
    background: #39b54a;
    z-index: -1;
    border-radius: 10px;
    animation: b_rotate 0.5s;
}

.k-login-box .title {
    margin-bottom: 20px;
}

.k-login-box .title h3 {
    color: #39b54a;
}

.k-login-box .title p {
    color: #39b54a;
    font-weight: bold;
}

@keyframes a_rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(10deg);
    }
}

@keyframes b_rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(20deg);
    }
}

