*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
::selection{
    background-color: orangered;
    color: #fff;
}
html{
  scroll-behavior: smooth;
}

a{
    text-decoration: none;
}

body{
    background-color: #fff;
}
.container-1 {
    width: 80%;
    margin: 0;
    margin: auto;

}
.container {
    width: 80%  !important;
    margin: auto;

}



/* ============================header==================================== */

nav {
    padding: 10px 0;
    margin-bottom: 10%;
    

}
.border-bottom{
  border-bottom: 1px solid #ccc;
  margin-top: 0;
}
.header-content{
    display: flex;
    justify-content: space-between;
   
}
.header-content  .brand {
    font-size: 24px;
    color: #000;
    margin-left: 10px;
}
.header-content  .brand span{
color: orangered;
}

nav ul {
    display: flex;
    list-style: none;
}
nav  li a {
    display: block;
    color: #000;
    text-decoration: none;
}

nav  ul#user_info {
    display: none;
}
#links{
    margin-right: 20px;
}
#links li a{
    text-decoration: none;
    text-align: center;
}
#links li i{
    color: #000;
    font-size: 16px;
    cursor: pointer;
  
}
.header-content .brand{
    text-decoration: none;
    color: #000;
    font-size: 30px;

}

nav ul#user_info li i  {
    color: #000;
    font-size: 16px;
    cursor: pointer;
    margin-left: 5px;
}
 ul li span{
    font-size: 14px;
    color: #0000;
    text-align: center;
   
 }

nav ul#user_info li{
    margin: 0px 10px;
    position: relative;
}
nav ul#user_info li{
    position: relative;
}


/* animation */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */




/* ===================login & register=================== */
.container{
        display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #fff;
    margin: 0px auto;
  
}
.wrapper{
    
    position: relative;
  width: 750px;
  height: 450px;
border: 2px solid #cccc;
box-shadow: 0 0 25px #cccc;
    background: transparent;
    overflow: hidden;
    margin: auto;
      margin-bottom: 10%;

}

.wrapper .from-box{
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.wrapper .from-box.login{
    left: 0;
    padding: 0 60px 0 40px;
   
}
.wrapper .from-box.login .animation{
transform: translateX(0);
transition: .7s ease;
opacity: 1;
filter: blur(0);
transition-delay: calc(.1s * var(--j));
}

.wrapper.active .from-box.login .animation{
    transform: translateX(-120%);
    opacity: 0;
filter: blur(10px);
    transition-delay: calc(.1s * var(--i));
    }

.wrapper .from-box.register{
    right: 0;
    padding: 0 40px 0 60px;
    pointer-events: none;
}
.wrapper.active .from-box.register{
    pointer-events: auto;

}
.wrapper .from-box.register .animation{
    transform: translateX(120%);
    opacity: 0;
filter: blur(10px);
    transition: .7s ease;
    transition-delay: calc(.1s * var(--j));
}
.wrapper.active .from-box.register .animation{
    transform: translateX(0);
    opacity: 1;
filter: blur(0);
transition-delay: calc(.1s * var(--i));

}

.from-box h2{
    font-size: 32px;
    color: #000;
    text-align: center;
}
.from-box .input-box{
    position: relative;
    width: 100%;
    height: 50px;
    margin: 25px 0;

}
.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #000;
    font-weight: 500;
    padding-right: 23px;
    border-bottom: 2px solid #000;
    transition: .4s;

}

.input-box input:focus,
.input-box input:valid{
    border-bottom-color:#000;


}
.input-box label{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    color: #000;
    pointer-events: none;
    transition: .4s;

}
.input-box input:focus~label,
.input-box input:valid~label{
top: -5px;
color: #000;

}

