

:root {
    --linear-grad: linear-gradient(to right, #1D60AC, #184d8c);
    --grad-clr1: #1D60AC;
    --grad-clr2: #184d8c;
}

.authenticationContainer{
    position: relative;
    width: clamp(40rem,90vw,65rem);
    height: 600px;
    background-color: #FFF;
    box-shadow: 25px 30px 55px #5557;
    border-radius: 13px;
    overflow: hidden;
    margin: auto;
}

.authenticationContainer .form-container{
    position: absolute;
    width: 60%;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.authenticationContainer .sign-up-container{
    opacity: 0;
    z-index: 1;
}

.authenticationContainer .sign-in-container{
    z-index: 1;
}

.authenticationContainer div.form {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 50px;
}

.authenticationContainer h1{
    color: var(--grad-clr1);
}

.authenticationContainer .social-container{
    margin: 20px 0px;
}

.authenticationContainer .social-container a{
    border: 1px solid #ddd;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0px 5px;
    height: 40px;
}

.authenticationContainer span{
    font-size: 12px;
}

.authenticationContainer .infield {
    position: relative;
    margin: 8px 0px;
    width: 100%;
    max-width: 50rem;
}

.authenticationContainer a{
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0px;
}

.authenticationContainer button:not(#passwordVisibility){
    border-radius: 20px;
    border: 1px solid var(--grad-clr1);
    background: var(--grad-clr2);
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.authenticationContainer .form-container button{
    margin-top: 17px ;
    transition: 80ms ease-in;

}

.form-container button:hover{
    background: #FFF;
    color: var(--grad-clr1);
}

.authenticationContainer .overlay-container{
    position: absolute;
    top: 0;
    left: 60%;
    width: 40%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 1;

}

.authenticationContainer #overlayBtn {
    cursor: pointer;
    position: absolute;
    left: 50%;
    top:  352.5px;
    transform: translateX(-50%);
    width: 143.67px;
    height: 40px;
    border: 1px solid #FFF;
    background: transparent;
    border-radius: 20px;


}

.authenticationContainer .overlay{
    position: relative;
    background: var(--linear-grad);
    color: #FFF;
    left: -150%;
    height: 100%;
    width: 250%;
    transition: transform 0.6s ease-in-out;

}

.authenticationContainer .overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0px 40px;
    text-align: center;
    height: 100%;
    width: 40%;
    transition: 0.6s ease-in-out;
    word-wrap: break-word;
}

.authenticationContainer .overlay-left{
    right: 60%;
    transform: translateX(-12%);
}

.authenticationContainer .overlay-right{
    right: 0;
    transform: translateX(0%);
}

.authenticationContainer .overlay-panel h1{
    color: #FFF;

}

.authenticationContainer .overlay-panel a{
    color: #FFF;

}

.authenticationContainer p{
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 25px 0px 35px;
}

.right-panel-active .overlay-container{
    transform: translateX(-150%);
}

.right-panel-active .overlay{
    transform: translateX(50%);
}

.right-panel-active .overlay-left{
    transform: translateX(25%);
}

.right-panel-active .overlay-right{
    transform: translateX(35%);
}

.right-panel-active .sign-in-container{
    transform: translateX(20%);
    opacity: 0;
}

.right-panel-active .sign-up-container{
    transform: translateX(66.7%); 
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {
    0%, 50%{
        opacity: 0;
        z-index: 1;
    }
    50.1%, 100%{
        opacity: 1;
        z-index: 5;
    }
}
