*, *:before, *:after {
    box-sizing:border-box;
}

body {
    height: 100vh;
    margin: 0px;
    background-image: url("/images/background_trim_compress.jfif");
    background-position: right;
    background-size: cover;
    font-family: "Source Sans Pro";
}

div.horizontal-screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    -webkit-box-align: center;
}

@media only screen and (min-width: 1200px) {
    div.horizontal-screen {
        margin-right: 40%;
    }
}

div.vertical-screen {
    display: flex;
    flex-direction: row;
    flex: 1 1 0%;
    align-items: center;

}

div.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(245, 245, 245, 1); /* whitesmoke */
    max-width: 350px;
    min-width: 300px;
    border-radius: 20px;;
    padding: 20px;
}


/* .error-message .icon {
    padding: 4px;
} */

.brand {
    width: 100px;
}

form#login, form#register, form#confirm {
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
    gap: 10px;
}

form#login > div, form#register > div, form#confirm > div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

form button, form a {
    width: fit-content;
    align-self: center;
}

form button {
    border:1px solid rgb(252,225,153);
    border-radius: 20px;
    padding:0px;
    padding-top:8px;
    padding-bottom:8px;
    width: 100px;
    line-height: 1.5;
    background-color: rgb(252,225,153);
    font-weight: 600;
}

form button:hover {
    background-color: lemonchiffon;
    border:1px solid rgb(252,225,153);
}

form a {
    cursor: default;
    border-radius: 3px;
    line-height: 1.5;
    padding: 3px;
    color: rgb(150,150,150);
    
}

form a:hover {
    color:black;
    text-decoration: underline;

}

/* form#login input, form#register input, form#confirm input { */
input[type='text'], input[type='password'] {
    max-width: 250px;
    width: 100%;
    margin-top: 3px;
    font-family: Source Sans Pro;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
}

input[type='text']:focus, input[type='password']:focus {
    box-shadow:rgb(41 126 243) 0px 0px 6px;
    outline: none;
}

.error-message, .success-message {
    display:flex !important;
    flex-direction: row !important;
    max-width: 250px;
    width: 100%;
    text-align: left;
    line-height: 1.5;
}

.error-message {
    background-color: rgb(252, 248, 248);
    border: 1px solid rgb(176, 0, 32); 
    color: rgb(97, 97, 97);
}

.success-message {
    background-color: rgb(230, 255, 230);
    border: 1px solid rgb(75, 181, 67); 
    color: rgb(97, 97, 97);
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

