@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background: #020410;
}

.header{
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    padding: 25px 12.5%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.navbar a{
    font-size: 16px;
    color: #e4e4e4;
    font-weight: 500;
    text-decoration: none;
    margin-right: 40px;
    position: relative;
}

.navbar a::after{
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    bottom: -6px;
    background: #e4e4e4;
    border-radius: 5px;
    transform: translateY(10px);
    transition: 0.5s;
    opacity: 0;
}

.navbar a:hover::after{
    transform: translateY(0);
    opacity: 1;
}

.searchbar{
    display: flex;
    align-items: center;
    border: 2px solid #e4e4e4;
    border-radius: 6px;
    width: 250px;
    height: 45px;
    background: transparent;
    transition: .5s ease-in-out;
}

.searchbar:hover{
    transform: scale(1.1);
}

.searchbar input{
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #e4e4e4;
    font-size: 14px;
    padding: 0 0 0 10px;
}

.searchbar input::placeholder{
    color: #e4e4e4;
    font-size: 14px;
}

.searchbar button{
    width: 40px;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
}

.searchbar button i{
    color: #e4e4e4;
    font-size: 26px;
    cursor: pointer;
}

.background{
    width: 100%;
    height: 100vh;
    background:url(bg1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
}

.container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 550px;
    background:url(bg1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 5px 5px 6px blue , -5px -5px 6px blue;
    
}

.container .content{
    width : 60%;
    height: 100%;
    position: absolute;
    background: transparent;
    top: 0;
    left: 0;
    padding: 80px;
    color: #00ffe5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

#logo{
    display: flex;
    align-items: center;
}

.content .logo{
    font-size: 2rem;
}

img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    border: 3px solid red;
    transition: 0.9s;
}

img:hover{
    transform: scale(1.2);
}

.text-sci h2{
    font-size: 40px;
    line-height: 1;
}

.text-sci h2 span{
    font-size: 25px;
    margin: 20px 0;
}

.text-sci p{
    font-size: 16px;
    margin: 20px 0;
}

.sociel-link a i{
    font-size: 30px;
    color: #dfdee7;
    margin-right: 10px;
    transition: 0.5s;
}

.sociel-link a:hover i{
    color: rgb(235, 247, 236);
    transform: scale(1.2);
}

.container .logreg-link{
    width: calc(100% - 58%);
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

.logreg-link .form-box{
    width: 100%;
    height: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    backdrop-filter: blur(3px);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #e4e4e4;
    
}

.logreg-link .form-box h2{
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    
}

.form-box .input-box{
    width: 350px;
    height: 50px;
    border-bottom: 2px solid #e4e4e4;
    margin: 30px 0; 
    position: relative;
}

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

.input-box input:focus,
.input-box input:valid {
    border-bottom-color: #0ef;
}

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

.input-box input:focus~label,
.input-box input:valid~label{
    top: -5px;
    color: #0ef;
    background: transparent;
}

.input-box .icon{
    position: absolute;
    right: 0;
    top: 13px;
    font-size: 20px;
}

.form-box .remember-forgote{
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    margin: -15px 0 15px;
}

.remember-forgote label input{
    margin-right: 5px;
    cursor: pointer;
}

.remember-forgote label:hover{
    color: #00ffe5;
    cursor: pointer;
}

.remember-forgote a{
    text-decoration: none;
    color: #e4e4e4;
    transition: 0.5s ease;
}

.remember-forgote a:hover{
    color: #0ef;
    text-decoration: underline;
    transform: scale(1.1);
}

.btn{
    width: 80%;
    height: 45px;
    background: transparent;
    position: relative;
    border: 2px solid #0ef;
    outline: none;
    border-radius: 40px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
    transition: 1s;
    margin-top: 10px;
}

.btn::before{
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    background: linear-gradient(#081b29 , #0ef , #081b29 , #0ef);
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.btn:hover::before{
    top: 0;
}

.btn:hover{
    transform: scale(1.1);
    text-decoration: underline;
}

.btn:active{
    transform: scale(0.9);
}

.form-box .login-register{
    font-size: 15px;
    color: #fff;
    text-align: center;
    margin: 20px 0 10px;
}

.form-box .login-register a{
    text-decoration: none;
    color: #e4e4e4;
    margin-left: 5px;
    
}

.form-box .login-register a:hover{
    color: #0ef;
    text-decoration: underline;
}