/* CSS Document */
html {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-size: 12px;
    font-family: "微软雅黑", Tahoma, Geneva, sans-serif;
    background: linear-gradient(rgb(0, 88, 140), rgba(0, 122, 195, .7));
}

.login-wrap {
    margin: auto;
    width: 350px;
    height: 420px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
    background: #FFF;
}

.login-title {
    font-size: 24px;
    color: #fff;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: #3fabff;
}

.input-wrap {
    margin: 25px 30px;
    position: relative;
}

.input-wrap input.form-inp {
    padding-left: 40px;
    width: 240px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
}

.input-wrap input.form-inp + i {
    position: absolute;
    left: 10px;
    top: 12px;
    font-size: 18px;
    color: #999;
}

.input-wrap input.form-btn {
    background: #3fabff;
    width: 290px;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
}

#codeImg {
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 3px;
    cursor: pointer;
}

#stars {
    margin: 0 auto;
    max-width: 1600px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.star {
    display: block;
    width: 1px;
    background: transparent;
    position: relative;
    opacity: 0;
    /*过渡动画*/

    animation: star-fall 3s linear infinite;
    -webkit-animation: star-fall 3s linear infinite;
    -moz-animation: star-fall 3s linear infinite;
}

.star:after {
    content: '';
    display: block;
    border: 0px solid #fff;
    border-width: 0px 90px 2px 90px;
    border-color: transparent transparent transparent rgba(255, 255, 255, .5);
    box-shadow: 0 0 1px 0 rgba(255, 255, 255, .1);
    /*变形*/

    transform: rotate(-45deg) translate3d(1px, 3px, 0);
    -webkit-transform: rotate(-45deg) translate3d(1px, 3px, 0);
    -moz-transform: rotate(-45deg) translate3d(1px, 3px, 0);
    transform-origin: 0% 100%;
    -webkit-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
}

@keyframes star-fall {
    0% {
        opacity: 0;
        transform: scale(0.5) translate3d(0, 0, 0);
        -webkit-transform: scale(0.5) translate3d(0, 0, 0);
        -moz-transform: scale(0.5) translate3d(0, 0, 0);
    }
    50% {
        opacity: 1;
        transform: translate3d(-200px, 200px, 0);
        -webkit-transform: translate3d(-200px, 200px, 0);
        -moz-transform: translate3d(-200px, 200px, 0);
    }
    100% {
        opacity: 0;
        transform: scale(1.2) translate3d(-300px, 300px, 0);
        -webkit-transform: scale(1.2) translate3d(-300px, 300px, 0);
        -moz-transform: scale(1.2) translate3d(-300px, 300px, 0);
    }
}