@font-face{
    font-family:'avenir-next';
    font-weight:400;
    src:url(/res/fnt/avenir-next-regular.woff2) format('woff2')
}

@font-face{
    font-family:'avenir-next';
    font-weight:600;
    src:url(/res/fnt/avenir-next-demibold.woff2) format('woff2')
}

html{
    font-family: avenir-next;
    font-size: 16px;
}

@media (min-width:2000px){
    html{
        font-size:20px;
    }
}

a{
    color: #3771c8;
    text-decoration: none;
}
a:hover{
    color: #111;
}

body{
    overflow-x: hidden;
    margin: 0;
    background-color: #f7fafc;
    min-height: 100vh;
}

main{
    padding: 0 1rem;
    margin: 0 auto;
    max-width: 24rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header{
    margin: 0;
    padding: 3rem 0;
    display: flex;
    align-items: center;
}

.main_logo{
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    font-variant: small-caps;
    background-image: url(/res/img/logo.svg);
    background-repeat: no-repeat;
    background-position: 1rem center;
    padding-left: 4rem;
}

.login{
    box-sizing: border-box;
    padding: 2rem 2rem 3rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

h1{
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.label_bar{
    display: flex;
    margin: 0.25rem 0 0.5rem 0;
    font-size: 0.75rem;
}

input[type=email], input[type=password]{
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
}

input[type=submit]{
    background-color: #3771c8;
    color: white;
    border: none;
    border-radius: 0.2rem;
    padding: 0.75rem;
    font-family: avenir-next;
    font-size: 0.8rem;
    cursor: pointer;
}

.error_message{
    font-size: 0.8rem;
    color: #c43211;
    padding: 1rem 0 0 0;
}

.sep{
    height: 1rem;
}

.create_account_bar{
    margin: 1rem;
    font-size: 0.8rem;
}

.flexpad{
    flex-grow: 1;
}

.bottom_info{
    font-size: 0.75rem;
    color: #777;
    margin: 1rem;
}

.login_return{
    margin: 2rem 0 0 0;
    text-align: center;
}