.login{
    width: 100%;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    color: var(--text-white);
    border-radius: 25px;
    display: flex;
    flex-direction: row;
    color: var(--text-white);
    max-width: 100%;
    margin: 30px auto 30px auto;
    min-height: 80vh;
}

.loginForm{
    margin-top: 50px;
    max-width: 500px;
    width: 80%;
    padding: 20px;
    background-color: var(--form-background);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    height: fit-content;
}

.loginFormItem{
    padding: 0 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.loginFormItemInline{
    display: flex;
    flex-direction: row;
    width: 100%;
    /*border: red dotted 2px; /* For debugging purposes */
}

.loginFormItemIncolumn{
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    /*border: red dotted 2px; /* For debugging purposes */
}

.loginFormItemSpacer{
    min-width: 15px;
}

.loginFormItemLabel{
    text-align: left;
    font-weight: bold;
    color: var(--text-white);
}

.loginFormItemInput{
    padding: 10px;
    margin: 10px 0px;
    border-radius: 5px;
    border: solid 1px var(--navbar-searchbar-border-color);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.loginFormItemInputButton{
    padding: 10px;
    margin: 30px 0px 10px 0px;
    border-radius: 5px;
    border: solid 1px var(--navbar-searchbar-border-color);

    transition: background-color 0.3s ease, scale 0.3s ease, color 0.3s ease;
    background-color: var(--form-button-background);
    color: var(--form-submit-button-text);
}

.loginFormItemRedirect{
    color: darkgreen;
    transition: color 0.3s ease;
}

/*Hover effects*/
.loginFormItemInputButton:hover{
    background-color: var(--form-button-background-hover);
    color: var(--text-white);
    scale: 1.05;
    transition: background-color 0.3s ease, scale 0.3s ease, color 0.3s ease;
}

.loginFormItemRedirect:hover{
    color: lightgreen;
    transition: color 0.3s ease;
}

/*mobile*/

@media (max-width: 768px) {
    .loginFormItem{
        padding: 0 15px;
    }
    .loginFormItemInline{
        flex-direction: column;
    }
}