html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* TODO:   Main */

:root {
    /* Color */
    --black: #000000;
    --white: #FFFFFF;

    --red-900: #7F1D1D;
    --red-800: #991B1B;
    --red-600: #DC2626;

    --green-600: #16A34A;

    /* Space */
    --space-x: 4px;
    --space-2x: 8px;
    --space-3x: 12px;
    --space-4x: 16px;
    --space-5x: 20px;
    --space-6x: 24px;
    --space-7x: 28px;

    /* Text */
    --text-x: 4px;
    --text-2x: 8px;
    --text-3x: 12px;
    --text-4x: 16px;
    --text-5x: 20px;
}

* {
    font-family: "Roboto", serif !important;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    background: url('../img/sky-low.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form__container {
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 4px;
    margin: var(--space-3x);
}

.form__container h2 {
    margin: 12px;
    font-size: var(--text-5x);
}

.form__field {
    width: calc(100% - 24px);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    margin: 0px 12px 0px 12px;
}

.form__field label {
    margin-bottom: 4px;
    font-size: var(--text-4x);
}

.form__field input,
.form__field textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 0px 0px 12px 0px;
    padding: 8px;
    font-size: var(--text-4x);
}

.form__field textarea {
    resize: vertical;
    min-height: 120px;
}

.form__submit {
    width: calc(100% - 24px);
    background-color: red;
    border-radius: 4px;
    padding: 12px;
    border: 0px;
    margin: 0px 12px 12px 12px;
    color: white;
    cursor: pointer;
    font-size: var(--text-4x);
}

.form__alert--error,
.form__alert--success {
    width: calc(100% - (var(--space-3x) * 2));
    margin: 0px var(--space-3x) var(--space-3x) var(--space-3x);
    padding: var(--space-3x);
    border-radius: var(--space-x);
    color: var(--white);
}

.form__alert--error {
    background-color: var(--red-600);
}

.form__alert--success {
    background-color: var(--green-600);
}

/* Responsive */
@media (max-width: 424px) {
    .form__container {
        width: calc(100% - (var(--space-3x) * 2));
    }
}