.hero {
  background: url(../img/bg-pf-mobile.webp), #dd303e;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

@media screen and (min-width: 992px) {
  .hero {
    background: url(../img/professores-pf.webp),
      url(../img/bg-pf.webp);
    background-repeat: no-repeat;
    background-size: 724px, cover;
    background-position: right calc((80vw - 960px)/2) bottom, top;
    padding: 0 0 70px;
  }
}

@media screen and (min-width: 1200px) {
  .hero {
    background-size: 853px, cover;
    background-position: right calc((70vw - 1140px)/2) bottom, top;
  }
}

.hero .header {
  padding: 24px 0;
}

.hero .hero-content {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}

.hero .hero-content .wrapper {
  gap: 10px;
}

.hero .hero-content .label-hero {
  padding: 4px 8px 4px 8px;
  gap: 10px;
  border-radius: 8px 0px;
  border: 1px;
  opacity: 0px;
  border: 1px solid #FFFFFF;

  font-family: "Margem-bold";
  font-size: 18px;
  font-weight: 800;
  line-height: 22.5px;
  text-align: left;
  color: #FFF;

  margin-bottom: 0;

}
.hero .hero-content .label-edital {
  color: #dd303e;
  text-transform: uppercase;
  font-family: "Margem-bold";
  font-size: 18px;
}

.hero .hero-content .hero-title {
  font-family: "Margem-black";
  font-size: 70px;
  line-height: 80px;
  text-transform: uppercase;
  color: #FFFFFF;
  max-width: 330px;
  margin: 0 auto;
}
.hero .hero-content .hero-title span {
  font-size: 94px;
}
.hero .hero-content h2 {
  color: #fff;
}

.hero .hero-content .wrapper-title img {
  max-width: 100px;
}

.hero .hero-content .hero-title .destaque {
  font-size: 116px;
  /* line-height: 106px; */
}

.hero .hero-content .section-title-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
}

.hero .hero-content .section-title-info .dados-hero {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero .hero-content .hero-text span {
  background-color: #fff;
  border-radius: 6px;
  padding: 2px 4px;
  font-family: "Margem-bold";
  margin-bottom: 15px;
}

.hero .hero-content .hero-text p {
  font-family: "Margem-regular";
  font-size: 18px;
  font-weight: 400;
  line-height: 22.5px;
  text-align: left;
  color: #fff;

  max-width: 600px;
}

.hero .hero-content .hero-text h2 {
  width: unset;
  padding: 4px;
  gap: 10px;
  border-radius: 6px;
  opacity: 0px;
  background: #E5FF7F;

  font-family: "Margem-bold";
  font-size: 18px;
  font-weight: 700;
  line-height: 22.5px;
  text-align: left;
  color: #0D134C;
}

.hero .hero-content .hero-text h2 br {
  display: none;
}

.hero .hero-content .hero-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  align-items: center;
}

.hero .hero-content .hero-img img {
  object-fit: fill;
  overflow: auto;
  width: 100%;
}

.hero .hero-content .dados-hero .salario-inicial,
.hero .hero-content .dados-hero-desktop .salario-inicial {
  margin-right: 16px;
}

.hero .hero-content .dados-hero span,
.hero .hero-content .dados-hero-desktop span {
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  font-family: "Margem-medium";
}

.hero .hero-content .dados-hero p,
.hero .hero-content .dados-hero-desktop p {
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  font-family: "Margem-bold";
}

.hero .hero-content .dados img,
.hero .hero-content .dados-hero img {
  width: 28px;
}

.hero .hero-content .tag-hero {
  max-width: fit-content;
  background-color: #ffc727;
  border-radius: 6px;
  padding: 4px 8px;
}

.hero .hero-content .tag-hero p {
  font-family: "Margem-bold";
  color: #dd303e;
  font-size: 24px;
  line-height: 30px;
  margin: 0;
}

.hero-button {
  color: #fff;
  background: #DD2F3D;
  padding: 15px 25px;
  border-radius: 12px;
  margin-top: 15px;
}

.hero-button:hover {
  color: #fff;
}

.label-professores {
  color: #0D134C;
  position: absolute;
  right: 15em;
  bottom: 90px;
  background: #E5FF7F;
  padding: 5px 15px;
  border-radius: 12px;
  @media (min-width: 1600px) {
    right: 11em;
  }
  @media (min-width: 1900px) {
    right: 17em;
  }
  @media (min-width: 2000px) {
    right: 25em;
  }
}

@media screen and (max-width: 576px) {
  .hero .header {
    padding: 25px 15px;
  }
  .hero .hero-content .hero-text h2{
    text-align: center;
  }
  .hero .hero-content .hero-text span {
    margin: 0 auto;
    text-align: center;
    width: 350px;
   }

  .hero .tags {
    flex-direction: column;
  }

  .hero .hero-content .hero-text h2 br{
    display: block;
  }

  .hero .hero-content .hero-text p{
    font-size: 15px;
    text-align: center;
    margin-top: 5px;
    padding: 0 15px;
  }

  .hero .hero-content .hero-cta {
    margin: 20px auto;
    max-width: 100%;
  }

  .hero .hero-content .section-title-info {
    display: flex;
    flex-direction: column;
  }

  .hero .hero-content .section-title-info .dados-hero {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .hero .hero-content .section-title-info .dados-hero span{
    font-size: 9px;
  }

  #card-triplo{
    padding: 25px 15px 80px;
  }
}

@media screen and (min-width: 768px) {
  .hero .hero-content .hero-title {
    font-family: "Margem-black";
    font-size: 118px;
    max-width: 420px;
    margin-right: 15px;
  }

  .hero .hero-content .hero-title span {
    font-size: 118px;
  }

  .hero .hero-content h2 {
    font-size: 30px;
    line-height: 35px;
    width: 490px;
  }

  .hero .hero-content .hero-title .destaque {
    font-size: 118px;
    line-height: 110px;
  }

  .hero .hero-content .wrapper-title img {
    max-width: 100%;
  }

  .hero .hero-content .dados-hero .salario-inicial,
  .hero .hero-content .dados-hero-desktop .salario-inicial {
    margin-right: 32px;
  }

  .hero .hero-content .dados-hero img,
  .hero .hero-content .dados-hero-desktop img {
    width: 32px;
  }
}

@media screen and (min-width: 992px) {
  .hero .header {
    padding: 30px 0 0 0;
  }

  .hero .hero-content {
    flex-direction: row;
  }

  .hero .hero-content .left-side {
    max-width: 715px;
  }

  .hero .hero-content .right-side {
    display: flex;
    align-items: end;
  }

  .hero .hero-content .dados-hero span,
  .hero .hero-content .dados-hero-desktop span {
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    font-family: "Margem-medium";
  }

  .hero .hero-content .dados-hero p,
  .hero .hero-content .dados-hero-desktop p {
    font-size: 24px;
    line-height: 24px;
    color: #fff;
    font-family: "Margem-bold";
  }

}
