*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'sans-serif';
}

body{
    background: #020410;
}

.header{
    position: absolute;
    left: 2%;
    top:4%;
}

.background{
    width: 100%;
    height: 100vh;
    background: url('background.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
}

.container{
    position: absolute;
    width: 80%;
    height: 550px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('background.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-top: 20px;
}

.container .content{
    position: absolute;
    top: 0;
    left: 0;
    width: 58%;
    height: 100%;
    background-color: transparent;
    padding: 80px;
    color: #e4e4e4;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.content .logo{
    font-size: 30px;
}

.text-sci h2{
    font-size: 45px;
    margin-top: -300px;
    line-height: 1.2;
}

.text-sci p{
    font-size: 25px;
    margin: 20px 0;
}

.text-sci h2 span{
    font-size: 25px;

}

.container .logreg-box{
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 58%);
    height: 100%;
    overflow: hidden;
} 

.logreg-box .form-box{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(20px);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color:#e4e4e4
}

.logreg-box .form-box.login{
    transform: translateX(0);
    transition: transform 0.5s ease;
    transition-delay: 0.5s;
}

.logreg-box.active .form-box.login{
    transform: translateX(100vw);
    transition-delay: 0s;
}

.logreg-box .form-box.register{
    transform: translateX(100vw);
    transition: transform 0.5s ease;
    transition-delay: 0;
}

.logreg-box.active .form-box.register{
    transform: translateX(0);
    transition-delay: 0.5s;
}

.form-box h2{
    font-size: 32px;
    text-align: center;
}

.form-box .input-box{
    position: relative;
    width: 340px;
    height: 50px;
    border-bottom: 2px solid #e4e4e4;
    margin: 30px 0;
}

.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #e4e4e4;
    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 ease;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
}

.input-box .icon{
    position: absolute;
    top: 13px;
    right: 0;
    font-size: 19px;

}

.form-box .remember-forgot{
    font-size: 14.5px;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label input{
    accent-color: #e4e4e4;
}

.remember-forgot a{
    color: #e4e4e4;
    text-decoration: none;
}

.remember-forgot a:hover{
    text-decoration: underline;
}

.btn{
    width: 100%;
    height: 45px;
    background: #c4103d;
    border: none;
    outline: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    color: #e4e4e4;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.form-box .login-register{
    font-size: 14.5px;
    font-weight: 500;
    text-align: center;
    margin-top: 25px;
}

.login-register p a{
    color: #e4e4e4;
    font-weight: 600;
    text-decoration: none;
}

.login-register p a:hover{
    text-decoration: underline;
}



@media only screen and (max-width: 1200px) {
    .container{
        width: 90%;
    }
}

@media only screen and (max-width: 1000px){

    .container{
        width: 95%;
        /* left: 25%;
        transform: translate(-25%, -50%); */
    }

    .container .content{
        padding: 40px;
        width: 40%;
    }

    .container .logreg-box{
        width: calc(100% - 40%);
    } 
}

@media only screen and (max-width: 700px){

    .text-sci h2{
        font-size: 45px;
        margin-top: -300px;
        line-height: 1.2;
    }
    
    .text-sci p{
        font-size: 20px;
        margin: 20px 0;
    }
}

@media only screen and (max-width: 620px){

    .header{
        left: 32vw;
    }

    .content{
        width: 0%;
    }
    
    .logo{
        width: 0%;
        display: none;
    }
    .text-sci{
        width: 0%;
        display: none;
    }

    .container .logreg-box{
        left: 0px;
        width: 100%;
    } 
}




