.header-smaller-screens {
  display: none;
}
.header-big-screens {
  display: block;
}

.careers-top-section-wrapper {
  display: flex;
  max-width: var(--max-screen-width);
  margin: 4rem auto;
  flex-direction: row;
  align-items: center;
}

.header-motto {
  width: 30rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.careers-top-heading {
  color: var(--blue);
  font-size: var(--font-size-extra-large);
  font-weight: var(--font-weight-bolder);
  line-height: 6rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.careers-top-heading > .header-sub-image {
  margin-bottom: 2rem;
}

.careers-top-description {
  color: var(--placeholder-color);
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-regular);
  line-height: 2.625rem;
}

.header-image {
  width: 100%;
}

/** Added this for smooth transition */
@media only screen and (max-width: 1500px) {
  .careers-top-section-wrapper {
    display: flex;
    width: calc(100% - 5rem);
    margin: 4rem auto;
    flex-direction: row;
    align-items: center;
  }
}

@media only screen and (max-width: 1366px) {
  .careers-top-section-wrapper {
    display: flex;
    width: calc(100% - 5rem);
    margin: 4rem auto;
    flex-direction: row;
    align-items: center;
  }
}

@media only screen and (max-width: 1200px) {
  .careers-top-section-wrapper {
    display: flex;
    width: calc(100% - 3rem);
    margin: 4rem auto;
    flex-direction: row;
    align-items: center;
  }
}

@media only screen and (max-width: 1080px) {
  .careers-top-section-wrapper {
    display: flex;
    margin: 4rem auto;
    flex-direction: row;
    align-items: center;
  }
  .header-big-screens {
    display: none;
  }
  .header-smaller-screens {
    width: 100%;
    display: flex;
  }

  .header-motto {
    width: 100%;
  }
  .header-image {
    display: none;
  }
  .careers-top-heading {
    width: 30rem;
  }
  .image-1080 {
    width: 90%;
  }
}

@media only screen and (max-width: 960px) {
  .careers-top-heading {
    font-size: 4.5rem;
    line-height: 5rem;
  }
  .header-big-screens {
    display: block;
  }
  .header-smaller-screens {
    display: none;
  }
  .header-motto {
    width: 30rem;
  }
  .header-image {
    display: block;
  }
}

@media only screen and (max-width: 767px) {
  .careers-top-heading {
    width: 100%;
    font-size: 3rem;
    line-height: 3.5rem;
  }

  .careers-top-section-wrapper {
    display: flex;
    width: calc(100% - 3rem);
    margin: 4rem auto;
    flex-direction: column;
    align-items: center;
  }
  .header-motto {
    width: 100%;
  }
  .header-big-screens {
    width: 100%;
  }
}

@media only screen and (max-width: 530px) {
  .careers-top-section-wrapper {
    margin-top: 1rem;
  }
  .header-sub-image {
    width: 98%;
  }
}

@media only screen and (max-width: 480px) {
  .header-sub-image {
    width: 98%;
  }

  .careers-top-section-wrapper {
    display: flex;
    width: calc(100% - 2rem);
    margin: 4rem auto;
    flex-direction: column;
    align-items: center;
  }
}
