@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");

.main {
    width: 340px;
    height: 500px;
    background: white;
    border-radius: 3px;
    padding: 30px;
    position: relative;
    display: flex;
    margin: 0 auto;
}

.main-content{
    padding: 0 !important;
}

.main .form_wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.main .form_wrapper .tile {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    overflow: hidden;
}

.main .form_wrapper .tile h3 {
    font-size: 22px;
    margin: 0px;
    transition: all 0.3s ease;
}

.main .form_wrapper .radio {
    display: none;
}

.main .form_wrapper .tab {
    width: 50%;
    border: solid 2px #f1f1f1;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.main .form_wrapper .tab.login_tab {
    border-right: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.main .form_wrapper .tab.signup_tab {
    border-left: none;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.main .form_wrapper .shape {
    background: #294dff;
    cursor: pointer;
    width: 50%;
    height: calc(40px - 1px);
    border-radius: 5px;
    position: absolute;
    top: 54.5px;
    left: 0px;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.main #login:checked~.shape {
    left: 0px;
}

.main #login:checked~.login_tab {
    border-color: transparent;
    z-index: 1;
    color: white;
}

.main #login:checked~.tile .signup {
    display: none;
}

.main #login:checked~.form_wrap {
    transform: translateX(0);
}

.main #login:checked~.form_wrap .signup_form {
    opacity: 0;
}

.main #signup:checked~.shape {
    left: 50%;
}

.main #signup:checked~.signup_tab {
    border-color: transparent;
    z-index: 1;
    color: white;
}

.main #signup:checked~.tile .login {
    display: none;
}

.main #signup:checked~.form_wrap {
    transform: translateX(-100%);
}

.main #signup:checked~.form_wrap .login_form {
    opacity: 0;
}

.main .form_wrapper a {
    text-decoration: none;
    transition: all 0.3s linear;
}

.main .form_wrap {
    display: flex;
    width: 100%;
    flex: 0 0 100%;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.main .form_wrap .form_fild {
    width: 100%;
    flex: 0 0 100%;
    transition: all 0.5s ease;
}

.main .form_wrap .form_fild .input_group {
    width: 100%;
    margin-bottom: 12px;
}

.main .form_wrap .form_fild .input_group .input {
    border: solid #f1f1f1 2px;
    border-radius: 5px;
    width: 100%;
    height: 40px;
    padding: 5px 10px;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s linear;
}


.main .form_wrap .form_fild .forgot {
    display: block;
    margin-bottom: 15px;
    padding: 0px 2px;
}

.main .form_wrap .form_fild .btn {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.8px;
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s linear;
}

.main .form_wrap .form_fild .btn:hover {
    background: #063691 !important;
}

.shape:hover{
    background: #063691 !important; 
}

.main .form_wrap .form_fild .btn:active {
    transform: scale(0.95);
}

.main .form_wrap .form_fild .not_mem {
    text-align: center;
}

.main .form_wrap .form_fild .not_mem label {
    pointer-events: none;
}

.empire-login-title{
    font-size: 30px !important;
    color: white;
}

.empire-login-desc{
    font-size: 20px !important;
    color: rgb(225, 221, 221);
}

@media (min-width: 992px) {
    .login-main{
        height: 100% !important;
    }
}

@media (max-width: 990px) {
    .login-mobile{
        margin-top: 50px;
    }

    .login-main{
        height: 52% !important;
    }
}