@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;400;700&display=swap');

* {
    font-family: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    font-size: 24px;
}

.wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://codetheworld.io/wp-content/uploads/2024/09/bg-1.jpeg') no-repeat;
    background-size: cover;
    background-position: cover;
    animation: anim 2.5s linear infinite;
}

@keyframes anim {
    100% {
        filter: hue-rotate(360deg);
    }
}
.login-box {
    width: 550px;
    height: 510px;
    position: relative;
    border-radius: 15px;
    border: 3px solid #FFFFFF80;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
}
form {
    width: 80%;
}

h2 {
    font-size: 2em;
    color: aliceblue;
    text-align: center;
    margin: 24px 0;
}

.input-box {
    width: 100%;
    margin: 48px 0;
    position: relative;
    border-bottom: 1px solid #fff;
}
.input-box label {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
   top: -5px;
}

.input-box input {
     width: 100%;
     height: 50px;
     background: transparent;
     border: none;
     color: #fff;
     outline: none;
     font-size: 1em;
     padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    right: 8px;
    top: 50%;
    color: #fff;
    transform: translateY(-50%);
}

.remember-forgot {
    margin: 0 0 32px 0;
    font-size: 0.9em;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.remember-forgot input {
    transform: scale(1.3);
}

.remember-forgot a {
    color: #fff;
    text-decoration: none;
}

button {
    width: 100%;
    height: 45px;
    background-color: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1em;
    color: black;
    font-weight: 500;
}

.register-link {
    font-size: .9em;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px;
}

.register-link {
    color: #fff;
    text-decoration: red;
}