body {
    background: #f6f5f7;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    margin: 20px 0 50px;
}

h2 {
    line-height: 0.8;
    margin: 0px;
    text-align: center;
}

a {
    text-decoration: none;
}

.sign-in-btn {
    width: 100%;
}

.ghost {
    margin: 5px;
    border-radius: 20px;
    border: none;
    background-color: #00000080;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    height: 38px;
    padding: 1px 16px;
    letter-spacing: 1px;
    text-transform: capitalize;
    transition: transform 80ms ease-in;
}

button {
    margin: 5px;
    border-radius: 10px;
    border: none;
    background-color: #D89B3E;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    height: 38px;
    padding: 1px 16px;
    letter-spacing: 1px;
    text-transform: capitalize;
    transition: transform 80ms ease-in;
}

.google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    Background-color: transparent;
    color: #000000;
    border: 1px solid #00000040;
    margin: 10px auto;
    justify-content: center;
}

.google-btn img.google-logo {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

button:active {
    transform: scale(0.95);
}

button:focus {
    outline: none;
}

form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px 75px;
    height: 100%;
    text-align: center;
}

input {
    background-color: none;
    border: 1px solid #C4C4C4;
    border-radius: 12px;
    padding: 9px 15px;
    width: 100%;
}

.container {
    background-color: #fff;
    /* border-radius: 10px; */
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    width: 900px;
    max-width:90%;
    height: 680px;
}

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

input[type="text"],
input[type="email"],
input[type="tel"] {
    border: 1px solid #C4C4C4;
    border-radius: 10px;
    padding: 6px 13px;
    width: 100%;
    ;
    box-sizing: border-box;
    color: #333;
}

label {
    display: none;
    color: #333;
    font-weight: bold;
}

/* button:hover {
    background-color: #ffdd99;
} */

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.headline {
    font-weight: 400;
    font-size: 14px;
    color: #636364;
}

.signIn-logo,
.signUp-logo {
    width: 171px;
    height: 155px;
}

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

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
    background: url('../image/shell\ carved\ wooden\ clutch\ 1.jpg') no-repeat center center/cover;
    /* Add background image */
}

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

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}
@media (max-width: 549px) {
    .overlay-container {
        height: 60px;
    }
}

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

.overlay {
    background: #6d3b2f;
    /* background: -webkit-linear-gradient(to right, #FF4B2B, #FF416C);
    background: linear-gradient(to right, #FF4B2B, #FF416C); */
    /* background-image: url('../image/rectangle\ wooden\ carved\ clutch\ 3.jpg'); */
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

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

.overlay-panel-left {
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-panel-right {
    position: absolute;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left {
    background-image: url('../image/shell\ carved\ wooden\ clutch\ 1.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    background-image: url('../image/rectangle\ wooden\ carved\ clutch\ 3.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    ;
    transform: translateX(0);
}

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

button:focus,
input:focus {
    outline: none;
    box-shadow: none;
}

.form-group {
    width: 100%;
}

.form-control {
    display: block;
    width: 100%;
    height: 38px;
    padding: 1px 16px;
    font-size: 1rem;
    line-height: 1.4;
    color: #475F7B;
    background-color: #FFF;
    border: 1px solid #DFE3E7;
    border-radius:10px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 6px 12px;
    border-right: none;
    border-radius: 10px 0 0 10px;
}

input[type="tel"] {
    flex: 1;
    padding-left: 12px;
    border-radius: 0 10px 10px 0;
}

.form-control:focus {
    color: #475F7B;
    background-color: #FFF;
    border-color: #5A8DEE;
    outline: 0;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.1);
}

.signup-text {
    font-weight: 500;
    font-size: 12px;
    color: #595959;
    margin: 0;
}

.signup-text .highlight {
    color: #D89B3E;
    /* Change this color to match the orange in your image */
    text-decoration: none;
    font-weight: bold;
}

.signup-text .highlight:hover {
    text-decoration: underline;
}

.trouble-link {
    color: #595959;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #595959;
}

.trouble-link:hover {
    color: #333;
    border-bottom-color: #333;
}

@media(max-width:550px){
    /* .overlay-panel-left ,.overlay-panel-right {
        width: 100%;
    } */

    .container.right-panel-active .sign-up-container  ,.container.right-panel-active .overlay-right {
        transform: translateX(0%);
    }

    .sign-up-container ,.sign-in-container{
        left:0;
        width: 100%;
    }

    .overlay-right ,.overlay-left {
        /* right: 0; */
        background-image: none;
        background-color: transparent;
    }

    .overlay{
        background: transparent;
    }

    .overlay-panel-left {
        width: fit-content;
        height: fit-content;
    }

    .overlay-panel-right {
        width: fit-content;
        height: fit-content;
    }

    .ghost{
        margin: 10px;
    }
}

@media(max-width:850px){
    form {
        padding: 30px 35px;
    }
}