* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    background-color: #212A3E;

    font-family: 'ageo_personal_useregular', sans-serif;

    display: flex;
    align-items: center;
    justify-content: center;
}

form {
    position: relative;

    width: min(600px, 90vw);
    min-height: 500px;

    padding: 45px 50px 100px;

    background-color: #F1F6F9;

    text-align: center;

    border-radius: 0;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h1 {
    margin: 0 0 45px;

    color: #212A3E;

    font-size: 40px;
    font-weight: normal;
}

.field {
    width: 100%;
    margin-bottom: 25px;

    text-align: left;
}

.field label {
    display: block;

    margin-bottom: 8px;

    color: #212A3E;

    font-size: 22px;
}

.field input {
    width: 100%;

    padding: 13px 16px;

    background-color: white;

    border: 2px solid #212A3E;
    border-radius: 8px;

    font-family: 'ageo_personal_useregular', sans-serif;
    font-size: 17px;

    outline: none;

    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.field input:focus {
    border-color: #394867;

    box-shadow: 0 0 0 3px rgba(57, 72, 103, 0.2);
}

.field input::placeholder {
    color: #777;
}

/* Remember Me */

.remember {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 5px;
    margin-bottom: 20px;
}

.remember input {
    width: 18px;
    height: 18px;

    cursor: pointer;
}

.remember label {
    color: #212A3E;

    font-size: 17px;

    cursor: pointer;
}

/* Signup link */

#signUpLink {
    display: inline-block;

    color: #394867;

    font-size: 16px;

    text-decoration: none;
}

#signUpLink:hover {
    text-decoration: underline;
}

/* Bottom button bar */

#submitBtnDiv {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #394867;

    border-radius: 0;
}

#submitBtn {
    padding: 12px 40px;

    background-color: #9BA4B5;

    border: none;
    border-radius: 6px;

    color: white;

    font-family: 'ageo_personal_useregular', sans-serif;
    font-size: 17px;

    cursor: pointer;

    transition: background-color 0.15s;
}

#submitBtn:hover {
    background-color: #707682;
}

#submitBtn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Mobile */

@media (max-width: 600px) {

    form {
        width: 92vw;

        min-height: 500px;

        padding: 35px 25px 100px;
    }

    h1 {
        font-size: 34px;

        margin-bottom: 35px;
    }

    .field label {
        font-size: 19px;
    }

    .field input {
        font-size: 16px;
    }

    .remember label {
        font-size: 16px;
    }
}