:root {
    --flag-size: 24px;
}

body {
    margin: 0;
    font-family: sans-serif;
    font-size: 14pt;
}

header {
    background-color: black;
    font-size: 200%;
    text-transform: uppercase;

    color: white;
    font-weight: bold;
    text-align: center;
}

main {
    border: 1px solid black;
    display: block;

    width: 640px;
    padding: 24px;

    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;

}

label {
    display: table-cell;
    padding-right: 1em;
    padding-bottom: 0.5em;
}

input, span {
    display: table-cell;
    font-size: 115%;
    text-align: right;
}


span {
    font-weight: bold;
    padding-right: 1em;
}

.row {
    display: table-row;
}

#last-input-row {
    border-bottom: 1px solid black;
}

#checkbox-lang {
    display: inline-block;
    position: absolute;
    right: 24px;
    top: 12px;

    width: calc(var(--flag-size) * 2);
    height: var(--flag-size);
    object-fit: cover;

    cursor: pointer;
    border: 1px solid gray;
}
