:root{
    --blue1: #023963;
}
* {
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

html {
    font-family: BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #3498DB url(/res/bg.jpg) 0px 0px ;
    background-size: cover;
    padding: 30px;
}


.login {
    margin: auto auto;
    width: 500px;

}

.login-screen {
    background-color: #FFF;
    padding: 30px 80px;
    border-radius: 11px;
    box-shadow: rgba(0,0,0,.05) 0 1px 3px;
}

.app-title {
    font-family: "Bellefair", serif;
    font-weight: normal;
    color: var(--blue1);
    text-align: center;

}

.app-title img{
    height: 180px;
}
.app-title h1{
    font-weight: normal;
    margin-top: 0px;
    font-size: 1.7em;
}

.login-form {
    /* padding: 1em 3em; */
}

.control-group {
    text-align: left;
    margin-bottom: 10px;
}

.control-group label{
    display: block;
    padding: 10px 0px 4px 0px;
    text-align: left;
    font-size: 11pt;
    color: #346;
}

input, .input {
    color: #222;
    background-color: #fafafa;
    border: 1px solid #aac;
    border-radius: 3px;
    font-size: 16px;
    padding: 5px 7px;
    width: 100%;
    box-shadow: inset 0 1px 3px #ddd;
    transition: all .5s;
}

input:focus, .input:focus {
    border: 1px solid #3498DB;
    background-color: #fff;
    box-shadow: none;
}

.btn {
    border: 2px solid transparent;
    background: #1DB670;
    color: #ffffff;
    font-size: 16px;
    line-height: 25px;
    padding: 5px 0;
    border-radius: 3px;
    transition: 0.35s;
    display: block;
    width: 100%;
    margin: 1.5em auto 1em auto;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    background-color: #71b658;

}

.login-link {
    font-size: 12px;
    color: #444;
    display: block;
    margin: 1em auto;
}

.mesg, .login-link{
    text-align: center;
}

@media (max-width: 50em) {
    html{
        padding: 5vh 5vw;
    }
    body {
        background-size: auto;
    }
    .login{
        width: 100%;
    }
    .login-screen{
        padding: 1em;
        min-height: 90vh;
    }
    .app-title img{
        width: 80%;
        height: auto;
    }
    .app-title h1{
        font-size: 1.4em;
    }
}