div.center {
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.login {
    height: max-content;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.login .form-group {
    margin-bottom: 20px;
    margin: 2px;
}

.inputs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    max-width: 500px;
    margin: 0 auto;
}

.aform {
    width: 45%;
    margin-bottom: 20px;
}

.bform {
    width: 100%;
    margin-bottom: 20px;
}

/* switch to colum if phone */
@media (max-width: 768px) {
    .inputs {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .aform {
        width: 100%;
    }
}

.login .form-group p {
    display: block;
    margin-bottom: 5px;
}

.login .form-group input {
    position: relative;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login .form-group input:focus {
    outline: none;
    border-color: #003694;
    transition-duration: 200ms;
}

.form-group * {
    font-size: 14px;
    line-height: 1.42857143;
    margin: 5px 0px 5px 0px;
}