*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'sans-serif';
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #081b29;
}

.embalagem{
    position: relative;
    width: 850px;
    height: 550px;
    background: transparent;
    border: 2px solid #0ef;
    box-shadow: 0 0 25px #0ef;
    overflow: hidden;
    max-height: 100vh;
    overflow-x: hidden;
}

.embalagem .form-box{
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.embalagem .form-box.login{
    left: 0;
    padding: 0 60px 0 40px;

}
.embalagem .form-box.login .animation{
    transform: translate(0);
    opacity: 1;
    filter: blur(0);
    transition: .7s ease;
    transition-delay: calc(.1s*var(--j));
}
.embalagem.active .form-box.login .animation{
    transform: translate(-120%);
    opacity: 0;
    filter: blur(10px);
    transition-delay: calc(.1s*var(--i));
}
.embalagem .form-box.registro{
    right: 0;
    padding: 0 40px 0 60px;
    pointer-events: none;
}
.embalagem.active .form-box.registro{
    pointer-events: auto;
}
.embalagem .form-box.registro .animation{
    transform: translateX(120%);
    opacity: 0;
    filter: blur(10px);
    transition: .7s ease;
    transition-delay: calc(.1s*var(--j));
}
.embalagem.active .form-box.registro .animation{
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition-delay: calc(.1s*var(--i));
}
.form-box  h2{
    font-size: 32px;
    color: #fff;
    text-align: center;
}

.form-box .input-box{
    position: relative;
    width: 100%;
    height: 50px;
    margin: 15px 0;
}

.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border-bottom: 2px solid #fff;
    padding-right: 23px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    transition: .5s;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #081b29 inset;
  -webkit-text-fill-color: #fff;
}
.input-box input:-webkit-autofill:focus {
    caret-color: #fff; /* set the cursor color to white */
  }
.input-box input:focus,
.input-box input:valid {
    border-bottom-color: #0ef;
}
.input-box label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    color: #fff;
    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: #fff;
    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;
    color: #fff;
    font-weight: 600;
    z-index: 1;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    background: linear-gradient(#081b29, #0ef, #081b29, #0ef);
    z-index: -1;
    transition: .5s;
}
.btn:hover::before {
    top: 0;
}
.voltarInicio{
    position: relative;
    background-color: tomato;
    color: #fff;
    border: 2px solid #0ef;
    border-radius: 30px;
    width: 100%;
    outline: none;
    padding: 8px 50px;
    font-size: 16px;
    cursor: pointer;
    top:50px;
    left: 20%;
    text-decoration: none;
}
.esqueciSenha{
    position: relative;
    color: #fff;
    width: 100%;
    outline: none;
    padding: 8px 50px;
    font-size: 16px;

    top:10%;
    left: 10%;
    text-decoration: none;
}
.esqueciSenha:hover{
    cursor: pointer;
    text-decoration:underline;
}
.form-box .logreg-link{
    font-size: 14.5px;
    color: #fff;
    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;
}
.embalagem .info-text{
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.embalagem .info-text.login{
    right:0;
    text-align: right;
    padding: 0 40px 60px 150px;
}
.embalagem .info-text.login .animation{
    transform: translate(0);
    opacity: 1;
    filter: blur(0);
    transition: .7s ease;
    transition-delay: calc(.1s*var(--j));
}
.embalagem.active .info-text.login .animation{
    transform: translate(120%);
    opacity: 0;
    filter: blur(10px);
    transition-delay: calc(.1s*var(--i));
}
.embalagem .info-text.registro{
    left: 0;
    text-align: left;
    padding: 0 150px 60px 40px;
    pointer-events: none;
}
.embalagem.active .info-text.registro{
    pointer-events: auto;
}
.embalagem .info-text.registro .animation{
    transform: translateX(-120%);
    opacity: 0;
    filter: blur(10px);
    transition: .7s ease;
    transition-delay: calc(.1s*var(--j));
}
.embalagem.active .info-text.registro .animation{
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition-delay: calc(.1s*var(--i));
}
.info-text h2{
    font-size: 36px;
    color: #fff;
    line-height: 1.3;
    text-transform: uppercase;
}
.info-text p{
    font-size: 16px;
    color: #fff;
}
.info-text div{
   position: absolute;
   top: 10%;
   left: 20%;

}
.info-text .assLogo{
    position: absolute;
    top: 10%;
    left: 10%;
 
 }

.embalagem .bg-animate{
    position: absolute;
    top: -4px;
    right: 0;
    width: 850px;
    height: 600px;
    background: linear-gradient(45deg, #081b29, #0ef);
    border-bottom: 3px solid #0ef;
    transform: rotate(10deg) skewY(40deg);
    transform-origin: bottom right;
    transition: 1.5s ease;
    transition-delay: 1.6s;
}
.embalagem.active .bg-animate{
   transform: rotate(0) skewY(0);
   transition-delay: .5s;
}

.embalagem .bg-animate2{
    position: absolute;
    top: 100%;
    left: 250px;
    width: 850px;
    height: 700px;
    background: #081b29;
    border-top: 3px solid #0ef;
    transform: rotate(0) skewY(0);
    transform-origin: bottom left;
    transition: 1.5s ease;
    transition-delay: .5s;
}
.embalagem.active .bg-animate2{
    transform: rotate(-11deg) skewY(-41deg);
    transition-delay: 1.2s;
}
 /* Ajuste para telas menores */
 @media (max-width: 600px) {
    .embalagem .info-text.login, .bg-animate, .bg-animate2, .assLogo{
    display: none;
  }
  .embalagem .form-box{
    width: 100%;
  }
  .embalagem{
    width: 90%;
    max-width: 90%;
    margin: 0 auto; /* center the container horizontally */
    position: fixed;
    top: 10%;
  }
  .voltarInicio{
        position: absolute;
        top: 450px;
    left: 0px;
    text-align: center;

  }

}