@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
header
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo
{
    position: top;
    max-width: 75px;    
}
body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #244f90;
}
.slide
{
    background: #38a1c7;
}
.container
{
    position: relative;
    width: 800px;
    height: 400px;
    background: rgba(0,0,0,0.125);
    display: flex;
    justify-content: center;
    align-items: center;
}
.container .box
{
    position: relative;
    width: 50%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
}
.container .box h2
{
    color: #fff;
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 10px;
}
.container .box button
{
    cursor: pointer;
    padding: 10px 20px;
    background: #fff;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    border: none;
    outline: none;
}
.formBx
{
    position: absolute;
    left: 50px;
    width: 350px;
    height: 480px;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 5px rgba(0,0,0,0.15);
    transition: 0.5s;
    transition-delay: 0.5s;
    overflow: hidden;
}
.slide .formBx
{
    left: 400px;
}
.formBx .form
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    background: #223447;
}
.formBx .form.signupform
{
    top: 100%;
    transition-delay: 0s;
}
.slide .formBx .form.signupform
{
    top: 0;
    transition-delay: 1;
}
.formBx .form.signinform
{
    top: 0%;
    transition-delay: 1s;
}
.slide .formBx.form.signinform
{
    top: -100;
    transition-delay: 0;
}
.formBx .form form
{
    display: flex;
    flex-direction: column;
    padding: 0 50px;
    width: 100%;
}
.formBx .form h3
{
    font-size: 1.4em;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}
.formBx input
{
    position:  relative;
    margin: 2px;
    padding: 15px 20px;
    outline: none;
    width: 100%;
    background: transparent;
    border-radius: 5px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1em;
}
