html body{
    background-color: black;
    color: white;
    font-family: "Karla";
    margin: 0;
    padding: 0;
    height: 100%;
}

.login_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2%;
    gap: 20px;

}
.login_box p{
    margin: 0;
}

.flex_with_gap{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    justify-content: center;
    align-items: center;
}
#crbn_logo{
    max-height: 30px;
}
#team_program{
    max-height: 70px;
}

.login_flex_container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 4;
    width: 450px;
    margin: auto;
}

.login_flex_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login_input{
    height: 35px;
    min-width: 225px;
    opacity: 0.8;
}

.login_input_flex{
    display: flex;
    width: 100%;
    justify-content: center;
}

.background_box {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../images/login/background_scaled.webp');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
}

.login_form_container{
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: center;
    align-items: center;
    background-color: lightgrey;
    width: 100%;
    border-radius: 10px;

}

.login_buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
}
.form_box{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: auto;
    justify-content: space-evenly;
    align-items: center;
    color: black;
    min-height: 50vh;
    gap: 20px;
    margin-top: 10px;
}
.form-errors{
    color: black;
    font-size: 18px;
    margin: 0;
    padding: 0;
    text-align: center;
}
.messages{
    color: red;
    font-size: 16px;
    text-align: center; 
    max-width: 400px;
}
.error{
    color: red;
    font-size: 14px;
    margin: 0;
    padding: 0;
    text-align: center; 
    margin-bottom: 10px;
}

.login_footer_flex{
    display: flex;
    flex-direction:  column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding-bottom: 30px;
    text-align: center;
}
.login_flex_form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.login_flex_col{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.signin_button{
    border: 1px solid white;
    background-color: #fa5000;
    color: white;
    border-style: solid;
    width: 205px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    line-height: 2.5em;
    background-image: none;
    letter-spacing: 4px;
    cursor:pointer;
}

.signin_button:hover{
    background-color: white;
    color: black;
    border: black solid 1px;
}

.bw_button{
    background-color: black;
    color: white;
    border: white solid 1px;
    width: 205px;
    text-align: center;
    text-decoration: none;
    line-height: 2.5em;
    background-image: none;
    letter-spacing: 4px;
    cursor:pointer;

}

.bw_button:hover{
    background-color: white;
    color: black;
    border: black solid 1px;
}

.resetBody{
    color:black;
}

@media screen and (max-width: 762px){
    .login_flex_container{
        width: 70%;
    }
    .login_buttons{
        gap: 10px;
    }
    #team_program{
        width: 125px;
        height: auto;
    }
    .form_box{
        min-height: 25vh;
        gap: 10px;
    }

    .login_flex_form{
        gap: 5px;
    }
    .login_footer_flex{
        gap: 25px;
        padding-bottom: 15px;
    }

    .login_header{
        margin: 4px;
    }
}


.resend_activation_button{
    border: 1px solid white;
    background-color: #fa5000;
    color: white;
    border-style: solid;
    padding: 5px;
    text-align: center;
    text-decoration: none;

    background-image: none;
    letter-spacing: 4px;
    cursor:pointer;
}

.resend_activation_button:hover{
    background-color: white;
    color: black;
    border: black solid 1px;
}