@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400&family=Open+Sans&family=Roboto:ital@0;1&family=Ubuntu:ital,wght@0,500;0,700;1,400&display=swap');

* {
    margin:0;
    padding: 0;
    font-family: 'Ubuntu','roboto',sans-serif;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    
    background: url(img/banner.png) no-repeat;
    background-position: center;
    background-size: cover;
}

.form-box {
    position: relative;
    width: 400px;
    height: 450px;
    background: transparent;
    border: 2px solid rgba(224, 217, 217, 0.72);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    font-size: 2em;
    color: #fff;
    text-align: center;
}

.inputbox {
    position: relative;
    margin: 30px 0;
    width: 310px;
    border-bottom: 2px solid #fff;
}

.inputbox label {
    position: absolute;
    top: 5%;
    left: 5px;
    transform: translateY(-50%);
    color: rgb(255, 255, 255);
    font-size: 1em;
    pointer-events: none;
    transition: 0.5s;
}

input:focus ~ label,
input:valid ~ label {
    top: -5px;
}

.inputbox input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    padding:0 35px 0 5px;
    color: #fff;
}

.inputbox ion-icon{
    position: absolute;
    right: 8px;
    color:rgb(255, 255, 255);
    font-size: 1.2em;
    top: 20px;
}

.forget {
    margin: -15px 0 15px;
    font-size: .9em;
    color: #fff;
    display: flex;
    justify-content: center;
}

.forget label input {
    margin-right: 3px;
}

.forget a {
    color: rgb(73, 82, 212);
    text-decoration: none;
    margin-left: 29px;
}

.forget label a:hover {
    text-decoration: underline;
}

button {
    margin-top: 20px;
    width: 100%;
    height: 40px;
    border-radius: 40px;
    border: none;
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
}

button:hover {
    color: rgb(255, 255, 255);
    background: rgb(148, 153, 218);
    transition:.5s;
}

.register {
    font-size: .9em;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px
}

.register p {
    color: rgb(65, 73, 184);
}

.register p a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin-left: 10px;
    font-weight: 600;
}

.register p a:hover {
    text-decoration: underline;
}