@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

:root {
  --box-width-full: 50%;
}


body {
    background: #FAF0E6;
    font-family: 'Rubik', sans-serif;
}

.logo {
    width: 100px;
}

header h1 {
    display: inline;
    vertical-align: top;
}

header, main {
    background: white;
    color: black;
    margin: 2em;
    padding: 2em 2em 1em 2em;
    width: var(--box-width-full);
    border-radius: 20px;
}

main {
    margin-bottom: 0;
}    

footer {
    margin-left: 2em;
    margin-right: 2em;
    padding-right: 2em;
    padding-left: 2em;
    font-size: small;
    text-align: right;
    font-style: italic;
    width: var(--box-width-full);
}

.val-out {
    border: thin black dashed;
    padding: 1em;
    border-radius: 5px;
    font-size: larger;
}

pre.val-out {
    white-space: pre-wrap;
}

div.val-out {
    padding-top: 0;
    padding-bottom: 0;
}

.heading-success {
    background: lightgreen;
    text-align: center;
    padding: 0.5em;
    border-radius: 5px;
}

.heading-fail {
    background: lightcoral;
    text-align: center;
    padding: 0.5em;
    border-radius: 5px;
}

h2 {
    margin-top: 0;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.form-item {
    margin-bottom: 1em;
}

textarea {
    resize: none;
    width: 100%;
    border-radius: 5px;
}

input[type="submit"] {
    width: 10em;
    height: 2em;
}

div.submit {
    text-align: right;
}


.notes {
    font-size: small;
}
