.contact {
  display: flex;
  align-items: center;
  flex-direction: column;
  background: var(--white);
}

.contact h1 {
  text-align: center;
}

.contact h2 {
  text-align: center;
  width: 50%;
  margin-top: 1rem;
}

.contact form {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.contact form fieldset {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

input {
  padding: 1rem 3rem;
  border-radius: 5px;
  border-radius: 10px;
  border: 1px solid var(--light-gray);
  outline: none;
}

.contact form button {
  padding: 1rem 4rem;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 10px;
  transition: all 0.5s;
  cursor: pointer;
}

.contact_social_wrapper {
  display: flex;
  margin-top: 2rem;
}

.contact_social_wrapper social ul a {
  width: 3rem;
  height: 3rem;
  border: none;
}
.contact_social_wrapper social ul a li {
  width: 24px;
  height: 24px;
  background: var(--white);
}

.contact_social_wrapper social ul a:nth-child(1) {
  background: #7360f2;
}

.contact_social_wrapper social ul a:nth-child(2) {
  background: #2aabee;
}

.contact_social_wrapper social ul a:nth-child(3) {
  background: #25d366;
}

.contact_social_wrapper social ul a:nth-child(4) {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.contact_social_wrapper social ul a:nth-child(5) {
  background: #111111;
}

.contact_social_wrapper social phone {
  height: 3rem;
}

@media only screen and (max-width: 1280px) {
  .contact h2 {
    width: 100%;
  }

  .contact form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .contact form fieldset {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }

  input {
    width: 100%;
    border-radius: 5px;
    border-radius: 10px;
    border: 1px solid var(--light-gray);
    outline: none;
  }

  .contact form button {
    padding: 1rem 4rem;
    background: var(--text);
    color: var(--white);
    border: 1px solid var(--text);
    border-radius: 10px;
  }

  .contact_social_wrapper {
    display: flex;
    margin-top: 2rem;
  }
}
