@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

body
{
    margin: 0;
    padding: 0;
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center center;
    /* background-repeat: no-repeat; */
}

*
{
    font-family: 'Poppins', 'sans-serif';
    box-sizing: border-box;
}

.alertdiv
{
    text-align: center;
}
.alert
{

    height: 40px;
    color: white;
    border-radius: 10px;
    z-index: 9999;
}

.alertdiv button
{
    border: none;
}

.backbutton
{
    position: fixed;
    margin-top: 20px;
    margin-left: 20px;
}

.backbutton img
{
    width: 42px;
}

h2
{
    font-size: 24pt;
}

.login-box
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    align-items: center;
    /* margin: 200px 500px; */
    width: 810px;
    height: 527px;
    display: flex;
    background-color: white;
    border-radius: 20px;
}

.yh-logo img
{
    padding-left: 40px;
    width: 320px;
    /*height: 158.8px;*/
}

.login-form
{
    padding-left: 50px;
    margin-top: 140px;
}



.form-input-user
{
    border: none;
    background-color: #E8E8E8;
    width: 386px;
    height: 30px;
    border-radius: 20px;
    margin-bottom: 10px;
    padding-left: 10px;
}

.form-input-password
{
    border: none;
    background-color: #E8E8E8;
    width: 386px;
    height: 30px;
    border-radius: 20px;
    padding-left: 10px;
}

.button
{
    margin-top: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}


.form-button-login
{
    border: none;
    background-color: #1191d0;
    color: white;
    font-weight: 500;
    font-size: 18pt;
    border-radius: 20px;
    width: 150px;
    height: 52px;
    margin-right: 20px;
}

.form-button-login:hover
{
    background-color: #25247b;
}



.login-form .error-message
{
    margin-top: -13px;
    margin-bottom: 5px;
    text-align: center;
    padding-top: 10px;
    border-radius: 10px;
    height: 50px;
    color: red;
    background-color: #f6bdcd;
    border: solid .05px red !important;
    /* display: none; */
}

.signup
{
    text-align: center;
    margin-top: 60px;
    color: #8C8C8C;
    font-size: 20px;
    font-weight: 100;
}

.signup span a
{
    color: #3C3C3C;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

/* responsive tablet */
@media screen
and (min-width: 768px)
and (max-width: 1023px)
{
    body
    {
        margin: 0;
        padding: 0;
        position: relative;
        height: 100vh;
        width: 100%;
        background-size: cover;
        background-position: center center;
        backdrop-filter: brightness(60%);
        /* background-repeat: no-repeat; */
    }

    *
    {
        font-family: 'Poppins', 'sans-serif';
        box-sizing: border-box;
    }
    .alert
    {

        height: 40px;
        color: white;
        border-radius: 20px;
        z-index: 9999;
    }

    h2
    {
        font-size: 24pt;
    }

    .login-box
    {
        position: absolute;
        /* top: 50%;
        left: 50%; */
        margin: auto;
        /* transform: translate(-50%, -50%); */
        background-color: white;
        align-items: center;
        /* margin: 200px 500px; */
        width: 685px;
        height: 445.67px;
        display: flex;
        background-color: white;
        border-radius: 20px;
    }

    .yh-logo img
    {
        padding-left: 20px;
        width: 275px;
        /*height: 150.58px;*/
    }

    .login-form
    {
        /* border: 1px solid red; */
        /* padding-left: 50px; */
        margin: 14px 14px;
        padding: 20px;
    }



    .form-input-user
    {
        border: none;
        background-color: #E8E8E8;
        width: 330px;
        height: 30px;
        border-radius: 20px;
        margin-bottom: 10px;
    }

    .form-input-password
    {
        border: none;
        background-color: #E8E8E8;
        width: 330px;
        height: 30px;
        border-radius: 20px;
    }

    .button
    {
        /* border: 1px solid red; */
        display: flex;
        margin-top: 20px;
        text-align: center;
        /* margin: auto; */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }


    .form-button-login
    {
        border: none;
        background-color: #1191d0;
        color: white;
        font-weight: 500;
        font-size: 18pt;
        border-radius: 10px;
        width: 50%;
        height: 43.41px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .form-button-login:hover
    {
        background-color: #25247b;
    }

    .signup
    {
        text-align: center;
        margin-top: 50px;
        color: #8C8C8C;
        font-size: 20px;
        font-weight: 100;
    }

    .signup span a
    {
        color: #25247b;
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
    }

}

@media screen
/* and (min-width: 768px) */
and (max-width: 767px)
{
    body
    {
        margin: 0;
        padding: 0;
        position: relative;
        height: 100vh;
        width: 100%;
        background-size: cover;
        background-position: center center;
        backdrop-filter: brightness(60%);
        /* background-repeat: no-repeat; */
    }
    *
    {
        font-family: 'Poppins', 'sans-serif';
        box-sizing: border-box;
    }

    .backbutton
    {
        position: fixed;
        margin-top: 20px;
        margin-left: 20px;
    }

    .backbutton img
    {
        width: 24px;
    }

    h2
    {
        text-align: center;
        margin-top: -8px;
        font-size: 12pt;
    }

    .login-box
    {
        padding-top: 10px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        align-items: center;
        /* margin: 200px 500px; */
        width: 360px;
        height: 488px;
        display: block;
        background-color: white;
        border-radius: 20px;
    }


    .yh-logo img
    {
        padding: 0;
        /* border: 1px solid red; */
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 171px;
        /*height: 89px;*/
        margin-bottom: 5px;
    }

    .login-form
    {
        margin-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .login-form h2
    {
        font-size: 24px;
        font-family: 'Poppins';
    }


    .username-label
    {
        margin-top: 32px;
        font-size: 12pt;
    }

    .form-input-user
    {
        border: none;
        background-color: #E8E8E8;
        width: 336px;
        height: 29px;
        border-radius: 20px;
        margin-bottom: 5px;
        padding-left: 10px;
    }

    .form-input-password
    {
        border: none;
        background-color: #E8E8E8;
        width: 336px;
        height: 29px;
        border-radius: 20px;
        padding-left: 10px;
    }

    .button
    {
        /* border: 1px solid red; */
        display: flex;
        margin-top: 32px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }


    .form-button-login
    {
        border: none;
        background-color: #1191d0;
        color: white;
        font-weight: 500;
        font-size: 18px;
        border-radius: 10px;
        width: 194px;
        height: 43px;
        margin-right: auto;
        margin-left: auto;
    }
    
    .form-button-login:hover
    {
        background-color: #25247b;
    }

    .signup
    {
        text-align: center;
        margin-top: 70px;
        color: #25247b;
        font-size: 16px;
        font-weight: 100;
    }

    .signup span a
    {
        color: #25247b;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
    }

}
