.contacts-showcase {
  background: url("./images/contacts.jpeg") no-repeat center/cover;
  height: 400px;
}

.contacts-showcase .overlay {
  height: 400px;
}

.form {
  padding: 50px 20px;
}

.form h3 {
  text-align: center;
  margin-bottom: 10px;
}

.form p {
  text-align: center;
}

.form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form form input,
.form form textarea,
.form form button {
  width: 280px;
  margin: 5px 0;
}

.form form input,
.form form textarea {
  padding: 20px;
  font-family: inherit;
  font-size: 16px;
  color: var(--primary-color);
  border-radius: var(--border-radius);
  border: 2px solid #e2e2e2;
}

.form form input::placeholder,
.form form textarea::placeholder {
  color: var(--primary-color);
}

@media (min-width: 320px) {
  .form form input,
  .form form textarea,
  .form form button {
    width: 300px;
  }
}

@media (min-width: 400px) {
  .form form input,
  .form form textarea,
  .form form button {
    width: 360px;
  }
}

@media (min-width: 500px) {
  .form form input,
  .form form textarea,
  .form form button {
    width: 400px;
  }
}

@media (min-width: 768px) {
  .form form input,
  .form form textarea,
  .form form button {
    width: 600px;
  }
}

@media (min-width: 992px) {
  .form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
  }

  .form h3 {
    font-size: 30px;
  }
}
