@import "./style.css";

/* CONTACT HERO SECTION */
.contact-hero-section {
  height: 20rem;
  background: rgba(0 0 0 / 0.5) url(../media/images/careers-hero.jpg) no-repeat center/cover;
  color: white;
}

.contact-hero-section h1 {
  line-height: 20rem;
}

/* CONTACT FORM */
.contact-info {
  padding-top: 80px;
  display: flex;
  gap: 6rem;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 44.5rem;
  gap: 30px;
}

.form-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-content input,
textarea {
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid var(--navigation-links-color);
}

input:focus,
textarea:focus {
  outline: none;
  border-bottom: 1px solid var(--primary-color);
}

textarea {
  resize: none;
}

input[type="checkbox"] {
  margin-top: 0.8rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  color: var(--text-color);
}

/* MAP */
.location {
  width: 100%;
}

iframe {
  width: 100%;
  height: 500px;
}

.info {
  margin-top: 15px;
  font-size: 15px;
  color: var(--text-color-light);
  display: flex;
  justify-content: space-between;
}

.socials {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  width: 100%;
}

.socials a {
  color: var(--text-color-light);
  transition: all 0.25s ease-in-out;
  padding: 5px;
  border-radius: 2px;
}

.socials a:hover,
.socials a:focus {
  background-color: var(--text-color);
  color: var(--primary-color);
}

@media (max-width: 1024px) {
  .contact-hero-section h1 {
    text-align: center;
  }

  .contact-info,
  .contact-section > div {
    flex-direction: column;
    align-items: center;
  }

  .contact-section h2 {
    text-align: center;
  }

  .location,
  iframe {
    width: 100%;
  }

  .form-btn {
    align-self: center;
  }
}
