﻿html, body {
    height: 100%;
}

body {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: Cambria;
    height: 100%;
}

.login-page-one {
    background-size: cover;
}

.signin-page {
    width: 600px;
    margin: 10% auto 0 auto;
    box-shadow: 0px 6px 16px -7px #000;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -150px;
    margin-left: -300px;
    border: 1px solid #2196f3;
    background-color: #f5f5f5;
    position: relative;
    height: 300px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

    .signin-page .webname {
        width: 100%;
        height: 60px;
        border-bottom: 1px solid #2196f3;
        line-height: 60px;
        text-align: center;
        font-size: 1.8em;
        font-weight: 700;
        text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
    }

    .signin-page .content {
        width: 100%;
        height: 240px;
        position: relative;
    }

        .signin-page .content #form {
            margin-left: 230px;
            padding: 15px;
        }

            .signin-page .content #form .text_login {
                font-size: 12px;
                text-align: center;
                font-style: italic;
                color: red;
            }

            .signin-page .content #form .lable {
                width: 100%;
                font-family: Cambria;
                font-style: italic;
                color: #000;
            }

            .signin-page .content #form .btn-style {
                width: 100%;
            }

.bb {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    pointer-events: none;
    width: 200px;
    height: 200px;
    margin: auto;
    background: url(/img/logo.jpg) no-repeat 100%/100% transparent;
    color: #4caf50;
    z-index: 9999;
    box-shadow: inset 0 0 0 1px rgba(76, 175, 80, 0.5);
}

    .bb::before, .bb::after {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        content: '';
        z-index: -1;
        margin: -5%;
        box-shadow: inset 0 0 0 2px;
        animation: clipMe 8s linear infinite;
    }

    .bb::before {
        animation-delay: -4s;
    }

    .bb:hover::after, .bb:hover::before {
        background-color: rgba(255, 0, 0, 0.3);
    }

@keyframes clipMe {
    0%, 100% {
        clip: rect(0px, 220px, 2px, 0px);
    }

    25% {
        clip: rect(0px, 2px, 220px, 0px);
    }

    50% {
        clip: rect(218px, 220px, 220px, 0px);
    }

    75% {
        clip: rect(0px, 220px, 220px, 218px);
    }
}

.webname {
    animation: tracking-in-contract 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) both, color-change 5s infinite;
}

@-webkit-keyframes color-change {
    0% {
        color: #f44336;
    }

    10% {
        color: #e91e63;
    }

    20% {
        color: #9c27b0;
    }

    30% {
        color: #673ab7;
    }

    40% {
        color: #3f51b5;
    }

    50% {
        color: #2196f3;
    }

    60% {
        color: #03a9f4;
    }

    70% {
        color: #00bcd4;
    }

    80% {
        color: #4caf50;
    }

    90% {
        color: #8bc34a;
    }

    100% {
        color: #ff9800;
    }
}

footer {
    bottom: 0px;
    position: absolute;
    left: 0px;
}

@keyframes tracking-in-contract {
    0% {
        letter-spacing: 1em;
        opacity: 0;
    }

    40% {
        opacity: .6;
    }

    100% {
        letter-spacing: normal;
        opacity: 1;
    }
}
