/* * {
    
} */

html {
    background-color: var(--background-color);
    font-size: 20px;
}

body,
html {
    display: flex;
    padding: 0px;
    margin: 0px;
    border-width: 0px;
    justify-content: center;
    /* horizontal */
    align-items: center;
    /* vertical */
    height: 100%;
}

main {

    background-color: var(--main-color);
    color: var(--font-color);
    margin: 2em;
    font-size: larger;
    border-radius: 25px;
    display: flex;
}

div.form-container {
    padding: 1em;
    border-radius: 25px;
    border: 2px solid var(--border-color);
}

input:focus,
button:focus {
    outline: 5px solid var(--outline-color);
    /* outline-offset: 5px; */
}

fieldset.form-fieldset,
div.form-field-like {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    justify-content: center;
}

button.form-button {
    background-color: var(--border-color);
    border-radius: 15px;
    margin: .5em;
    padding: .5em;
    justify-self: center;
    font-weight: bold;
    font-size: large;
}

form.form {
    align-content: space-evenly;
}

div.form-field-like.no-border,
fieldset.form-fieldset.no-border,
.no-border {
    border: 0px solid #0000;
}

form.form-pending * {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
    /* disables clicks */
    opacity: 0.6;
}

input {
    width: 100%;
    font-size: large;
}

.space-evenly {
    display: flex;
    justify-content: space-evenly;
}