*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins',sans-serif;
}

body{
    display: flex;
    align-items:center;
    justify-content: center;
    min-height: 100vh;
    background-image: url("https://4kwallpapers.com/images/wallpapers/dog-digital-art-3840x1080-12319.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section{
    position: relative;
    max-width: 400px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(55px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
}

h1{
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
}

.inputbox{
    position: relative;
    margin: 30px 0;
    max-width: 310px;
    border-bottom: 2px solid #ffffff;
}

.inputbox label{
    position: absolute;
    top: 15%;
    left: 5px;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
}

input:focus ~ label,
input:valid ~ label {
    top: -5px;
}

.inputbox input {
    width: 100%;
    height: 60px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0 35px 0 5px;
    color: #ffffff;
}

.input ion-icon {
    position: absolute;
    right: 8px;
    color: #ffffff;
    font-size: 1.2rem;
    top: 20px;
}

.forget{
    margin: 35px 0;
    font-size: 0.85rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
}

.forget label {
    display: flex;
    align-items: center;
}

.forget label input {
    margin-right: 3px;
}

.forget a {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
}

.forget a:hover{
    text-decoration: underline;
}

button{
    width: 100%;
    height: 40px;
    border-radius: 40px;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border: none;
    outline: none;
    cursor:pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
}

button:hover{
    background-color: rgba(160, 159, 159, 0.5);
}

.register{
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
    margin: 25px 0 10px;
}

.register p a{
    text-decoration: none;
    color: #ff0000;
   font-weight: 600;
}

.register p a:hover{
    text-decoration: underline;
}