*{
    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: url(img2.jpg) no-repeat;
    background-position: center;
    background-size: cover;
}
.wrapper{
    position: relative;
    width: 750px;
    height: 450px;
    background-color: transparent;
    backdrop-filter: blur(15px);
    border: 2px solid #0ef;
    box-shadow: 0 0 30px #0ef;
    overflow: hidden;    
}
.from-box{
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wrapper .from-box.login{
    left: 0;
    padding: 0 60px 0 40px;
}
.wrapper .from-box.login .animation{
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition: .7s ease;
    transition-delay: calc(.1s*var(--j));
}
.wrapper.active .from-box.login .animation{
    transform: translateX(-120%);
    opacity: 0;
    filter: blur(10px);
    transition-delay: calc(.1s*var(--i));
}
.wrapper .from-box.register{
    right: 0;
    padding: 0 40px 0 60px;
    pointer-events: none;
}
.wrapper.active .from-box.register{
    pointer-events: auto;
}
.wrapper .from-box.register .animation{
    transform: translateX(120%);
    opacity: 0;
    filter: blur(10px);
    transition: .7s ease;
    transition-delay: calc(.1s*var(--j));
}
.wrapper.active .from-box.register .animation{
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition-delay: calc(.1s*var(--i));
}
.from-box h2{ 
    font-size: 32px;
    color: white;
    text-align: center;
}
.from-box .input-box{
    position: relative;
    height: 50px;
    width: 100%;
    margin: 25px 0;

}
.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1.5px;
    padding-right: 23px;
    border-bottom: 2px solid #fff ;
    transition: .5s;
}
.input-box input:focus,
.input-box input:valid{
    border-bottom-color: #0ef;
}
.input-box label{
    color: whitesmoke;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}
.input-box input:focus~label,
.input-box input:valid~label{
    top: -5px;
    color: #0ef;
}
.input-box i{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 18px;
    color: white;
    transition: .5s;
}
.input-box input:focus~i,
.input-box input:valid~i{
    color: #0ef;
}
.btn{
    position: relative;
    width: 100%;
    height: 45px;
    background: transparent;
    border: 2px solid #0ef;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: white;
    z-index: 1;
    overflow: hidden;
}
.btn::before{
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    background: linear-gradient(black,#0ef,black,#0ef);
    z-index: -1;
    transition: .5s;
}
.btn:hover::before{
    top: 0;
}
.from-box .logreg-link{
    font-size: 14.5px;
    color: white;
    text-align: center;
    margin: 20px 0 10px;
}
.logreg-link p a{
    color: #0ef;
    text-decoration: none;
    font-weight: 600;
}
.logreg-link p a:hover{
    text-decoration: underline;
}
.wrapper .infoText{
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wrapper .infoText.login{
    right: 0;
    text-align: right;
    padding: 0 40px 60px 150px;
}
.wrapper .infoText.login .animation{
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition: .7s ease;
    transition-delay: calc(.1s*var(--j));
}
.wrapper.active .infoText.login .animation{
    transform: translateX(120%);
    opacity: 0;
    filter: blur(10px);
    transition-delay: calc(.1s*var(--i));
}
.wrapper .infoText.register{
    left: 0;
    text-align: left;
    padding: 0 150px 60px 40px;
    pointer-events: none;
}
.wrapper.active .infoText.register{
    pointer-events: auto;
}
.wrapper .infoText.register .animation{
    transform: translateX(-140%);
    opacity: 0;
    filter: blur(10px);
    transition: .7s ease;
    transition-delay: calc(.1s*var(--j));
}
.wrapper.active .infoText.register .animation{
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition-delay: calc(.1s*var(--i));
}
.infoText h2{
    font-size: 36px;
    color: #fff;
    line-height: 1.3;
    text-transform: uppercase;
}
.infoText p{
    font-size: 16px;
    color: #fff;

}
.wrapper .bg-animate{
    position: absolute;
    top: -4px;
    right: 0;
    width: 850px;
    height: 600px;
    border-bottom: 3px solid #0ef;
    background: linear-gradient(45deg,black,#0ef);
    transform: rotate(10deg) skewY(40deg);
    transform-origin: bottom right;
    transition: 1.5s ease;
    transition-delay: 1.6s;
}
.wrapper.active .bg-animate{
    transform: rotate(0) skewY(0);
    transition-delay: .5s;
}
.bg-animate2{
    position: absolute;
    top: 100%;
    left:250px;
    width: 850px;
    height: 700px;
    border-top: 3px solid #0ef;
    background:black;
    transform: rotate(0) skewY(0);
    transform-origin: bottom left;
    transition: 1.5s ease;
    transition-delay: .5s
}
.wrapper.active .bg-animate2{
    transform: rotate(-11deg) skewY(-41deg);
    transition-delay: 1.2s;

}