:root{
    --error-border-color:     var(--red);
    --error-background-color: var(--pale-red);
}

#content{
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}
#lflex{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: RGBA(255,255,255,0.2);
    border: 1px solid RGBA(0,0,0,0.2);
    border-radius: 10px;
    padding: 20px;
}
#lflex h1{
    margin: 0;
    margin-bottom: 20px;
    line-height: 100%;
    letter-spacing: 0px;
}
#lflex input{
    margin: 10px 0 10px 0;
    width: 200px;
    height: 25px;
}

.avatar{
    width: 80px;
    height: auto;
    border-radius: 40px;
}
.errorText{
    padding: 10px !important;
    border-radius: 5px;
    border: 1px solid var(--error-border-color);
    background-color: var(--error-background-color);
} 
#pwul{
    margin-block-start: 0.5em !important;
    text-align: left;
}
#username{
    border: 1px solid grey;
    border-radius: 5px;
}
.loginDatafieldPw{
    display: flex; 
    align-items: center;
    justify-content: center; 
}
.pwtextfield{
    display: block;
    position: relative;
    width: fit-content;
    height: fit-content;
    margin: 10px;
    padding: 0;
}
#pwField,
#pwFieldRepeat{
    display: block;
    position: relative;
    width: 169px;
    height: 27px !important;
    margin: 0 !important;
    border: 1px solid grey;
    border-radius: 5px;
    z-index: 2;
}

#pwButton,
#checkPwButton{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 31px;
    width: 31px !important;
    border: 0;
    background-color: rgba(0,0,0,0);
    background-image: url("../icons/blendoff.webp");
    background-size:cover;
    background-position:center;
    background-repeat: no-repeat;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 3;
}


#loginbutton{
    font-size: 1.3em;
    width: 150px;
}
#FalureField {
    display:none;
    padding: 10px !important;
    border-radius: 5px;
    border: 1px solid var(--error-border-color);
    background-color: var(--error-background-color);
}