@import url("fonts.css");
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: "LexendDeca", sans-serif;
  font-size: 1em;
  font-weight: 600;
  height: 120vh;
  color: rgb(4, 48, 4);
  background: url("../images/bg-header-mobile.png");
  background-repeat: no-repeat;
  background-size: 100%;

  @media (min-width: 768px) {
    background: url("../images/bg-header-desktop.png");
    background-repeat: no-repeat;
  }
}
body.login {
  height: 0;
}
main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin-top: 20vh;
}
main.login {
  margin-top: 0;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 2rem -2px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  width: min(400px, 90%);
  border-radius: 10px;
  background-color: #fff;
}
form h1 {
  text-align: center;
  color: rgb(4, 48, 4);
  padding-bottom: 1rem;
}
form small {
  font-size: 0.78rem;

  & a {
    color: rgb(9, 97, 9);
  }
}
.form-group,
.alt {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.alt {
  align-items: center;
}
.check {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  align-items: center;
  gap: 1rem;
}
label {
  color: rgb(4, 48, 4);
}
input {
  width: 100%;
  height: 3rem;
  border-radius: 8px;
  border: 1px solid rgb(9, 97, 9);
  font-family: "Poppins", sans-serif;
}
input:focus,
input:focus-within,
input:focus-visible {
  outline: 2px solid rgb(4, 48, 4);
}
input[placeholder] {
  padding-left: 4px;
}
/*input:invalid {
  outline: 2px solid red;
}*/
span.error {
  color: red;
  font-size: small;
  display: none;
}
button {
  padding: 14px;
  width: 50%;
  background-color: rgb(9, 97, 9);
  border: transparent;
  border-radius: 6px;
  color: white;
  font-weight: 100;
  font-family: "PoppinsN", sans-serif;
  letter-spacing: 2px;
}
button:focus,
button:focus-within {
  outline: 2px solid rgb(4, 48, 4);
}
button:hover {
  color: rgb(9, 97, 9);
  background-color: rgb(1, 251, 1);
}
button[type="submit"] {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

/*sign up*/
input[type="checkbox"] {
  width: 20px;
}
