@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;
}
section{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: backgroundm 3s linear infinite;
}
@keyframes backgroundm {
    100% {
        filter: hue-rotate(360deg);
    }
}
.Login{
    position: relative;
    background: transparent;
    height: 550px;
    width: 500px;
    border: solid 2px rgba(255, 255, 255, .5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
}
.input{
    position: relative;
    width:410px;
    display: flex;
    margin: 40px 0;
    border-bottom: solid 2px #fff;
}

.input input{
    width: 100%;
    border: none;
    height: 50px;
    border-radius: 10px;
    background: transparent;
    outline: none;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: #fff;
}

.input .name{
    position: absolute;
    top: 50%;
    left:5px;
    transform: translateY(-50%);
    font-size: 1em;
    font-weight: 50;
    letter-spacing: 1px;
    pointer-events: none;
    color: #ddd;
    transition: 0.2s ease;
}

input:focus + .name,
input:valid + .name
{
    top: -5px;
}

.input .icon{
    position: absolute;
    right: 8px;
    line-height: 57px;
    font-size: 18px;
    color: #fff;
}

.Login h2{
    font-size: 2rem;
    color:#ddd;
    text-align: center;
    margin-bottom: 50px;
}
.forgot{
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.forgot label{
color: #ddd;
font-size: 15px;
font-weight: 200;
}
.forgot label input{
    margin-right: 5px;
}
.forgot a {
    text-decoration: none;
    color: #ddd;
    font-size: 15px;
    font-weight: 200;
}
.forgot a:hover{
    text-decoration: underline;
}
.btn{
    width: 100%;
    height: 50px;
    border-radius: 999999px;
    border: none;
    cursor: pointer;
    font-weight:600;
    font-size: 18px;
    margin-bottom: 1.5rem;
}
.Register{
    text-align: center;
}
.Register p{
    color: #ddd;
    font-size: 14px;

}
.Register p a{
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.Register p a:hover{
    text-decoration: underline;
}
@media (max-width: 480px) {
  .Login{
    height: 100vh;
    width: 100%;
    border: none;
  }
}
@media (max-width: 420px) {
  .input{
    width: 350px;
  }
}