.input-box i{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 18px;
    color: #000;
    transition: .4s;

}
.input-box input:focus~i,
.input-box input:valid~i{
color: #0000;
}
.btn{
    position: relative;
    width: 100%;
    height: 45px;
    background: transparent;
    border: 2px solid #ccc;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    z-index: 1;
    overflow: hidden;

}
.btn::before{
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    background: linear-gradient(orangered, #ccc, orangered , #cccc);
    z-index: -1;
transition: .4s;
}
.btn:hover::before{
    top: 0;
}

.from-box .login-register{
font-size: 14.5px;
color: #000;
text-align: center;
margin: 20px 0 10px;

}
.login-register p a{
color: #6a6a6acc;
text-decoration: none;
font-weight: 600;

}
.login-register p a:hover{
    text-decoration: underline;
}
.remember-forget{
    padding-bottom: 5px;
}

.remember-forget label {
    color: #000;
}
.remember-forget a{
    color: #6a6a6acc;
}
.wrapper .info-text{
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: center;

}
.wrapper .info-text.login{
    right: 0;
    text-align: right;
    padding: 0 40px 60px 150px;

}

.wrapper .info-text.login .animation{
    transform: translateX(0);
    transition: .7s ease;
    opacity: 1;
    filter: blur(0);
    transition-delay: calc(.1s * var(--j));
    }
    
    .wrapper.active .info-text.login .animation{
        transform: translateX(120%);
        opacity: 0;
    filter: blur(10px);
        transition-delay: calc(.1s * var(--i));
        }
.wrapper .info-text.register{
left: 0;
text-align: left;
padding: 0 150px 60px 40px;
pointer-events: none;

}

.wrapper.active .info-text.register{
    pointer-events: auto;
    
}
.wrapper .info-text.register .animation{
    transform: translateX(-130%);
    transition: .7s ease;
    opacity: 0;
    filter: blur(10px);
    transition-delay: calc(.1s * var(--j));
}
.wrapper.active .info-text.register .animation{
    transform: translateX(0);
    opacity: 1;
    filter: blur(0);
    transition-delay: calc(.1s * var(--i));
}
.info-text h2{
    font-size: 36px;
    color: #fff;
    line-height: 1.3;
    text-transform: uppercase;

}
.info-text p{
    font-size: 16px;
    color: #fff;

}
.wrapper .bg-animate{
    position: absolute;
    top: -4px;
    right: 0;
    width: 850px;
    height: 600px;
    background: linear-gradient(135deg,#FF7A3D, orangered);
    border-bottom: 3px solid #0000;
    transform: rotate(10deg) skewY(40deg);
    transform-origin: bottom right;
    transition: 1.5s ease;
    transition-delay: 1.6s;
}

.wrapper.active .bg-animate{
     transform: rotate(0) skewY(0);
     transition-delay: .5s;

}

.wrapper .bg-animate2{
    position: absolute;
    top: 100%;
    left: 250px;
    width: 850px;
    height: 700px;
    background: #fff;
    border-top: 3px solid #6a6a6acc;
    transform: rotate(0) skewY(0);

    transform-origin: bottom left;
    transition: 1.5s ease;
    transition-delay: .5s;
}
.wrapper.active .bg-animate2{
    transform: rotate(-11deg) skewY(-41deg);
    transition-delay: 1.2s;

}
/*==========================end login & register=================== */

/* =======================footer==================*/
.footer-content{
  height: 150px;

}
.color-orangered{
    color: orangered;
}
.m-auto{
    margin: auto;
}
.d-flex{
    display: flex;

}
.justify-content-around{
    justify-content: space-around;
}
.me-3{
    margin-right: 30px;
}
.w-50{
    width: 50%;
}
.w-25{
    width: 25%;
}
.text-center{
    text-align: center;
}
p{
    color: gray;
}

   




    
/* ================= Responsive Login & Register ================= */

@media (max-width: 600px) {

    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        padding: 0 15px;
    }
    nav {
        margin-bottom: 10px;
        padding: 12px 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-content .brand {
        font-size: 24px;
        margin-left: 0;
    }

    #links {
        margin-right: 0;
    }

    .container:has(.wrapper) {
        padding: 15px;
    }

    .wrapper {
        width: 100%;
        max-width: 450px;
        height: 560px;
        margin: 0 auto 50px;
        border-radius: 12px;
    }

    .wrapper .info-text {
        display: none;
    }

    .wrapper .from-box {
        width: 100%;
        height: 100%;
    }

    .wrapper .from-box.login,
    .wrapper .from-box.register {
        left: 0;
        right: auto;
        padding: 40px 30px;
    }

    .from-box h2 {
        font-size: 27px;
        margin-bottom: 15px;
    }

    .from-box .input-box {
        height: 50px;
        margin: 20px 0;
    }

    .input-box input {
        font-size: 15px;
    }

    .input-box label {
        font-size: 15px;
    }

    .remember-forget {
        font-size: 13px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .btn {
        height: 45px;
        font-size: 15px;
    }

    .login-register {
        font-size: 13px;
    }
    .wrapper .bg-animate,
    .wrapper .bg-animate2 {
        display: none;
    }


    /* =========================FOOTER  ========================= */

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin: 40px 0 30px;
    }

    .footer-content .footer-sec1,
    .footer-content .footer-sec2,
    .footer-content .footer-sec3 {
        width: 100%;
    }

    .footer-content div h4 {
        margin-left: 0;
    }

    .footer-content div .contact-me p {
        margin-left: 0;
    }

    .footer-content .footer-sec3 {
        position: static;
    }

    .footer-content .footer-sec3 .contact-me {
        position: static;
    }

    .copywrite p {
        font-size: 12px;
        padding: 10px;
    }
}


/* =========================
   SMALL 
========================= */

@media (max-width: 400px) {

    .container {
        padding: 0 10px;
    }

    .container:has(.wrapper) {
        padding: 10px;
    }

    .wrapper {
        width: 100%;
        min-height: 520px;
        height: auto;
    }

    .wrapper .from-box.login,
    .wrapper .from-box.register {
        padding: 35px 22px;
    }

    .from-box h2 {
        font-size: 24px;
    }

    .from-box .input-box {
        margin: 18px 0;
    }

    .input-box input {
        font-size: 14px;
    }

    .input-box label {
        font-size: 14px;
    }

    .remember-forget {
        font-size: 12px;
    }

    .btn {
        font-size: 14px;
    }

    .login-register {
        font-size: 12px;
    }

}


/* =========================
   VERY SMALL MOBILE
========================= */

@media (max-width: 320px) {

    .wrapper {
        min-height: 500px;
    }

    .wrapper .from-box.login,
    .wrapper .from-box.register {
        padding: 30px 18px;
    }

    .from-box h2 {
        font-size: 22px;
    }

    .remember-forget {
        align-items: flex-start;
        flex-direction: column;
    }
}