:root {
    --rfm-fname-border-color: blue;
    --rfm-lname-border-color: blue;
    --rfm-email-border-color: blue;
    --rfm-passw-border-color: blue;
    --rfm-length-color: red;
    --rfm-uppercase-color: red;
    --rfm-lowercase-color: red;
    --rfm-numeric-color: red;
    --rfm-special-color: red;
    --rfm-illegal-color: red;
    --rfm-met-color: green;
}

p {
    margin-right: 5px;
    margin-left: 5px;
}

/*----------Classes----------*/

.rfm-password-criteria-list {
    list-style: none;
    padding-left: 0;
    text-align: center;
}

.rfm-password-criteria-element {
    max-width: 600px;
}

.rfm-password-criteria-invisible {
    display: none;
}

.rfm-missing-form-element {
    border: 2px solid blue;
}

.rfm-valid-form-element {
    border: 2px solid green;
}

.rfm-invalid-form-element {
    border: 2px solid red;
}

.rfm-input-wrapper {
    margin: 2px;
    padding: 3px;
    display: flex;
    flex-basis: 100%;
}

.rfm-form-wrapper {
    display: flex;
    margin: auto;
    max-width: 600px;
    justify-content: center;
}

.rfm-flex-container-vertical {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.rfm-flex-form-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

@media all and (min-width: 600px) {
    .rfm-flex-form-row {
        flex-wrap: nowrap;
    }
}

.rfm-text-center {
    text-align: center;
    width: -webkit-fill-available;
}

@media all and (min-width: 600px) {
    .rfm-input-name {
        flex-basis: 50%;
    }
}

/*----------IDs----------*/

#rfm-render-area {
    margin-top: 5vw;
}


#rfm-fname,
#rfm-lname,
#rfm-email,
#rfm-passw {
    height: 35px;
    text-align: center;
    font-size: 1.1rem;
    flex-basis: 100%;
    justify-content: center;
}

#rfm-fname:focus,
#rfm-lname:focus,
#rfm-email:focus,
#rfm-passw:focus {
    transition: border 0.7s ease;
    outline: none;
}

#rfm-fname:focus {
    border: 2px solid var(--rfm-fname-border-color);
}

#rfm-lname:focus {
    border: 2px solid var(--rfm-lname-border-color);
}

#rfm-email:focus {
    border: 2px solid var(--rfm-email-border-color);
}

#rfm-passw:focus {
    border: 2px solid var(--rfm-passw-border-color);
}

#rfm-length {
    color: var(--rfm-length-color);
    transition: color 0.7s;
}

#rfm-uppercase {
    color: var(--rfm-uppercase-color);
    transition: color 0.7s;
}

#rfm-lowercase {
    color: var(--rfm-lowercase-color);
    transition: color 0.7s;
}

#rfm-numeric {
    color: var(--rfm-numeric-color);
    transition: color 0.7s;
}

#rfm-special {
    color: var(--rfm-special-color);
    transition: color 0.7s;
}

#rfm-illegal {
    color: var(--rfm-illegal-color);
    transition: color 0.7s;
}

#rfm-met {
    color: var(--rfm-met-color);
    transition: color 0.7s;
}

#rfm-submit {
    height: 35px;
    font-size: 1.1rem;
    z-index: 100;
    transition: transform 0.4s;
    cursor: pointer;
}