/* Login style */
@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css);

* { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; -o-box-sizing:border-box; box-sizing:border-box; }

body {
    background-image: url('../images/ee_background.jpg');
    margin: 0;
    width: 100vw;
    height:100vh;
    font-family: 'Spoqa Han Sans Neo', 'sans-serif';
    background-repeat: no-repeat;
    background-position: center;
    border-top: 75px solid rgba(0, 0, 0, 0.4);
    border-bottom: 75px solid rgba(0, 0, 0, 0.4);
    border-left: 120px solid rgba(0, 0, 0, 0.4);
    border-right: 120px solid rgba(0, 0, 0, 0.4);
}

.login { 
    position: fixed;
    top: 75px;
    left: 75px;
    width: 580px;
    height: calc(100vh - 150px);
    background: #fff;
}
.login h1 { 
    color: #3282E0; 
    font-size: 33px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align:center;
    margin-bottom: 40px;
    margin-top: 0;
}

.login p {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
}

input { 
    width: 100%; 
    height: 58px;
    margin-bottom: 25px; 
    border: 1px solid #D2D1D1;
    outline: none;
    padding: 10px;
    font-size: 13px;
    color: #666;
    border-radius: 3px;
    transition: all 0.3s;
}

input::-webkit-input-placeholder { /* Edge */
    color: #888;
}
    
input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #888;
}
    
input::placeholder {
    color: #888;
}

.login button {
    background: #3182E0;
    height: 58px;
    border-radius: 3px;
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 25px;
}

p.copyright {
    color: #888;
    font-size: 14px;
    letter-spacing: -0.8px;
    font-weight: 400;
}

.login .form-wrapper {
    width: 50%;
    height: 50%;
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate( -50%, -50% );
}

.login .logo {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX( -50% );
}

input:focus { 
    border: 1px solid #3282E0;
    color: #3282E0;
 }

.login-error {
    height: 50px;
    background-color: rgba(250, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
    width: 90%;
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

.login-error.show {
    display: flex;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        margin-top: -30px;
    }
    100% {
        opacity: 1;
        margin-top: 0;
    }
}