/* Import your web font, here we use Poppins Font */

@import url('https://fonts.googleapis.com/css2?family=Corinthia:wght@700&family=Poppins:wght@400;700&display=swap');

:root{
    --main-color: #f8dcb2;
    --dark-color: #421b1b;
    --light-color: #d0d4ed;
}
*{
    margin: 0;
    padding: 0;
}
*, ::before, ::after{
    box-sizing: border-box;
}
body{
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--dark-color);
    background-color: #efefef;
    
}
a{
    text-decoration: none;
}
h2{
    font-size: 3em;
    font-weight: 400;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
}
ul{
    list-style: none;
}
.container{
    max-width: 1100px;
    margin: 0 auto;
}
.wrapper>div {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    min-height: 500px;
    margin: 5em auto;
    background-color: var(--main-color);
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.45) 0 25px 20px -20px;
}
:is(.login,.signup) > div{
    position: relative;
    flex: 1 0 50%;
    padding: 60px;
}
.content-heading .y-style{
    display: flex;
    flex-direction: column;
}
.logo a{
    display: inline-block;
    margin-bottom: 60px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
}
.logo span{
    color: #8B4513;
}
.content-heading p{
    color: var(--light-color);
}
.content-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome{
    text-align: center;
}
.welcome h2{
    color: #8B4513;
    text-align: left;
    font-family: arial;
    /* left: 0; */
    
}




form input:not(#terms,#remember) {
    font-family: inherit;
    width: 100%;
    outline: 0;
    margin: 0 0 20px;
    padding: 10px 15px;
    border-radius: 7px;
    border: 1px solid var(--light-color);
}
form select:not(#terms,#remember) {
    font-family: inherit;
    width: 100%;
    outline: 0;
    margin: 0 0 20px;
    padding: 10px 15px;
    border-radius: 7px;
    border: 1px solid var(--light-color);
}
/* form select option{
    background-color: #480a0f;
} */
form input::placeholder{
    color: var(--light-color);
}
form button{
    background-color: #8B4513;
    color: white;
    width: 100%;
    /* margin: 30px; */
    /* margin-top: ; */
    border: 0;
    line-height: 42px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
    /*  we comment this so not bother refresh page on right side screen
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out; 
    */

}

@media  screen and (max-width: 320px){
     button{
          margin-right: 30px;
    }
}
button{
    background-color: #8B4513;
}
button:hover{
    /* background-color: var(--dark-color); */
    background-color: #A0522D;
}

/* ===== verify button ===== */
.verify{
    background-color: #8B4513;
    width: 100px;
    height: 40px;
    font-size:small;
    /* margin-bottom: 4px; */
    margin-left: 4px;
}
.verify:hover{
    background-color: #A0522D;
}
.email{
    display: flex;
}
.otp-verify{
    display: flex;

}
.afterform{
    text-align: center;
    margin-top: 20px;
}

/* form .check{
    position: relative;
    padding-left: 20px;
    font-size: 12px;
    float: left;
}
form .check input{
    position: absolute;
    left: 0;
    top: 4px;
} */
/* form .forgot{
    float: right;
    font-size: 12px;
} */

form label a, .afterform a {
    color: var(--main-color);
}
form :is(p, label) a:hover, .afterform a:hover{
    border-bottom: 1px dotted;
}
.content-form::before{
    content: '';
    position: absolute;
    width: 300%;
    height: 200%;
    background-color: white;
    border-radius: 50%;
    transform: translate3d(-27%, 21%, 0);
    -webkit-transform: translate3d(-27%, 21%, 0);
    animation: move 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) both;
    -webkit-animation: move 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@keyframes move{
    from{
        opacity: 0;
        transform: translate3d(50%, 60%, 0);
    }
    to{
        opacity: 1;
    }
}
.y-style{
    position: relative;
    transform: translate3d(0, 20%, 0);
    -webkit-transform: translate3d(0, 20%, 0);
    animation: fade-in 0.7s cubic-bezier(0.39, 0.575, 0.565, 1) both;
    -webkit-animation: fade-in 0.7s cubic-bezier(0.39, 0.575, 0.565, 1) both;
    align-items: center;
}
.y-style img{
    height: 50px;
    width: 50px;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}
@keyframes fade-in{
    from{
        opacity: 0;
        transform: translate3d(0, 20%, 0);
    }
    to{
        opacity: 1;
    }
}
:is(.login-show, .signup-show) .y-style{
    transform: translate3d(0,0,0);
}
.social :is(ul, p){
    display: flex;
    justify-content: center;
    position: relative;
    gap: 20px;
    margin: 20px 0;
}
.social p::before{
    content: '';
    position: absolute;
    height: 1px;
    width: 90%;
    background-color: var(--light-color);
    top: 0;
    margin-top: 11px;
}
.social p span{
    background-color: white;
    z-index: 1;
    padding: 0 20px;
    color: var(--light-color);
    font-size: 11px;
}
.social a{
    display: flex;
    font-size: 20px;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    transition: transform .3s;

}
.social a:hover{
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);

}
.social .instagram{
    color: #5d0e07;
}
.social .facebook{
    color: #4267b2;
}
.social .twitter{
    color: #1da1f2;
}

.login-show .signup, .signup-show .login{
    display: none;
}
.signup-show .signup, .login-show .login{
    display: flex;
}



@media  screen and (min-width: 768px) {
    .wrapper>div{
        flex-direction: row;
        max-width: 800px;
    }
    .signup .content-heading .y-style{
        height: 100%;
        justify-content: space-between;
    }
    .content-form::before{
        width: 200%;
        transform: translate3d(-18%, -10%, 0);
        -webkit-transform: translate3d(-18%, -10%, 0);
    }
    .welcome{
        text-align: left;
        margin: 5em 0 auto;
    }
    
    
}
