@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root
{
    --theme:#355F36;
    --theme2:#355F36;
    --accent: #00A84F;
    --white: #ffffff;
    --lightgrey: lightgrey;
    --grey: grey;
    --dgrey: rgb(77, 77, 77);
    --text: #0c0c0c;
    --error:#c30000;
    --trnp: #80808027;
    --border: 1px solid var(--dgrey);
}
*
{
    color: var(--text);
    font-family: "Poppins", sans-serif;
    transition: all .2s;
    cursor: default;
}
h1, h2 , p
{
    margin: 0px;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 70PX auto;
}

.welcome img
{
    width: 130px;
    margin-bottom: 30px;
}
.login-form {
    text-align: center;
    display: grid;
    width: 40%;
    min-width: fit-content;
    max-width: 400px;
    background: var(--white);
    padding: 20px;
    border: solid 1px var(--lightgrey);
    border-radius: 5px;
}
.login-form form
{
    width: 100%;
    display: grid;
}
.btns
{
    margin-top: 10px;
    display: grid;
    grid-template-columns: auto;
    gap: 20px;
}
hr
{
    margin: 20px 0;
    width: 100%;
    opacity: 50%;
}
.login-form input {
    outline: var(--theme);
    padding: 10px;
    border: 1px solid var(--lightgrey);
    border-radius: 5px;
}
input:focus
{
    border-color: var(--theme);
}
.login-form label {
    font-size: 12px;
    font-weight: 600;
    display: block;
    color: var(--text);
    background-color:var(--white);
    width: fit-content;
    padding: 0px 5px;
    top: 10px;
    left: 10px;
    position: relative ;
}
.login-form button {
    padding: 10px;
    background-color: var(--theme);
    color: white;
    width: 100%;
    margin-top: 10PX;
    font-size: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.login-form button:hover {
    background-color: var(--theme);
}
.gbtn
{
    cursor: pointer;
    font-size: 15px;
    text-decoration: none;
    background-color: var(--trnp);
    border-radius: 5PX;
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.gbtn:hover
{
    background-color: var(--lightgrey);
}
.gbtn svg
{
    height: 20px;
    width: 20px;
}
.sign
{
    font-size: 13px;
}
.sign a
{
    text-decoration: none;
    color: var(--theme2);
}
.namerow
{
    display: grid;
    grid-template-columns: auto auto ;
    gap: 18PX;
}
.namecol
{
    display: grid;
}

.passwordbox input
{
    flex: 1;
    border-radius: 5px 0px 0px 5px;
}
.passwordbox
{
    display: flex;
    align-items: center;
}
.passwordbox svg
{
    width: 17px;
    height: 18px;
    background-color: var(--lightgrey);
    border: none;
    outline-color: var(--blue);
    padding: 12px;
    border-radius: 0px 5px 5px 0px;
}
select:-webkit-autofill , input:-webkit-autofill{
    transition: background-color 5000000s ease-in-out 0s !important;
}
@media screen and (max-width: 480px)
{
    .login-form
    {
        width: 70%;
    }
    .namerow {
        grid-template-columns: auto;
        gap: 0PX;
    }
}
.errmsg{
    margin-top: 20px;
    color: rgb(214, 0, 0);
    font-size: 15px;
    background-color: rgb(255, 230, 230);
    padding: 5px 10px;
    border-radius: 5px;
    animation-name: shake;
    animation-duration: .2s;
    animation-iteration-count: 1;
    text-align: center;
    
}
@keyframes shake
{
    0%
    {
        transform: translateX(0px);
    }
    33%
    {
        transform: translateX(10px);       
    }
    66%
    {
        transform: translateX(-10px);
    }
    100%
    {
        transform: translateX(0px);
    }
}