*{
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width:100%;
background: url(https://png.pngtree.com/thumb_back/fh260/background/20200731/pngtree-blue-carbon-background-with-sport-style-and-golden-light-image_371487.jpg);
background-position: center;
background-size: cover;
}

.form-box{
    position: relative;
    width: 400px;
    height: 450px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}
h2{
    font-size: larger;
    color: greenyellow;
    text-align: center;
}
.inputbox{
    position: relative;
    margin: 30px,0 ;
    width: 310px;
    border-bottom: 2px solid;
}
.input label{
  position: absolute;
  top: 50%;
  right: 5px;
}
input :focus ~ label,
input :valid ~ :label{
    top: -5px;
}

.inputbox input{
    width: 100%;
    height: 50px;
   background: aquamarine;
    border: none;
    outline: none;
    font-size: 1em;
    padding:  0 35px 0 5px;
    color: rgb(255, 0, 187); 
}
.inputbox ion-icon {
    position: absolute;
    right: 5px;
    color: rgb(49, 149, 153);
    font-size: 1.2em;
    top: 10px;
}
.forget{
    margin: 15px 0 15px;
    font-size: medium;
    color: goldenrod;
    display: flex;
    justify-content: center;
}
.forget label input{
    margin-right: 5px;
}
.forget label a{
    color:violet;
    text-decoration: none;
}
.forget label a :hover{
    text-align: underline;
}
button{
    width: 100%;
    height: 40px;
    border-radius: 30px;
    outline: none;
    cursor: pointer;

}
.register{
    margin: 25px 0 10px;
    color: aquamarine;
}