@import url('https://fonts.googleapis.com/css?family=Rancho&effect=shadow-multiple|3d-float');

*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #000;
}
section{
    display: flex;
    justify-content: center;
    justify-items: center;
    width: 100%;
    height: 100vh;
    background-image: url('img/8.jpg') ;
    background-position: center;
    background-repeat: none;
    background-size: cover;
    animation: animageBg 5s linear infinite;
}
@keyframes animageBg{
    100%{
        filter: hue-rotate(360deg);
    }
}
.login-box{
  display: flex;
  margin: 10%;
 justify-content: center;
 justify-items: center;
 align-items: center;
 text-align: center;
 background: transparent;
 height:450px ;
 width:400px ;
 position: relative;
 border: 2px solid rgb(255, 255, 255,.5);
 border-radius: 20px;

 backdrop-filter: blur(15px);/* to make backgord blur*/

}
span img{
    position: absolute;
    left: 2px;
    top: 10px;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    outline: none;
}
h2{
font-size: 2em;
color: #fff;
text-align: center;
}
.input-box{
    position: relative;
 width: 310px;
 margin: 30 0;
 border-bottom: 2px solid  #fff;

}
.input-box label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #fff;
    pointer-events: none;
    transition: .5s;
}
.input-box input{
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #fff;
    padding: 5px 35px 0 5px;
}
.input-box input:focus~label,
.input-box input:invalid~label 
 {
    top: -15px;
}
.input-box .icon{
    position: absolute;
    right: 8px;
    color: #fff;
    font-size: 1.5em;
    line-height: 57px;
}
.remember-forget{
    display: flex;
    justify-content: space-between;
    margin: 10px;
    font-size: .9em;
    color: #fff;

}
.remember-forget  label {
 margin-right: 3px;
}
.remember-forget a{
    color: #fff;
    text-decoration: none;
}
.remember-forget a:hover{
    text-decoration: underline;
}
button{
    margin-top: 50px;
    width: 100%;
    height: 40px;
    border-radius: 40px;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    color: #000;
    font-weight: 500px;
}
.register-link{
    font-size: .9em;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px;
}
.register-link p a{
    color: #fff;
    text-decoration: none;
    font-size: 600;
}
.register-link p a:hover{
    text-decoration: underline;
}
@media(max-width:360px){
    .login-box{
        width: 100%;
        height: 100hv;
        border: none;
        border-radius: 0;

    }
    .input-box{
        width: 290px;
    }
}