/* Style */

*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins";
    color:#fff;
}

body{
    background:url('/static/auth/auth.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container{
    height: 550px;
    width: 450px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 10px;
    background: rgb(0,0,0,.2);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 5px rgb(0,0,0,.2)
    0 0 15px rgb(0,0,0,.2),
    0 0 30px rgb(0,0,0,.2);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

}

.form-box{
    display: flex;
}

.form-box .LoginForm{
    position: absolute;
    transform: translateX(0px) rotate(0deg);
    transition: .5s ease;
    transition-delay: .4s;
}

.form-box .LoginForm.active{
    position: absolute;
    transform: translateX(-450px) rotate(-45deg);
    transition-delay: .2s;
}

.form-box .RegisterForm{
    transform: translateX(450px) rotate(45deg);
    transition: .5s ease;
    transition-delay: .2s;
}

.form-box .RegisterForm.active{
    transform: translateX(0px) rotate(0deg);
    transition-delay: .4s;
}

.container .form-box h2{
    text-align: center;
    font-size: 35px;

}

.form-box .input-box{
    margin: 30px 0;
    width: 330px;
    border-bottom: 2px solid rgba(255, 255, 255, .4);
    position: relative;
}
.form-box .input-box input{
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    height: 40px;
    padding: 0 35px 0 5px;

}
.form-box .input-box label{
    font-weight: 400;
    letter-spacing: .5px;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: .5s ease;
    

}
.input-box input:focus ~ label,
.input-box input:valid ~ label{
    top: -5px;
}

.input-box i{
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.forget-section{
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin: -15px 0 15px;
}

.forget-section p{
    display: flex;
    align-items:center;

}

.forget-section p input{
    accent-color: #11595d;
    margin: 0 3px;

}
.forget-section a{
    text-decoration: none;
}

.btn{
    height: 45px;
    width: 100%;
    border-radius: 50px;
    color: #fff;
    background:  #123e8f;
    border: 2px solid #0c2545;
    outline: none;
    font-size: 16px;
    cursor:pointer;
    letter-spacing: 1px;

}

.account-creation{
    text-align: center;
    margin: 25px 0 10px;
    font-weight: 400;
    font-size: 14px;

}
.account-creation span a{
    text-decoration: none;
}
.account-creation a:hover{
    text-decoration: underline;

}
@media(max-width:768px){
    .container{
        height: 500px;
        width: 380px;
    }

    .container .form-box h2{
        font-size: 32px;
    }
    .form-box .input-box{
        margin: 35px 0;
        width: 300px;

    }
    .form-box .input-box i{
        font-size: 18px;
    }
    .form-box .input-box label{
        font-size: 14px;
    }
    .forget-section{
        font-size: 13px;
    }
    .btn{
        height: 40px;
        width: 100%;
        font-size: 14px;

    }
    .account-creation{
        font-size: 14px;

    }
}


@media(max-width:480px){
    .container{
        height: 450px;
        width: 310px;
    }

    .container .form-box h2{
        font-size: 26px;
    }
    .form-box .input-box{
        margin: 30px 0;
        width: 260px;

    }
    .form-box .input-box i{
        font-size: 15px;
    }
    .form-box .input-box label{
        font-size: 12px;
    }
    .forget-section{
        font-size: 11px;
    }
    .btn{
        height: 40px;
        width: 100%;
        font-size: 12px;

    }
    .account-creation{
        font-size: 11px;

    }
}


@media(max-width:365px){
    .container{
        height: 420px;
        width: 280px;
    }

    .container .form-box h2{
        font-size: 24px;
    }
    .form-box .input-box{
        margin: 25px 0;
        width: 220px;

    }
    .form-box .input-box i{
        font-size: 15px;
    }
    .form-box .input-box label{
        font-size: 12px;
    }
    .forget-section{
        font-size: 12px;
    }
    .btn{
        height: 35px;
        width: 100%;
        font-size: 12px;

    }
    .account-creation{
        font-size: 11px;

    }
}