* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
*:focus {
  outline: none;
}
body {
  height: 100vh;
  background: linear-gradient(
    109.6deg,
    rgb(43, 1, 91) 13.4%,
    rgb(122, 2, 54) 100.2%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
#form {
  border: 2px solid rgb(128, 82, 82);
  width: 400px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 20px;
  border-radius: 15px;
}
.inputBox {
  display: flex;
  flex-direction: column;
}
h1 {
  color: white;
}
.inputBox label {
  color: white;
}
.inputBox input ,#username{
  height: 35px;
  width: 90%;
  background-color: transparent;
  color: blueviolet;
  font-size: 16px;
}
.errorinput {
  border: 2px solid red;
}
.success {
  border: 3px solid rgb(0, 225, 187);
}
.error {
  color: red;
  font-size: 12px;
}
button {
  width: 40%;
  height: 40px;
  margin: auto;
  border-radius: 20px;
  /* border: none; */
  font-size: 20px;
  background-color: transparent;
  color: white;
}
@media only screen and (max-width: 430px) {
  #form {
    width: 300px;
  }
  h1 {
    font-size: 28px;
  }
}
