/* POPPINS FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
/* ===== COLOR VARIABLES ===== */
:root{
    --primary-color: #c6c3c3;
    --second-color: #ffffff; 
    --black-color: #000000;
}
/* ===== BODY - BACKGROUND IMAGE ===== */
body{
    background-image: url(./4.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}


/* ===== Reusable CSS ===== */
a{
    text-decoration: none;
    color: var(--second-color);
}
a :hover{
    text-decoration: underline;
}
/* ===== WRAPPER ===== */
.wrapper{
  width: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 100vh;
   background-color: rgba(0,0,0,0.2);
}
.login-box{
    position: relative;
    width: 450px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 7.5em 2.5em 4em 2.5em;
    color: var(--second-color);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2)
}
.login-header{
position: absolute;
top : 0;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
justify-content: center;
background-color: var(--primary-color);
width: 140px;
height: 70px;
border-radius: 0 0 30px 30px;
}
.login-header span{
    font-size: 30px;
    color: var(--black-color);
}
.login-header ::before
{
    content: "";
    position: absolute;
    top: 0;
    left: -30px;
    width: 30px;
    height: 30px;
    border-top-right-radius: 50%;
    background: transparent;
    box-shadow: 15px 0 0 0 var(--primary-color);
}
.login-header ::after{
    content: "";
    position: absolute;
    top: 0;
    right: -30px;
    width: 30px;
    height: 30px;
    border-top-left-radius: 50%;
    background: transparent;
    box-shadow: -15px 0 0 0 var(--primary-color);
}
 .input-box{
     position: relative;
     display: flex;
     flex-direction: column;
     margin-top: 20px 0;
 } .input-field{
    width: 100%;
    height: 55px;
  font-size: 16px;
  background: transparent;
  color: var(--second-color);
  padding-inline: 20px 50px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  outline: none;
}
#user{
    margin-bottom: 10px;
}
.label{
    position: absolute;
    top: 15px;
    left: 20px;
transition: .2s;
}
.input-field:focus + .label,.input-field:valid + .label{
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 14px;
    background-color: var(--primary-color);
    border-radius: 30px;
    color: var(--black-color);
padding: 0 10px;
}
.icon{
    position: absolute;
    top: 18px;
    right: 25px;
    font-size: 20px;
}
.rem{
    user-select: none;
    position: relative;
    right: 230px;
    font-size: 15px;
}
.remember-forgot{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin: 15px 0;
}
.forgot{
    position: relative;
    left: 100px;
    height: 50px;
    color: var(--primary-color);
}
.input-submit{
    width: 100%;
    height: 55px;
    font-size: 18px;
    background-color: var(--primary-color);
    color: var(--black-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s;
}
.input-submit:hover{
    background-color: var(--second-color);
}
.register{
    text-align: center;
    margin-top: 20px;
}
.register a{
    color: rgb(23, 146, 162);
font-weight: 500;
}
@media only screen and (max-width: 564px){
    .wrapper{
        padding: 20px;
    }
    .login-box{
        padding: 7.5em 2.5em 4em 2.5em;
    }
}