.contact-form {
  width: 500px;
}

.contact-element {
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
  border: none;
  border-bottom: 2px solid #fcd35d;
  font-size: 16px;
  background-color: inherit;

  &:focus {
    outline: none;
  }
}

textarea {
  resize: vertical;
  font-family: inherit;
}

select {
  color: gray;

  &.selected {
    color: black;
  }

  option {
    color: black;
  }
}

.errors {
  color: red;

  > span:not(:last-of-type) {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 750px) {
  .contact-form {
    width: 100% !important;
  }
}
