body {
    background: white;
    margin: 0 auto;
    max-width: 950px;
    padding: 20px;
    position: relative;
}

header {
    text-align: center;
}

h3, h4 {
    margin-top: 0;
}

h4 {
    font-weight: bold;
}

.graphic {
    background-image: url(map.png);
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 1em;
    height: 200px;
    max-width: 100%;
    width: 380px;
}

main {
    margin: 0 auto;
    max-width: 440px;

    display: flex;
    flex-direction: column;
}

ul {
    list-style-type: disc;
    margin-left: 1.5em;
}

form {
    font-size: 18px;
    margin-top: 1em;
    align-self: center;
}

label {
    line-height: normal;
    width: auto;
}

input[type="text"] {
    width: 180px;
    line-height: normal;
    padding: 10px;
    text-align: center;
}

input[type="submit"] {
    line-height: normal;
    margin: 0;
    padding: 10px;
}

/* TODO: Avoid expanding container */
.parsley-errors-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.nowrap {
    white-space: nowrap;
}

/* TODO: Line break sentences where possible. `white-space: pre-line`? */

@media screen and (min-width: 800px) {
    body {
        padding-left: 420px;
    }

    .graphic {
        position: absolute;
        top: 20px;
        left: 20px;
        height: 250px;
    }

    header {
        text-align: left;
    }

    main {
        margin-left: 0;
    }

    form {
        align-self: auto;
    }
}
