form {
  padding: 10px 0 80px 0;
}

input,
select,
textarea {
  font-size: 16px;
  border: 1px solid black;
  padding: 4px 8px;
}

textarea {
  height: 75px;
}

input[type="file"] {
  border: none;
  padding: 4px 0;
}

.form-item {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
}

.form-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 0 0 0;
}

.form-btn {
  width: 200px;
  border: none;
  padding: 10px 20px;
  color: rgb(255, 255, 255);
  background-color: rgb(186, 187, 184);
  margin-bottom: 10px;
  text-decoration: none;
  display: inline-block;
  margin: 1rem;
  border-bottom-left-radius: 2rem;
  border-top-right-radius: 2rem;
  font-size: 16px;
}

a.form-btn {
  text-decoration: none;
  text-align: center;
}

.form-btn:hover {
  background-color: rgb(129, 130, 127);
}

a.form-btn:hover {
  text-decoration: none;
}

.form-btn-next {
  cursor: pointer;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 130, 84);
}

.form-btn-next:hover {
  background-color: rgb(136, 48, 43);
}

/* tablet portrait */
@media only screen and (min-width: 640px) {
  .form-btns {
    flex-direction: row;
    justify-content: center;
  }

  .form-btn {
    margin-right: 40px;
  }

  .form-item {
    flex-direction: row;
  }

  label {
    width: 45%;
    margin-right: 20px;
  }

  input,
  select,
  textarea {
    width: 45%;
  }
}

ul.error {
  color: var(--white);
  background-color: var(--red);
  list-style: none;
  padding: 20px;
  border-bottom-left-radius: 2rem;
  border-top-right-radius: 2rem;
}

.attention {
  color: var(--red);
}
