.mainBackground{
    background-color: black;
    width: 100%;
    height: 100%
}
.mainBackground > img{
    position: absolute;
    height: auto;
    width: 100%;
    bottom: 3%;
}
.loginBox{
    width: 400px;
    height: 500px;
    position: absolute;
    left: calc(50% - 200px);
    top: calc(50% - 250px);
    background-color: white;
    border-radius: 15px;
    padding: 12px;

}
.login_input{
    position: absolute;
    width: 86%;
    height: 13%;
    padding: 12px;
    left: 7%;
    border-radius: 15px;
    border-color: #1471B5;
    font-size: 18px;
    border: none;
    border: 0.5px solid #1471B5;
}

#inputusername{
    top: 40%;
}
#inputpassword{
    top: 62%;
}
#noAccount {
    position: absolute;
    right: 7.5%;
    top: 35%;
    cursor: pointer;
}
#forgotPassword {
    position: absolute;
    right: 7.5%;
    top: 57%;
    cursor: pointer;
}
.usernameLabel{
    position: absolute;
    left: 7.5%;
    top: 35%;
}
.passwordLabel{
    position: absolute;
    left: 7.5%;
    top: 57%;
}
.loginFailed {
    position: absolute;
    top: 75%;
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: red;
}
.btn_login{
    position: absolute;
    width: 60%;
    left: 20%;
    top: 81%;
    height: 13%;
    border: none;
    color: white;
    background-color: #1471B5;
    border-radius: 15px;
    font-size: 22px;
    font-weight: 600;
}
.btn_login:hover{
    transform: scale(1.10);
    background-color: #3693D7;
}
.btn_login:active{
    transform: scale(0.90);
    background-color: #3693D7;
}
.logo{
    position: absolute;
    top: 2%;
    width: 95%;
    left: 2.5%;
}
@media screen and (max-width: 500px) {
    .loginBox{
        left: calc(50% - 120px);
        width: 240px;
        height: 300px;
        top: calc(50% - 150px)
    }
    .btn_login{
        font-size: 18px
    }
    .usernameLabel{
        top: 33%;
    }
    .passwordLabel{
        top: 55%;
    }
    #noAccount {
        top: 33%;
    }
    #forgotPassword {
        top: 55%;
    }
}