:root {
    --eggnogcream: #D8C8B8;
    --hollyleaf: #616852;
    --mulledwine: #78211E;
    --cinnamonsugar: #BB9771;
    --frostysilver: #BEB3AC;
    --snowywhite: #f1e9e3;
}

html {
    height: 100%;
}

body {
    font-family: sans-serif;
    margin: 0;
    background-color: var(--eggnogcream);
    height: 100%;
    color: #333;
}

h1 {
    color: var(--mulledwine);
    text-align: center;
    margin-bottom: 20px;
    margin-left: 1em;
    margin-right: 1em;
}

p {
    text-align: center;
    font-size: 1.2em;
    line-height: 1.6;
}

article {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-grow: 1 1;
    height: 100%;
}

.input-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    width: 33%;

    @media (width <=800px) {
        width: 66%;
    }

    /* DEBUG COLOR */
    /* background-color: blue; */
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    /* DEBUG COLOR */
    /* background-color: aqua; */
}

.label-container {
    display: flex;
    /* DEBUG COLOR */
    /* background-color: chartreuse; */
    justify-content: flex-start;
    width: 33%;

    @media (width <=800px) {
        justify-content: center;
    }
}

.input-container {
    display: flex;
    justify-content: flex-end;
    /* DEBUG COLOR */
    /* background-color: crimson; */
    width: 66%;
}

.button-container {
    width: 66%;
    /* DEBUG COLOR */
    /* background-color: darkcyan; */
    justify-content: flex-end;
}

.form-textfield {
    /* height: 2em; */
    height: 30px;
    /* margin: 5px; */
    width: 100%;
    font-size: 18px;
    background-color: var(--hollyleaf);
    border: none;
    box-sizing: border-box;
    border-radius: 5px;
    color: var(--snowywhite);
}

input[type="text"],
input[type="password"] {
    padding-left: 5px;
}

.form-label {
    color: var(--mulledwine);
    font-size: 18px;
}

.form-submit-button {
    height: 2em;
    width: 66%;
    border: none;
    cursor: pointer;
    box-shadow: 0px 0px 3px 8px #f1e9e3;
    color: var(--mulledwine);
    border-radius: 5px;
    background-color: var(--frostysilver);
}

.form-submit-button:hover {
    border: 2px solid var(--mulledwine);
}

input:active,
input:focus {
    border: 2px solid var(--mulledwine);
    outline: none;
}

.result-text {
    font-size: 18px;
    color: var(--mulledwine);
}

.return-link {
    font-size: 18px;
    color: var(--hollyleaf);
}