*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--default-font);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background : linear-gradient(90deg, #e2e2e2, #c9d6ff);
}

.try-again{
    cursor: pointer;
    position: relative;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 20px;
}

.try-again:hover{
    color: var(--accent-color);
}

.try-again:after{
    content: '';
    position: absolute;
    left: 0px;
    right: 0px;
    height: 1px;
    top: 100%;
    background: var(--text-color);
    margin-top: 10px;
    transition: all 0.3s ease;
}

.try-again:hover:after{
    left: 30%;
    right: 30%;
    background: var(--accent-color);
}

.pop-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.pop-img{
    height: auto;
    width: 100%;
    position: relative;
    z-index: 5555;
}

.pop-img img{
    width: 100%;
    height: auto;
}

.pop-form {
    width: 100%;
    height: auto;
}

.wrapper-1{
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper-2{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop-btn{
    cursor: pointer;
    position: relative;
    z-index: 2;
    appearance: none;
    -webkit-appearance: none;
    background: none;
    outline: none;
    border: none;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop-text{
    display: inline-block;
    z-index: 2;
}

.popup{
    opacity: 0;
    visibility: hidden;
    height: 90%;
    width: 90%;
    flex-shrink: 0;
    border-radius: 20px;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    overflow: hidden;
}

.popup-inside{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 50%;
    transition:
            box-shadow 0.5s ease 0.2s,
            border-radius 0.35s ease 0.2s;
}

.backgrounds{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.background{
    --offset: 0;
    position: absolute;
    left: var(--offset);
    right: var(--offset);
    bottom: var(--offset);
    top: var(--offset);
    transform: scale(0);
    transition: all 0.5s ease 0s;
    border-radius: 50%;
}

.background2{
    --offset: 10%;
    position: absolute;
    left: var(--offset);
    right: var(--offset);
    bottom: var(--offset);
    top: var(--offset);
    transform: scale(0);
    transition: all 0.5s ease 0.1s;
}

.background3{
    --offset: 20%;
    position: absolute;
    left: var(--offset);
    right: var(--offset);
    bottom: var(--offset);
    top: var(--offset);
    z-index: 2;
    transition: all 0.5s ease 0.2s;
}

.background4{
    --offset: 30%;
    position: absolute;
    left: var(--offset);
    right: var(--offset);
    bottom: var(--offset);
    top: var(--offset);
    z-index: 3;
    transition: all 0.5s ease 0.3s;
}

.background5{
    --offset: 40%;
    position: absolute;
    left: var(--offset);
    right: var(--offset);
    bottom: var(--offset);
    top: var(--offset);
    z-index: 4;
    transition: all 0.5s ease 0.4s;
}

.background6{
    background: #f2f1ed;
    z-index: 5;
    transition: all 0.8s ease 0.4s;
}

.pop-content{
    left: var(--offset);
    right: var(--offset);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.35s ease 0.75s;
    z-index: 10;
}

.pop-content-wrapper{
    text-align: center;
}

body.active .pop-content{
    opacity: 1;
    transform: none;
}

body.active .popup{
    opacity: 1;
    visibility: visible;
}

body.active .popup-inside{
    border-radius: 0;
    box-shadow: -50px 0 200px -50px #504bff, 50px 0 200px -50px #4cfa63;
}

body.active .background{
    transform: scale(1);
}

body.active .background6{
    transform: scale(8);
}

.users .fld.shaker{
    animation: shake 0.3s ease-in-out;
} 

@keyframes shaker {
    0%, 100% {
        margin-left: 0;
    }
    20%, 80% {
        margin-left: -12px;
    }
    40%, 60% {
        margin-left: 12px;
    }
}

.popup .rfield.shak{
    animation: shak 0.3s ease-in-out;
} 

@keyframes shak {
    0%, 100% {
        margin-left: 0;
    }
    20%, 80% {
        margin-left: -12px;
    }
    40%, 60% {
        margin-left: 12px;
    }
}

.sform .err-icon {
    color: #dc3545;
    right: 15px;
}

.sform .err-text {
    color: #dc3545;
    text-align: center;
    margin-top: 5px;
    font-weight: 600;
}


.sform .fld.err input {
    border-color: #dc3545;
    transition: 0.4s ease-in-out;
}

.sform .fld .err {
    display: none;
}

.sform .fld.err .err {
    display: block;
}

.rfield .errr-icon {
    color: #dc3545;
    right: 15px;
}

.reset .errr-text {
    color: #dc3545;
    text-align: center;
    margin-top: 5px;
    font-weight: 600;
}


.reset .rfield.errr input {
    border-color: #dc3545;
    transition: 0.4s ease-in-out;
}

.reset .rfield .errr {
    display: none;
}

.reset .rfield.errr .errr {
    display: block;
}

.users {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 0px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    overflow: hidden;
    margin: 20px;
}

.users .form-box {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-align: center;
    padding: 40px ;
    z-index: 1;
    transition: .6s ease-in-out 1.2s, visibility 0s 1s;
}

.popup .form-box {
    right: 0;
    width: 100%;
    height: 100%;
    background:#f2f1ed;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-align: center;
    z-index: 1;
    padding: 0px 100px;
    transition:all .6s ease-in-out .5s, visibility 0s 0.1s;

}

.users.active .form-box {
    right: 50%;
}

.users .form-box.register {
    visibility: hidden;
}

.users.active .form-box.register {
    visibility: visible;
}

.users form {
    width: 75%;
    margin: 0 auto;
}

.popup form {
    width: 100%;
    margin: 0 auto;
}

.users h1 {
    margin: 0px auto;
    text-align: center;
    width: 100%;
    font-size: 45px;
    color: var(--white-color);
}

.popup h1 {
    margin: 0px auto 10px;
    text-align: center;
    width: 100%;
    font-size: 45px;
    color: var(--white-color);
}

.users .input-box {
    position: relative;
    margin:  30px 0px 10px ;
}

.popup .input-box {
    position: relative;
    margin:  30px 0px 10px ;
}

.users .input-box input {
    width: 100%;
    padding: 13px;
    background: #fff;
    border-radius: 0px;
    border: 1px solid #bbbbbb;
    outline: none;
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
}

.popup .input-box input {
    width: 100%;
    padding: 13px;
    background: #f2f1ed;
    border-radius: 0px;
    border: 1px solid #bbbbbb;
    outline: none;
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
}

.users .field.shake{
    animation: shake 0.3s ease-in-out;
} 

@keyframes shake {
    0%, 100% {
        margin-left: 0;
    }
    20%, 80% {
        margin-left: -12px;
    }
    40%, 60% {
        margin-left: 12px;
    }
}

.users .input-box input:focus {
    border: 1px solid #12a5c1;
    transition: 0.4s ease-in-out;
}

.users .input-box input::placeholder {
    color: var(--text-color);
    font-weight: 400;
}

.popup .input-box input:focus {
    border: 1px solid #12a5c1;
    transition: 0.4s ease-in-out;
}

.popup .input-box input::placeholder {
    color: var(--text-color);
    font-weight: 400;
}

form .input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

form .error-icon {
    color: #dc3545;
    right: 15px;
}

form .error-text {
    color: #dc3545;
    text-align: center;
    margin-top: 5px;
    font-weight: 600;
}

form .field.error input {
    border-color: #dc3545;
    transition: 0.4s ease-in-out;
}

form .field .error {
    display: none;
}

form .field.error .error {
    display: block;
}

.users .forgot-link {
    margin: 20px 0 15px;
}

.users .forgot-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.users .forgot-link a:hover {
    color: var(--accent-color);
    transition: 0.4s ease-in-out;
}

.users .btn {
    width: 100%;
    height: 52px;
    position: relative;
    display: inline-block;
    background-image: linear-gradient(to right, var(--dark-color) 0%, var(--accent-color) 50%, var(--dark-color) 100%);
    background-size: 200% auto;
    border-radius: 100px;
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    line-height: 1em;
    text-transform: capitalize;
    border: none;
    padding: 17px 54px 17px 20px;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    z-index: 0;
}

.popup .btn {
    width: 100%;
    height: 52px;
    position: relative;
    display: inline-block;
    background-image: linear-gradient(to right, var(--dark-color) 0%, var(--accent-color) 50%, var(--dark-color) 100%);
    background-size: 200% auto;
    border-radius: 100px;
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    line-height: 1em;
    text-transform: capitalize;
    border: none;
    padding: 17px 54px 17px 20px;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    z-index: 0;
    margin-top: 20px;
}

.popup .btn:hover{
	background-position: right center;
}

.users .btn:hover{
	background-position: right center;
}

.users .btn::before {
    content: '';
    position: absolute;
    top: -1px;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: url(../images/arrow-white.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: translate(-20px, 50%);
    transition: all 0.4s ease-in-out;
}

.popup .btn::before {
    content: '';
    position: absolute;
    top: -1px;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: url(../images/arrow-white.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: translate(-20px, 50%);
    transition: all 0.4s ease-in-out;
}

.users .btn:hover::before{
	transform: translate(-15px, 50%) rotate(45deg);
}

.popup .btn:hover::before{
	transform: translate(-15px, 50%) rotate(45deg);
}

.users p {
    margin: 15px 0;
    text-align: center;
}

.users .social-icons {
    display: flex;
    justify-content: center;
}

.users .social-icons .icon-box a i {
    color: var(--white-color);
    font-size: 21px;
    transition: all 0.3s ease-in-out;
}

.users .social-icons .icon-box {
    justify-content: center;
    display: inline-flex;
    width: 50px;
    height: 50px;
    line-height: 5px;
    text-decoration: none;
    margin: 0 8px;
    background-image: linear-gradient(to right, var(--dark-color) 0%, var(--accent-color) 50%, var(--dark-color) 100%);
    background-size: 200% auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    transition: all 0.4s ease-in-out;
}

.users .social-icons .icon-box:hover {
	background-position: right center;
}

.users .toggle-box {
    position: absolute;
    width: 100%;
    height: 100%;
}

.users .toggle-box::before {
    content: '';
    position: absolute;
    left: -250%;
    width: 300%;
    height: 100%;
    background: linear-gradient(180deg, rgb(0, 157, 209) 0%, rgb(131, 196, 80) 100%);
    border-radius: 100px;
    z-index: 2;
    transition: 1.8s ease-in-out; 
    background-image: url(../images/signinbg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
}

.users.active .toggle-box::before {
    left: 50%;
}

.users .toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: .6s ease-in-out;
}

.users .toggle-panel.toggle-left {
    left: 0;
    transition-delay: 1.2s;
}

.users.active .toggle-panel.toggle-left {
    left: -50%;
    transition-delay: .6s;
}

.users .toggle-panel.toggle-right {
    right: -50%;
    transition-delay: .6s;
}

.users.active .toggle-panel.toggle-right {
    right: 0;
    transition-delay: 1.2s;
}

.users .toggle-panel p {
    width: 60%;
    margin: 0px auto 20px;
}

.users .toggle-panel .btn {
    width: 220px;
    height: 52px;
    background: transparent;
    border: 1px solid #fff;
    box-shadow: none;

}

@media screen and (max-width : 650px) {
    .users {
        height: 100vh;
    }

    .users h1 {
        font-size: 25px;
        margin: 0px auto 10px;
        text-align: center;
        width: 80%;
    }

    .users .toggle-panel p {
    width: 80%;
    font-size: 14px;
    margin:0px auto 20px;
    }

    .users .form-box {
        bottom: 0;
        width: 100%;
        height: 70%;
    }

    .users.active .form-box {
        right: 0;
        bottom: 30%;
    }

    .users .toggle-box::before {
        left:0;
        top: -270%;
        width: 100%;
        height: 300%;
        border-radius: 20vw;
    }
    
    .users.active .toggle-box::before {
        top: 70%;
        left: 0;
    }


    .users .toggle-panel {
        width: 100%;
        height: 30%;
    }

    .users .toggle-panel.toggle-left {
        top: 0;
    }

    .users.active .toggle-panel.toggle-left {
        left: 0;
        top: -30%;
    }

    .users .toggle-panel.toggle-right {
        right: 0;
        bottom: -30%;
    }

    .users.active .toggle-panel.toggle-right {
        bottom: 0;
    }
}

@media screen and (max-width : 400px) {
    .users .form-box {
        padding: 20px;
    }

    .users .toggle-panel h1 {
        font-size: 20px;
    }

}

.radio-lang-s {
	background: #090b4c;
    border-radius: 50px;
    padding: 0px 8px;
	margin-right: 30px;
    color: var(--text-color);
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 35px;
    width: 110px;
    position: relative;
    transition: all 0.5s ease-in-out;
}

.radio-lang-s.offf {
	background: #212529;
}
.radio-lang-s.offf .bar-lang {
	background-image: url(../images/uae.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	left: 50%;
}
.radio-lang-s.offf label[for='onn'] {
	color: var(--text-color);
}
.radio-lang-s.offf label[for='offf'] {
	color: transparent;
}
.radio-lang-s .wrap-lang {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 50px;
	overflow: hidden;
	position: relative;
}
.radio-lang-s input {
	opacity: 0;
	pointer-events: none;
}
.radio-lang-s label {
	font-size: 14px;
	line-height: normal;
	position: relative;
	z-index: 1;
	cursor: pointer;
	transition: all 0.5s ease-in-out;
	user-select: none;
}
.radio-lang-s label[for='onn'] {
	margin-left: 10px;
	color: transparent;
}
.radio-lang-s label[for='offf'] {
	margin-right: 10px;
}
.radio-lang-s #onn {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.radio-lang-s #offf {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.radio-lang-s .bar-lang {
	background-image: url(../images/usa.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	left: 0%;
	top: 50%;
	transform: translateY(-50%);
	height: 30px;
	width: 50px;
	border-radius: 50px;
	transition: all 0.5s ease-in-out;
}

.cta-home {
    position: relative;
    margin: 0;
    padding: 12px 18px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    top: 5px;
    left: -20px;
}

.cta-home:before {
 content: "";
 position: absolute;
 top: 0;
 left: -10px;
 display: block;
 border-radius: 50px;
 background-position: center;
 background-repeat: no-repeat;
 background-size: cover;
 width: 45px;
 height: 45px;
 opacity: 0.3;
 transition: all 0.3s ease;
}

.cta-home span {
 position: relative;
 font-size: 14px;
 letter-spacing: 0.05em;
}

.cta-home span a {
 color: var(--white-color);
}

.cta-home:hover:before {
 width: 100%;
 background: transparent;
}

.cta-home:active {
 transform: scale(0.95);
}