/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.container{
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../images/login.jpg");
    background-size: cover;
    background-position: center;
    column-gap: 30px;
    position: relative;
}
.overlay-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}
.overlay-bg:hover{
    opacity: 1;
    pointer-events: auto;
}
.form{
    position: absolute;
    max-width: 430px;
    width: 100%;
    padding: 30px;
    border-radius: 6px;
    background: #FFF;
}
.form.signup,
.form.forgot,
.form.forgotNext{
    opacity: 0;
    pointer-events: none;
}
.forms.show-signup .form.signup{
    opacity: 1;
    pointer-events: auto;
}
.forms.show-signup .form.login,
.forms.show-signup .form.forgot,
.forms.show-signup .form.forgotNext{
    opacity: 0;
    pointer-events: none;
}

.forms.show-forgot-pass .form.forgot{
    opacity: 1;
    pointer-events: auto;
}
.forms.show-forgot-pass .form.login,
.forms.show-forgot-pass .form.signup,
.forms.show-forgot-pass .form.forgotNext{
    opacity: 0;
    pointer-events: none;
}
.forms.show-forgot-next .form.login,
.forms.show-forgot-next .form.signup,
.forms.show-forgot-next .form.forgot{
    opacity: 0;
    pointer-events: none;
}
.forms.show-forgot-next .form.forgotNext{
    opacity: 1;
    pointer-events: auto;
}



header{
    display: flex;
    justify-content: space-between;
    font-size: 28px;
    font-weight: 600;
    color: #232836;
    text-align: center;
    margin-block-end: 60px;
}
header img{
    width: 180px;
    height: 45px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
form{
    margin-top: 30px;
}
.form .field{
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 20px;
    border-radius: 6px;
}
.field input,
.field button{
    height: 100%;
    width: 100%;
    border: none;
    font-size: 16px;
    font-weight: 400;
    border-radius: 6px;
}
.field input{
    outline: none;
    padding: 0 15px;
    border: 1px solid#CACACA;
}
.field input:focus{
    border-bottom-width: 2px;
}
.eye-icon{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #8b8b8b;
    cursor: pointer;
    padding: 5px;
}
.field button{
    color: #fff;
    font-weight: 700;
    background-color: #d30101;
    transition: all 0.3s ease;
    cursor: pointer;
}
.field button:hover{
    background-color: #730000;
}
.form-link{
    text-align: center;
    margin-top: 10px;
}
.form-link span,
.form-link a{
    font-size: 14px;
    font-weight: 400;
    color: #232836;
}
.form a{
    color: #d30101;
    text-decoration: none;
}
.form a.forgot-pass{
    color: #820000;
    text-decoration: none;
}
.form-content a:hover{
    text-decoration: underline;
}
.line{
    position: relative;
    height: 1px;
    width: 100%;
    margin: 36px 0;
    background-color: #d4d4d4;
}
.line::before{
    content: 'Or';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50px;
    border: 1px solid #8b8b8b;
    background-color: #FFF;
    color: #8b8b8b;
    padding: 0 10px;
}
.media-options a{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
a.facebook{
    color: #fff;
    background-color: #4267b2;
    transition: all 0.3s ease;
}
a.facebook .facebook-icon{
    height: 28px;
    width: 28px;
    color: #0171d3;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
a.facebook:hover{
    background-color: #2d4678;
}
.facebook-icon,
img.google-img{
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}
img.google-img{
    height: 20px;
    width: 20px;
    object-fit: cover;
}
a.google{
    border: 1px solid #CACACA;
    transition: all 0.3s ease;
}
a.google:hover{
    background-color: #ebebeb;
}
a.google span{
    font-weight: 500;
    opacity: 0.6;
    color: #232836;
}

@media screen and (max-width: 400px) {
    .form{
        padding: 20px 10px;
    }
    
}