*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    background:linear-gradient(-45deg,#6a11cb,#2575fc,#00c9ff,#92fe9d);
    background-size:400% 400%;
    animation:bgAnimation 12s ease infinite;
}

@keyframes bgAnimation{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

/* Bubble */

.circle{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    animation:float 12s linear infinite;
}

.circle:nth-child(1){
    width:220px;
    height:220px;
    left:-80px;
    top:80px;
}

.circle:nth-child(2){
    width:160px;
    height:160px;
    right:-40px;
    bottom:60px;
    animation-duration:15s;
}

.circle:nth-child(3){
    width:100px;
    height:100px;
    top:50%;
    left:15%;
    animation-duration:10s;
}

@keyframes float{
    0%{
        transform:translateY(0) rotate(0);
    }
    50%{
        transform:translateY(-30px) rotate(180deg);
    }
    100%{
        transform:translateY(0) rotate(360deg);
    }
}

.container{
    width:400px;
    max-width:90%;
    z-index:2;
}

.login-box{
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.3);
    border-radius:25px;
    padding:40px;
    color:white;
    box-shadow:0 20px 40px rgba(0,0,0,.25);

    animation:fadeUp 1s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.login-box h1{
    text-align:center;
    margin-bottom:10px;
}

.login-box p{
    text-align:center;
    margin-bottom:30px;
    opacity:.8;
}

.input-group{
    position:relative;
    margin-bottom:20px;
}

.input-group input{
    width:100%;
    padding:15px;
    border:none;
    outline:none;
    border-radius:12px;
    background:rgba(255,255,255,.2);
    color:white;
    font-size:15px;
    transition:.3s;
}

.input-group input::placeholder{
    color:#eee;
}

.input-group input:focus{
    background:white;
    color:#333;
    transform:scale(1.03);
}

.toggle{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:white;
}

.options{
    display:flex;
    justify-content:space-between;
    margin-bottom:25px;
    font-size:14px;
}

.options a{
    color:white;
    text-decoration:none;
}

button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:linear-gradient(45deg,#ff416c,#ff4b2b);
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:.4s;
}

button:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,.3);
}
.register{
    text-align:center;
    margin-top:20px;
}

.register a{
    color:#fff;
    font-weight:600;
    text-decoration:none;
}

@media(max-width:500px){

.login-box{
    padding:30px 25px;
}

.login-box h1{
    font-size:28px;
}

}