@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins' , sans-serif;
}
#load{
    display: flex;
    justify-content: center;
    align-items: center;
    /* display: none; */
}
.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid blue;
    border-right: 5px solid green;
    border-bottom: 5px solid red;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: absolute;
    right: 85px;
    top: 4px;
    display: none;
  }

  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
section{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: url('../img/bg.avif');
    /*background: url('../img/bg4.jpg');*/
    /*background: url('../img/medical-bandages-pills-with-copy-space_23-2149341587.avif');*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
     animation: animateBg 7s linear infinite;

}
.min-section{
    width: 100%;
    background-color: rgb(0 0 0 / 30%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* @keyframes animateBg{
    100%{
        filter: hue-rotate(360deg);
    }
} */

.login-box{
    position: relative;
    width: 400px;
    height: 450px;
    /* background:transparent; */
    /*background-color: #1b3e56eb;*/
    background-color:#424242d1;
    /* border: 2px solid rgb(255, 255, 255 , .5); */
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.login-box h2{
    font-size: 2em;
    color: white;
    text-align: center;
}
.input-box{
    position: relative;
    width: 310px;
    margin: 20px 0;
    border-bottom: 2px solid white;
}
.input-box label{
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    font-size: 1em;
    color: white;
    pointer-events: none;
    transition: .5s;
}
.input-box input:focus~label
{
    margin-top:10px;
    top: -8px;
    left: 0;

}
.input-box input{
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color:white;
    padding: 0 30px 0 5px;
}
.input-box .icon{
    position: absolute;
    right: 0;
    color: white;
    font-size: 1.2em;
    line-height: 57px;

}
.remember-forget{
    margin: -15px 0 15px;

    font-size: .9em;
    color: white;
    display: flex;
    margin-top: 35px;
    justify-content: space-between;

}
.remember-forget label input{
    margin-right: 3px;
}
.remember-forget a{
    color: white;
    text-decoration: none;
}
.remember-forget a:hover{
    text-decoration: underline;
    transition: .5s;
}
button{
    width: 100%;
    height: 40px;
    background: white;
    border: none;
    margin-top: 10px;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1em;
    color: black;
    font-weight: 500;
    /* background-image: url('../img/th.jpg'); */
    position: relative;

}
button:hover{
    /* animation: Bgcolor 5s linear infinite; */
    background:black;
    color: rgb(255, 255, 255);
    transition: 1s;
}
@keyframes Bgcolor{
    100%{
        filter: hue-rotate(360deg);
    }
}
.registr-link{
    font-size: .9em;
    color: white;
    text-align: center;
    margin: 25px 0 10px;
}
.registr-link p a{
    color: white;
    text-decoration: none;
    font-weight: 600;
}
.registr-link p a:hover{
    text-decoration: underline;
    transition: .5s;
}
@media (max-width:400px){
    .login-box{
        width: 100%;
        height: 100vh;
        border: none;
        border-radius: 0px;
    }
    .input-box {
        width: 290px;
    }
}
.password-error{
    color:#ff2d2d !important;
    margin-top: -5px;
    /* text-align: center; */
    display: none;

}
.email-error{
    color:#ff2d2d !important;
    margin-top: -5px;
    /* text-align: center; */
    display: none;

}
.invalid-feedback p{
    color:#ff2d2d !important;
    margin-top: -5px;
}
/*input:-internal-autofill-selected {*/
/*    background-color:  red !important;*/
/*}*/
input:-internal-autofill-selected {
    background-color: #454545 !important;
    color: white !important;
}
::placeholder{
    color:#ffffff66 !important;
}
