@import url('hue-rotate.css');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1f293a;
}
.container{
    position: relative;
    width: 256px;
    height: 256px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-box{
    position: relative;
    width: 800px;

}
h2{
    font-size: 2em;
    color:#0ef ;
    text-align: center;
}
.login-box form{
    width: 100%;
    padding: 0;
}
.input-box{
    position: relative;
    margin: 25px 0;
}
.input-box input{
    width: 100%;
    height: 50px;
    background: transparent;
    bottom: 2px solid #2c4766;
    outline: none;
    border-radius: 40px;
    font-size: 2em;
    color: #fff;
    padding: 0 20px;
    transition: .5s ease;
    cursor: pointer;

}
.input-box label{
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #fff;
    transition: .5s ease;

}
/* animation 1 */

.input-box input:focus~label,
.input-box input:valid~label{
    top: 1px;
    font-size: .8em;
    background: #1f293a;
    color: #0ef;
    padding: 0 6px;
}

.forgot-pass{
    margin: 25px 0 ;
    text-align: center;
}
.forgot-pass a{
    font-size: 1.2em;
    color: #fff;
    text-decoration: none;
}
.forgot-pass a:hover{
    text-decoration: underline;
}
.btn{
    width: 100%;
    height: 45px;
    background: #0ef;
    border: none;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1em;
    color: #1f293a;
    font-weight: 600;
}
.signup-link{
    margin: 25px 0 ;
    text-align: center;
}
.signup-link a{
    font-size: 1.2em;
    color: #0ef;
    text-decoration: none;
    font-weight: 600;
}
.signup-link a:hover{
    text-decoration: underline;
}
/* animation 2 */
.container span{
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    background: #2c4766;
    border-radius: 8px;
    transform-origin: 120px;
    transform: scale(2.2) rotate(calc(var(--i)*360deg /50));
    animation: animate 5s linear infinite;
    animation-delay: calc(var(--i)*(5s/50));
}
/* KEYFRAMES */

@keyframes animate{
    0%{
        background: #0ef;
    }
    25%{
        background: #2c4766;
    }
}
@media screen and (max-width: 700px) {
    body{
        scale: 50%;
    }
} 
    
