@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    background: #1a1a1a;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 12.5%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
  
    z-index: 100;
}
.navbar a {
    position: relative;
    color: #e4e4e4e4;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    margin-right: 30px;
}
.navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #e4e4e4e4;
    border-radius: 5px;
    transform: translateY(10px);
    opacity: 0;
    transition: .5s;

}
.navbar a:hover::after {
    transform: translateY(0px);
    opacity: 1;
}
.search-bar {
    width: 250px;
    height: 45px;
    background: transparent;
    border-radius: 6px;
    border: 2px solid #e4e4e4e4;
    display: flex;
    align-items: center;
       
}

.search-bar input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 10px;
    font-size: 16px;
    color: #e4e4e4e4;
}
.search-bar input::placeholder {
    color: #e4e4e4e4;
}
.background {
    width: 100%;
    height: 100vh;
    background: url(./images/background1.png) no-repeat;
    background-size: cover;
    background-position: center;
    filter: blur(3px);
}

.search-bar button {
    width: 45px;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-bar button i {
    color: #e4e4e4e4;
    font-size: 18px;
}
.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 70%;
    background: url(./images/background1.png) no-repeat;
    background-size: cover;
    background-position: center;

}
.content .logo {
    font-size: 30px;
   
}
.text-sci h2 {
    font-size: 40px;
    line-height: 1;
    
}
.text-sci h2 span{
    font-size: 25px;
    
}
.text-sci p {
    font-size: 16px;
    margin: 20px 0;
    
}

.social-icons a i{
  font-size: 22px; 
  color: #e4e4e4e4;
  margin-right: 10px;
  transition: .5s ease;
}
.social-icons a:hover i{
    transform: scale(1.2);
}

.container .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 58%;
    height: 100%;
    background: transparent;
    padding: 50px;
    color: #e4e4e4e4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.container .logreg-box {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 58%);
    height: 100%;
    background: transparent;
}
/* .container .logreg-box{
    position: relative;
    width: 100%;
    max-height: 80vh;

    overflow-y: auto;
    overflow-x: hidden;
} */

.logreg-box .form-box {
    position:absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;    
    height: 100%;
    background: transparent;
    backdrop-filter: blur(10px);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #e4e4e4e4;
}

.logreg-box{
    position: relative;
    overflow: hidden;
}


.form-box{
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    display:flex;
    justify-content:center;
    align-items:center;

    transform:translateX(100%);
    transition:.5s ease;
}

.form-box.active{
    transform:translateX(0);
}



.form-box h2 {
    font-size: 30px;
    text-align: center;
   
}
.form-box .input-box {
    position: relative;
    width: 340px;
    height: 50px;
    border-bottom: 2px solid #e4e4e4e4;
    margin: 30px 0;
}
.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #e4e4e4e4;
    font-weight: 500;
    padding-right: 28px
}
.input-box label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;    
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
   
}
.input-box input:focus ~ label,
.input-box input:valid ~ label {
    top: -5px;
    font-size: 12px;
    color: #e4e4e4e4;
}
.input-box .icon {
    position: absolute;
    top: 13px;
    right: 0;
    font-size: 19px;
   
}.form-box .remember-forgot {
    font-size: 14px;
    color: #e4e4e4e4;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}
.remember-forgot label input {
    accent-color: #e4e4e4e4;
    margin-right: 3px;
}
.remember-forgot a {
    color: #e4e4e4e4;
    text-decoration: none;
}
.remember-forgot a:hover {
    text-decoration: underline;
}
.btn{
    width: 100%;
    height: 45px;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    font-weight: 600;

    background: linear-gradient(135deg, #2b50d9, #5fa8ff);
    box-shadow: 0 8px 20px rgba(65, 105, 225, 0.35);
    transition: .3s ease;
}

.btn:hover{
    background: linear-gradient(135deg, #3c63f0, #78c4ff);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(65, 105, 225, 0.5);
}
.form-box .login-register{
    font-size: 14.5px;
    font-weight: 500;
    text-align: center;
    margin-top: 25px;
}
.login-register p a {
    color: #e4e4e4e4;
    font-weight: 600;
    text-decoration: none;
    
}
.login-register p a:hover {
    text-decoration: underline;
}

@media (max-width:991px){

.header{
    padding:20px 5%;
}

.container{
    width:90%;
}

.container .content{
    width:50%;
}

.container .logreg-box{
    width:50%;
}

}
@media (max-width:768px){

.header{
    position: static;
    flex-direction:column;
    gap:15px;
    padding:15px;
}

.navbar{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

.navbar a{
    margin:10px;
}

.search-bar{
    width:100%;
    max-width:350px;
}

.container{
    position:absolute;
    top:20px;
    left:0;
    transform:none;

    width:100%;
    height:auto;

    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto auto;

    margin-top:100px;
}

.container .content{
    position:relative;
    width:100%;
    height:auto;
    padding:40px 25px;
}

.container .logreg-box{
    position:relative;
    width:100%;
    height:650px;
}

.form-box{

    border-radius:0 0 10px 10px;
}

}
