@import "./style.css";

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

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

/* INTRO SECTION */
.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22rem;
}

.intro-text h2 {
  margin-bottom: 2.4rem;
  color: var(--text-color);
}

.intro-text p {
  margin-bottom: 4rem;
  color: var(--text-color-light);
}

.intro-image {
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: #495567;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WHY JOIN SECTION */
.why-join-section {
  background-color: var(--section-background-color);
  padding: 5rem 0;
}

.why-join-section h2 {
  text-align: center;
  margin-bottom: 10rem;
}

.why-join-list {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.why-join-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why-join-list li p {
  color: var(--text-color-light);
  margin-top: 2.4rem;
}

.join-image-container {
  width: fit-content;
  position: relative;
  margin-bottom: 8rem;
}

.why-join-image {
  border-radius: 50%;
}

.number {
  position: absolute;
  bottom: -48px;
  left: 72px;
  background-color: var(--primary-color);
  border-radius: 50%;
  height: 9.6rem;
  width: 9.6rem;
  font-weight: bold;
}

#number-text {
  margin: 0;
  font-size: var(--heading-five);
  line-height: 9.6rem;
}

/* JOBS SECTION */
.job-specs {
  background-color: var(--section-background-color);
  margin: 3rem;
  padding: 3.2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.job-specs h3 {
  color: var(--text-color);
  margin-bottom: 8px;
}

.job-specs p {
  color: var(--text-color-light);
}

.job-specs button {
  padding-inline: 6rem;
}

/* Tablet sizing */
@media (max-width: 1024px) {
  .careers-hero-section h1 {
    text-align: center;
  }

  .intro-content {
    flex-direction: column-reverse;
    gap: 4rem;
    text-align: center;
  }

  .why-join-list {
    flex-direction: column;
    gap: 5.6rem;
  }
}

/* Phone sizing */
@media (max-width: 900px) {
  .careers-head {
    justify-content: center;
  }

  .head-text {
    padding: 0;
  }

  .number {
    height: 8rem;
    width: 8rem;
  }

  #number-text {
    font-size: var(--heading-six);
    line-height: 8rem;
  }

  .job-specs {
    padding: 3.2rem;
    flex-direction: column;
    text-align: center;
  }
}
