*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    min-height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.4)), url(Asset/homepage1.jpg);
    background-size: cover;
    background-position: center;  
    background-color: gray;
}

.container{
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    display: flex; 
}

.wrapper{
    position: relative;
    width: 400px;
    height: 440px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-self: center;
    align-items: center;
    /* margin: auto; */
    text-align: center;
}

.form-box-login h2{
    font-size: 2em;
    color: white;
    text-align: center;
}

.form-box-login{
   top: 50px;
   left: 0;
   right: 0;
   margin: auto;
}

.input-box{
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid white;    
    margin: 30px 0;
    text-align: center;
    display: flex;
    align-items: center;
    cursor: text;
}

.input-box label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: white;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus~label, .input-box input:valid~label{
    top: -5px;
}

.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: white;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

.input-box .icon{
    top: 10px;
    position:absolute;
    right: 0;
    font-size: 1,2em;
    color: white;
    line-height: 57px;
}

.container .wrapper .form-box-login .input-box .icon img
{
    padding-bottom: 12px;
}

.remember-forgot{
    font-size: .9em;
    color: white;
    font-weight: 500;
    margin: -15px -50px 15px -50px;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    display: flex;
}

.remember-forgot .forgot{
    text-align: right;
}

.remember-forgot .remember{
    text-align: left;
}

.remember-forgot label input{
    accent-color: white;
    margin-right: 3px;
    cursor: pointer;
}

.remember-forgot label{
    cursor: pointer;
}

.remember-forgot a{
    color: white;
    text-decoration: none;
}

.remember-forgot a:hover{
    text-decoration: underline;
}

.btn{
    width: 100%;
    height: 45px;
    background: #ffd859;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #4f3d04;
    font-weight: 700;
}

.btn:hover{
    background: #b99a35;
    color: #fff0be;
    font-size: 1em;
    font-weight: 700;
}

.login-register{
    font-size: .9em;
    color: white;
    text-align: center;
    font-weight: 500;
    margin: 25px 0 10px;
}

.login-register p a{
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.login-register p a:hover{
    text-decoration: underline;
}

.wrapper .log p{
    font-size: small;
    color: rgb(255, 81, 81);
    font-family: "Poppins", sans-serif;
    text-align: left;
    margin-left: 3px;
    /* background-color: #b99a35; */
    /* width: 100%; */
    /* padding: 5%; */
}

.wrapper .log{
    /* background-color: wheat; */
    /* margin-top: 10px; */
    margin-bottom: 8px;
    right: 10px;
}

/* Tablet */
@media (max-width: 769px) {
    .wrapper{
        width: 350px;
        height: 430px;
    }
}

/* mobile L */
@media (max-width: 430px){
    .wrapper{
        /* margin: 0 10px; */
        width: 325px;
        height: 400px;
    }

    .form-box-login h2{
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .input-box{
        width: 250px;
        font-size: 13px;
    }

    .remember-forgot{
        font-size: 11px;
        margin-top: 20px;
        margin-bottom: -1px;
        text-align: justify;
    }

    .btn{
        height: 30px;
        font-size: 0.7em;
        margin-bottom: -10px;
    }

    .btn:hover{
        font-size: 0.7em;
    }
}

/* Mobile M & Mobile S */
@media (max-width: 376px) {
    .wrapper{
        margin: 0 10px;
        width: 250px;
        height: 350px;
    }

    .input-box{
        width: 200px;
    }

    .remember-forgot{
        margin: 20px -35px 5px -35px;
    }

    .btn{
        height: 20px;
        margin-bottom: 11px;
    }

    .login-register{
        font-size: 0.7em;
        margin-top: -1px;
    }

    .input-box {
        height: 30px;
    }

    .input-box input{
        font-size: 0.9em;
    }

    .input-box .icon{
        top: -10px;
    }

    .wrapper .log p{
        font-size: 9px;
    }
}

@media (max-width: 286px)
{
    .wrapper{
        width: 225px;
    }

    .input-box{
        width: 175px;
    }
}

@media (max-width: 260px)
{
    .wrapper{
        width: 205px;
    }

    .input-box{
        width: 145px;
    }
}