@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200;300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
}

.container {
    width: 60%;
    display: flex;
    height: 650px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    border-radius: 10px;
    overflow: hidden;
}
.img{
    width: 200px;
}

/* .container .box {
    position: relative;
    height: 100%;
    width: 50%;
    transition: all 1.5s;
    transform: translateX(0);
    background-color: #fff;
    z-index: 1;
}

.container.active .box {
    transition: all 1.5s;
    transform: translateX(100%);
}

.container .box .form {
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.container .box .form.sign_up {
    opacity: 0;
    z-index: 2;
    background-color: #fff;
}


.container .box .form.sign_in {
    transition: all 0.5s;
    z-index: 5;
    background-color: #fff;
}

.container.active .box .form.sign_in {
    animation: Show 0.65s ease-in-out;
}

.container .overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #FF4167;
    width: calc(100% - 50%);
    height: 100%;
    transition: all 1.5s;
    transform: translateX(0);
    z-index: 5;
}

.container.active .overlay {
    transition: all 1.5s;
    transform: translateX(-100%);
}

.container .overlay .page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.container .overlay .page.page_signIn {
    z-index: 2;
    background-color: #FF4167;
}

.container .overlay .page.page_signUp {
    z-index: 5;
    background-color: #FF4167;
}

.overlay .page h3 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 15px;
}

.overlay .page p {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 17px;
}

.btn {
    display: inline-block;
    outline: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 550;
    background-color: transparent;
    padding: 12px 45px;
    border-radius: 22px;
    border: 1.5px solid #fff;
    cursor: pointer;
}

.form h3 {
    color: #222;
    font-size: 40px;
}

.form span {
    color: #3a3838;
}

#form_input .type {
    width: 330px;
    height: 48px;
    background-color: #EEEDEF;
    margin: 30px 0;
}

#form_input .type input {
    width: 100%;
    height: 100%;
    padding: 0 10px;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: transparent;
}

#form_input .type input::placeholder {
    color: #A9A8A9;
}

#form_input .forgot {
    margin-bottom: 20px;
    font-weight: 500;
}

.bkg {
    background-color: #FF4167;
} */

@keyframes Show {
    0%, 49.999% {
        opacity: 0;
        z-index: 1;
    }
    100% {
        opacity: 1;
        z-index: 5;
    }
}

@keyframes Hidden {
    0%, 49.999% {
        opacity: 1;
        z-index: 5;
    }
    100% {
        opacity: 0;
        z-index: 1;
    }
}

.container .box {
    position: relative;
    display: flex;
    height: 100%;
    width: 50%;
    transition: all 0.8s;
    transform: translateX(0);
    background-color: #fff;
    z-index: 1;
    overflow: hidden;
}


.container.active .box {
    transform: translateX(100%);
}

.container .box .form {
    position: absolute;
    height: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.container .box .form.sign_up {
    /* transition: all 0.5s;
    opacity: 0;
    transform: translateX(-100%); */
}

.container .box .form.sign_up {
    transition: all 1.15s;
    z-index: 1;
    opacity: 0;
    background-color: #fff;
}

.container .box .form.sign_in {
    opacity: 1;
    transition: all 1.15s;
    z-index: 5;
    background-color: #fff;
}

.container.active .box .form.sign_in {
    z-index: 1;
    opacity: 0;
}
.container.active .box .form.sign_in .img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.container.active .box .form.sign_up {
    z-index: 5;
    opacity: 1;
}
.container.active .box .form.sign_up .img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.container.active .box .form.sign_up {
    /* opacity: 1;
    transform: translateX(0%); */
}

.container .box .form.sign_in {
    /* transition: all 0.5s;
    opacity: 1;
    transform: translateX(0%); */
}

.container.active .box .form.sign_in {
    /* opacity: 0;
    transform: translateX(100%); */
}

.container .overlay {
    display: flex;
    height: 100%;
    width: 50%;
    transition: all 0.8s;
    transform: translateX(0);
    background-color: #1673ff;
    z-index: 1;
    overflow: hidden;
    z-index: 5;
    opacity: 1;
}

.container.active .overlay {
    transform: translateX(-100%);
}

.container .overlay .page {
    height: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.5s;
    opacity: 1;
}

.container.active .overlay .page.page_signIn {
    opacity: 0;
    margin-left: -100%;
}

.container.active .overlay .page.page_signUp {
    margin-left: 0%;
}


.overlay .page h3 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 15px;
}

.overlay .page p {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 17px;
}

.btn {
    display: inline-block;
    outline: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 550;
    background-color: transparent;
    padding: 12px 45px;
    border-radius: 22px;
    border: 1.5px solid #fff;
    cursor: pointer;
}

.form h3 {
    color: #222;
    font-size: 40px;
}

.form span {
    color: #3a3838;
}

#form_input .type {
    width: 330px;
    height: 48px;
    background-color: #EEEDEF;
    margin: 30px 0;
}

#form_input .type input {
    width: 100%;
    height: 100%;
    padding: 0 10px;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: transparent;
}

#form_input .type input::placeholder {
    color: #A9A8A9;
}

#form_input .forgot {
    margin-bottom: 20px;
    font-weight: 500;
}

.bkg {
    background-color: #1673ff;
}