html {
    background: #ffffff;
}

body {
    font-family: Calibri, Carlito, sans-serif;
    padding: 1em;
    margin: 1em auto 1em auto;
    background: white;
    max-width: 1024px;
    min-width: 860px;
    height: fit-content;
    border: 2px solid #fab800;
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 #fab80004, 0 6px 20px 0 #fab80030;
}

.hide {
    display: none;
}

#user-banner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5em;
    height: 2em;
    min-width: 95%;
    border-bottom: 1px dotted black;
    padding-bottom: 0.5em;
}

#user-banner img {
    height: 2.4em;
}

#user-banner span.message {
    display: flex;
    align-items: center;
    flex-grow: 2;
    height: 2em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    border-radius: 3px;
    margin-left: 1em;
    margin-right: 1em;
    transition: opacity 0.5s;
}

#user-banner span.message.good {
    background: #90ee9070;
    border: 1px solid #90ee90;
}

#user-banner span.message.warn {
    background: #ffc00070;
    border: 1px solid #ffc000;
}

#user-banner span.message.err {
    background: #ff200070;
    border: 1px solid #ff2000;
}

#user-banner span.message.hide {
    opacity: 0;
}
    
#user-banner span.message.show {
    opacity: 1;
}
    
#user-banner span a {
    font-size: 90%;
    color: grey;
}

#user-banner img.user-img {
    border: 2px solid #fab800;
    border-radius: 1.2em;
}

#user-banner div.loader {
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #fab800;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    animation: spin 2s linear infinite;
}

#formcontainer {
    display: flex;
    justify-content: flex-end;
    align-items: left;
    gap: 0.5em;
    width: 100%;
}

#formcontainer form {
    margin: auto;
    width: 39%;
}

#formcontainer form label {
    font-size: small;
}

#formcontainer form input[type=button], input[type=text], input[type=email] {
    width: 100%;
    font-size: large;
}

#formcontainer a:has(img) {
    display: contents;
}

#formcontainer img {
    margin: auto;
    width: 59%;
    border-left: 2px solid #fab800;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
