* {
    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: 650px;

    padding: 35px 50px 100px;

    background-color: #F1F6F9;
    background-image: url("/images/register_frog.png");
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: 40px calc(100% - 45px);

    text-align: center;

    /* No rounded corners */
    border-radius: 0;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h1 {
    margin: 0 0 30px;

    font-size: 38px;
    font-weight: normal;

    color: #212A3E;
}

.field {
    width: 100%;
    margin-bottom: 18px;

    text-align: left;
}

.field label {
    display: block;

    margin-bottom: 7px;

    font-size: 22px;
    color: #212A3E;
}

.field input {
    width: 100%;

    padding: 12px 16px;

    border: 2px solid #212A3E;
    border-radius: 8px;

    background-color: white;

    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;
}

#loginLink {
    display: inline-block;

    margin-top: 5px;

    color: #394867;

    font-size: 16px;
    text-decoration: none;
}

#loginLink:hover {
    text-decoration: underline;
}

#submitBtnDiv {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #394867;

    /* No rounded corners */
    border-radius: 0;
}

#submitBtn {
    padding: 12px 35px;

    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;
}

@media (max-width: 600px) {
    form {
        width: 92vw;
        min-height: 620px;

        padding: 30px 25px 100px;
    }

    h1 {
        font-size: 32px;
    }

    .field label {
        font-size: 19px;
    }

    .field input {
        font-size: 16px;
    }

    form {
        background-position: 25px calc(100% - 45px);
    }
}