@import url('https://fonts.googleapis.com/css2?family=poppins');
*{
    margin:0;
    padding:0;
    font-family: 'poppins', 'sans-serif';
}
section{
    display:flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background:transparent;
}
.form-box{
    position: relative;
    width: 400px;
    height: 480px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    display:flex;
    justify-content: center;
    align-items: center;
}
.form-value{
    width:90%;
    text-align:center;
    margin:0 auto;
}
img{
    width:170px;
    max-width: 170px!important;
    border-radius:20px;
}

h2{
    font-size: 2em;
    color: white;
    text-align: center;
}
.inputbox{
    position: relative;
    margin: 30px 0;
    width: 310px;
    border-bottom: 2px solid white;

}
.inputbox label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: white;
    font-size: 1em;
    pointer-events: none;
    transition: 0.5s;
}
input:focus ~ label,
input:valid ~ label{
    top: -5px;
}
.inputbox input{
    width: 100%;
    height: 50px;
    background: transparent !important;
    border: none;
    outline: none;
    font-size: 1em;
    padding: 0 35px 0 5px;
    color: white;
}
.inputbox input:autofill{
    background-color: transparent; /* or any other */
  }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-moz-autofill,
input:-moz-autofill:hover,
input:-moz-autofill:focus,
input:-moz-autofill:active  {
    background-color: transparent;
    border: none;
    outline: none;
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #fff !important;
}

.inputbox i{
    position: absolute;
    right: 8px;
    color: white;
    font-size: 1.2em;
    top: 20px;
}
.forget{
    width:100%;
    margin: -15px 0 15px;
    font-size: 0.9em;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.forget label input{
    margin-right: 3px;
}
.forget label a{
    color: white;
    text-decoration: none;

}
.forget label a:hover{
    text-decoration: underline;
    
}
button{
    width: 100%;
    height: 40px;
    border-radius: 30px;
    background: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: .4s;
}
button:hover{
    background: #44ff44;
}
.register{
    font-size: 0.9em;
    color: white;
    text-align: center;
    margin: 25px 0 10px;   
}
.register p a{
    text-decoration: none;
    color: white;
    font-weight: 600;
}
.register p a:hover{
    text-decoration: underline;
}