.careersSection {
  height: 100vh;
  width: 100%;
  background-color: #222;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
  position: relative;
  z-index: 10;
  margin-top: -1px;
  font-family: "Rubik", sans-serif;
}

.careersSection h2 {
  font-family: "Rubik", sans-serif;
  font-size: clamp(40px, 2vw, 50px);
  font-weight: 600;
  margin: 0 13%;
  color: white;
  margin-bottom: 30px;
}

.careersContainer {
  height: 450px;
  width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.careers,
.internships {
  height: 100%;
  width: 45%;
  border-radius: 5%;
  overflow: hidden;
  padding: 5% 2%;
  position: relative;
  z-index: 0;
}

.cards-image {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: 0.5s all ease;
}

.careers-content,
.internship-content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.5s all ease;
  opacity: 0;
  z-index: 10;
  position: relative;
}

.careers-content h3,
.internship-content h3 {
  font-size: 32px;
  font-weight: 600;
}

.careers-content p,
.internship-content p {
  font-size: 14px;
  transition: 0.5s all ease;
}

.careers-content button,
.internship-content button {
  background: transparent;
  height: 50px;
  width: 220px;
  border-radius: 25px;
  border: 2px solid #222222;
  font-size: 12px;
  font-weight: 400;
  color: #222;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.35s all ease;
}

.careers-content button:hover,
.internship-content button:hover {
  background: #222222;
  color: white;
}

.careers-content button:hover .careers-arrow,
.internship-content button:hover .careers-arrow {
  filter: invert(98%) sepia(99%) saturate(3%) hue-rotate(252deg)
    brightness(107%) contrast(100%);
}

.careers-arrow {
  height: 9px;
  display: inline;
  transition: 0.35s all ease;
  margin-bottom: 3px;
}

.careers-content button {
  margin-top: 30px;
}

.opportunities {
  position: absolute;
  bottom: 15px;
  left: 25px;
  font-size: 35px;
  color: white;
  font-weight: 500;
  z-index: 11;
  line-height: 45px;
}

.underbar {
  width: 20px;
  height: 1px;
  border-bottom: 4px solid #00b0ef;
  z-index: 11;
  position: absolute;
}

.underbar-1 {
  right: 76px;
  bottom: 8px;
}

.underbar-2 {
  right: 112px;
  bottom: 8px;
}

.careers:hover .careers-content p,
.internships:hover .internship-content p {
  padding-bottom: 40px;
  padding-top: 20px;
}

.careers:hover .careers-content,
.internships:hover .internship-content {
  opacity: 1;
}

.careers:hover .cards-image,
.internships:hover .cards-image {
  opacity: 0.2;
}

.careers:hover .opportunities,
.internships:hover .opportunities {
  opacity: 0;
  pointer-events: none;
}

/* ======================MOBILE SECTION============================= */

.mobCareersSection {
  background-color: #222;
  position: relative;
  z-index: 10;
  padding-bottom: 1px;
  padding-top: 3rem;
  margin-top: -1px;
}

.mobCareersSection h2 {
  width: 85%;
  margin: 10% auto;
  font-size: clamp(28px, 3vw, 2.5rem);
  color: white;
  font-weight: 700;
}

.mobCareers,
.mobInternships {
  width: 85%;
  height: 400px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.mobCareers img,
.mobInternships img {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
}

.mobCareers h3,
.mobInternships h3 {
  width: 90%;
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  font-weight: 700;
  color: white;
  font-size: 1.7rem;
}

.mob-careers-content p,
.mob-internship-content p {
  font-size: 15px;
  width: 85%;
  margin: 15px auto;
  margin-bottom: 25px;
  line-height: 22px;
  color: white;
  font-family: "Rubik", sans-serif;
  text-align: justify;
}

.mob-careers-content button,
.mob-internship-content button {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  width: 180px;
  height: 40px;
  border-radius: 20px;
  margin: 4% auto;
  margin-bottom: 20%;
  background: none;
  text-transform: uppercase;
  border: 1px solid #222;
  cursor: pointer;
  transition: color 0.5s ease;
  transition: background 0.5s ease;
}

.mob-careers-content button {
  margin-bottom: 30%;
}

.mob-careers-content button:hover,
.mob-internship-content button:hover {
  background-color: #333;
  color: white;
}

.opporBtn {
  width: fit-content;
  margin-left: 7.5%;
}

@media screen and (min-width: 1400px) {
  .careersSection h2 {
    font-size: 3.3rem;
    margin-bottom: 50px;
  }

  .careersContainer {
    height: 550px;
    width: 975px;
}

  .opportunities {
    font-size: 42px;
    line-height: 58px;
    margin-bottom: 13px;
  }

  .underbar {
    width: 30px;
    border-bottom: 6px solid #00b0ef;
  }

  .underbar-2 {
    right: 140px;
    bottom: 7px;
}

  .underbar-1 {
    right: 95px;
    bottom: 7px;
}

  .careers-content p,
  .internship-content p {
    font-size: 17px;
  }

  .careers:hover .careers-content p, .internships:hover .internship-content p {
    padding-bottom: 30px;
    padding-top: 20px;
}

  .careers-arrow {
    height: 12px;
  }

  .careers-content button, .internship-content button {
    height: 55px;
    width: 245px;
    border-radius: 33px;
    font-size: 14px;
    font-weight: 500;
}

  .careers-content h3, .internship-content h3 {
    font-size: 39px;
    font-weight: 600;
}
}

@media screen and (min-width: 1700px) {
  .careersSection h2 {
    font-size: 4.3rem;
    margin: 65px 13%;
  }

  .careersContainer {
    height: 650px;
    width: 1150px;
}

  .opportunities {
    font-size: 52px;
    line-height: 60px;
  }

  .underbar-2 {
    right: 167px;
    bottom: 2px;
  }

  .underbar-1 {
    right: 112px;
    bottom: 2px;
  }

  .careers-content h3, .internship-content h3 {
    font-size: 46px;
}

.careers-content p, .internship-content p {
  font-size: 22px;
}

.careers-content button, .internship-content button {
  height: 70px;
  width: 310px;
  border-radius: 35px;
  font-size: 18px;
  font-weight: 500;
}

.careers-arrow {
  height: 15px;
}
}
