* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

.container-box {
  min-height: 100vh;
  width: 100vw;
  background-image: url("../image/login.avif");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  color: white;
  width: 400px;
  height: 500px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}
.login-form h1 {
  font-weight: 700;
  font-size: 30px;
  padding: 20px 0;
}
.form-group {
  width: 330px;
  margin: 30px 0;
  border-bottom: 3px solid white;

  position: relative;
}
.form-group input {
  width: 100%;
  height: 50px;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  padding: 0 20px 0 10px;
  position: relative;
  z-index: 2;
}
.login-form form div {
  font-size: 19px;
}
.form-group label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  transition: 0.5s;
  z-index: 1;
  pointer-events: auto;
}
input:focus ~ label,
input:valid ~ label {
  top: -5px;
}
.checkbox {
  margin-right: 8px;
}

.login-form i {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 3;
}
p {
  font-size: 18px;
  text-align: center;
  padding: 10px 0;
}
p > a {
  font-size: 19px;
  font-weight: 500;
  text-decoration: none;
  color: rgb(165, 165, 231);
}
p > a:hover {
  text-decoration: underline;
}
#btn {
  width: 100%;
  height: 45px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 25px;
  border: none;
  margin: 10px 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.5s;
}

#btn:hover {
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
}
