@import url('https://fonts.googleapis.com/css2?family=Covered+By+Your+Grace&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Covered By Your Grace', cursive;
}

body{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTqhHtiw7mGMZpG3t_ypIsbbnbyNFBv2RrkzsWe2xOqgunh4jQcqWexBVs&s=10');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

section{
  position: relative;
  max-width: 400px;
  background-color: transparent;
  border: 2px solid #ffffff80;
  border-radius: 20px;
  display: flex;
  backdrop-filter: blur(25px);
  justify-content: center;
  align-items: center;
  padding: 2rem 3rem;
}

h1{
  font-size: 2rem;
  color: #fff;
  text-align: center;
}

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

.inputbox label{
  position: absolute;
  top: 50%;
  left: 10px;
  color: #fff;
  transform: translate(-50%);
  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: 0px 100px 0px 5px;
  color: #fff;
}

.inputbox ion-icon{
  position: absolute;
  right: 8px;
  color: #fff;
  font-size: 1.2rem;
  top: 20px;
}

.forget{
  margin: 30px 0;
  font-size: 0.85rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
}

.forget label{
  display: flex;
  align-items: center;
}

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

.forget a{
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

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

button{
  width: 100%;
  height: 40px;
  border-radius: 40px;
  background-color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.4s ease;
}

button:hover{
  background-color: #ffffff40;
}

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

.register p a{
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

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

