:root {
    --anim: .4s;
    --corner1: 18px;
    --corner2: 14px;
    --corner3: 10px;
    --navbar-height: 55px;
}

* {
  margin: 0 0;
  padding: 0 0;
  box-sizing: border-box;
}

body {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1rem;
    background: #fff;
    color: #222;
}
div, section, form {
    display: flex;
    flex-direction: column;
}
h2 {
    margin-bottom: 10px;
    font-size: 1.7rem;
    font-weight: 600;
    color: #12508e;
}

.center-screen {
    justify-content: center;
    align-items: center;
    height: 90vh;
}
.login-section {
    flex-direction: column;
    width: 300px;
    background: #fff;
    border-radius: var(--corner1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 25px 30px;
}
.login-section h2 {
    color: #0a3b6b;
    font-size: 1.5rem;
}
.login-section h2 img {
    height: .7em;
}


/* forms */
.login-form {
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}
.flash {
    color: #c0392b;
    margin-top: 12px;
    font-size: 1rem;
    text-align: center;
}
input[type='text'],
input[type='password'],
input[type='number'] {
    width: 100%;
    /* padding: 10px 12px; */
    padding: .65rem;
    border: 1px solid #bbb;
    border-radius: var(--corner3);
    font-size: .95em;
    margin-bottom: 8px;
    background: #fafbfc;
}
form button {
    margin-top: 4px;
    width: 100%;
    padding: 12px;
    background: #1976d2;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--corner3);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(25,118,210,0.08);
    transition: box-shadow var(--anim), background var(--anim);
}
form button:hover {
    background: #199bd2;
    box-shadow: 0 4px 8px rgba(25,118,210,0.4);
}

/* mobile devices */
@media (max-width: 400px) {
    .login-section {
        width: unset;
    }
}
