
*{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url("Image/background-image.jpg");
    background-size: cover;
    background-position: center;
}
header{
    position: fixed;
    top:0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between ;
    z-index: 99;
    align-items: center;
}
.logo{
    color: #fff;
    font-size: 2em;
    user-select: none;
    cursor: pointer;
}
.navigation a{
    text-decoration: none;
    margin-left: 35px;
    font-size: 1.1em;
    color: white;
    font-weight: 500;
    position: relative;
}
.navigation a::after{
    content: '';
    height: 3px;
    width: 100%;
    left: 0;
    bottom:-5px;
    background: #fff;
    position: absolute;
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s;
}
.navigation a:hover::after{
    transform: scaleX(1);
    transform-origin: left;

}
.navigation .login-btn{
    width: 130px;
    height: 50px;
    background-color: transparent;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    border: 2px solid #fff;
    outline: none;
    font-size: 1.1em;
    font-weight: 500;
    margin-left: 40px;
    transition: 1s;
}
.navigation .login-btn:hover{
    color:#162938;
    background: #fff;

}
.wrap .close-icon{
    top: 0;
    right: 0;
    position: absolute;
    color: #fff;
    background-color: #162938;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    height: 45px;
    width: 45px;
    cursor: pointer;
    border-bottom-left-radius: 15px;
    z-index: 1;
}


.wrap{
    background-color: transparent;
    width: 380px;
    height: 410px;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.8s ease, height 0.2s ease;
    transform: scale(0);

}
.wrap.active{
    height: 500px;
}
.wrap.active-popup{
    transform: scale(1);
}
.wrap .form-box.login{
    transition: transform 0.2s ease;
    transform: translateX(0);
}
.wrap.active .form-box.login{
    transition: none ;
    transform: translateX(-400px);
}
.wrap .form-box.register{
    position: absolute;
    transition: none;
    transform: translateX(400px);
}
.wrap.active .form-box.register{
    transition: transform 0.2s ease ;
    transform: translateX(0);
}
.wrap .form-box {
    width: 100%;
    padding: 40px;
    
}
.login-form h2{
    font-size: 1.7em;
    text-align: center;
    color: #162938;

}
.input-box{
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #162938;
    margin: 30px 0;
}
.input-box label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #162938;
    font-weight: 500;
    font-size: 1em;
    pointer-events: none;
    transition: 0.5s;
    pointer-events: none;
}
.input-box input:focus~label,
.input-box input:valid~label{
    top: -5px;
}

.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    font-weight: 550;
    color: #162938;
    padding: 0 35px 0 5px;
}
.remember-me{
    font-size: .9em;
    font-weight: 500;
    color: #162938;
    display: flex;
    justify-content: space-between;
    margin: -15px 0px 15px;
}
.remember-me label input{
    accent-color: #162938;
    margin-right: 3px;
}
.remember-me a{
    color: #0c0808;
    text-decoration: none;
}
.remember-me a:hover{
    text-decoration: underline;
}
.btn{
    width: 100%;
    height: 45px;
    background: #162938;
    border: none;
    border-radius: 6px;
    outline: none;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    color: #fff;
    margin-top: 20px;
}
.register{
    color: #162938;
    font-size: .9em;
    font-weight: 500;
    text-align: center;
    margin: 25px 0 10px;
}
.register a{
    text-decoration: none;
    color: #1e1515;
}
.register a:hover{
    text-decoration: underline ;
}