@font-face {
  font-family: "Margem-regular";
  src: url("@/assets/fonts/Margem-Regular-web.ttf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Margem-medium";
  src: url("@/assets/fonts/Margem-Medium-web.ttf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Margem-bold";
  src: url("@/assets/fonts/Margem-Bold-web.ttf") format("opentype");
  font-display: swap;
}

body.block {
  overflow: hidden;
}

body.block:after {
  content: "";
  background: rgb(0 0 0 / 60%);
  display: block;
  position: fixed;
  z-index: 100;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  bottom: 0;
}

#section-carreiras,
#section-preparacao {
  padding-top: 72px;
  background-color: #ffffff;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-bottom: -2px;
}

#section-carreiras .title-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#section-preparacao {
  padding: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#section-carreiras .title-box h1,
#section-preparacao .title-box h1 {
  text-align: center;
  color: #505f79;
  font-size: 18px;
  font-weight: 700;
  font-family: "Mulish";
  letter-spacing: 2px;
  line-height: 31.5px;
}

#section-carreiras .title-box h2,
#section-preparacao .title-box h2 {
  text-align: start;
  font-family: "Margem-bold";
  font-weight: 700;
  line-height: 100%;
  font-size: 32px;
  margin-bottom: 16px;
}

#section-preparacao .title-box h2 {
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 24px;
}

#section-carreiras .title-box p,
#section-preparacao .title-box p {
  text-align: start;
  font-family: "Montserrat";
  font-size: 16px;
  line-height: 24px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 25px;
  color: #505f79;
}

#section-carreiras .title-box hr,
#section-preparacao .title-box hr {
  width: 55px;
  border: 1px solid #f20009;
}

#section-carreiras .left-content {
  flex: 1;
}

#section-carreiras .right-content {
  display: flex;
  gap: 57px;
}

#section-carreiras .right-content span {
  font-family: "Margem-Bold";
  font-weight: 800;
  color: #041431;
}

#section-carreiras .right-content p {
  font-family: "Margem-Medium";
  line-height: 125%;
  color: #172b4d;
  margin-top: 6px;
}

#section-carreiras .left-content span {
  font-family: "Margem-Bold";
  font-weight: 800;
}

#section-carreiras .title-box .left-content p {
  margin: 0;
  margin-right: auto;
  max-width: 761px;
}

#section-cards {
  background-color: #ffffff;
  padding-bottom: 72px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

#section-cards .row {
  margin: 0 auto;
  float: none;
  display: flex;
  align-self: center;
  gap: 48px 30px;
  margin-top: 48px;
  justify-content: center;
}

#section-cards .cards {
  display: flex;
  flex-direction: column;
  height: 378px;
}

.carreiras-background {
  height: 170px;
  width: 294px;
  border-radius: 6px 6px 0 0;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#section-cards .cards .banner {
  width: 100%;
}

#section-cards .cards .content {
  padding: 16px 22px 24px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  margin: 0 !important;
  width: 294px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#section-cards .content .fs-3 {
  font-family: "Mulish";
}

#section-cards .cards .content h3 {
  font-family: "Margem-bold";
  font-size: 20px;
  font-weight: 700;
  line-height: 100%;

  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

#section-cards .cards .content h4 {
  font-family: "Margem-regular";
  color: #172b4d;
}

#section-cards .cards p {
  color: #424242;
  font-size: 14px;
  min-height: 50px;
}

#section-cards .footer-card {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

#section-cards .footer-card .addCarrer {
  border-radius: 12px;
  border: 1px solid #0057ff;
  background-color: #ffffff;
  box-shadow: none;
  text-transform: none;
  font-family: "Margem-Medium", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  width: 250px;
  height: 48px;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  gap: 12px;
  max-width: none;
}

#section-cards .footer-card .addCarrer i {
  color: #fff;
}

#section-cards .footer-card .addCarrer.check {
  box-shadow: none;
  background-color: #0057ff;
  border-color: #0057ff;
}

#section-cards .footer-card .addCarrer.check span {
  color: #fff;
}

#section-cards .footer-card .romoveCarrer {
  display: none;
}

#section-cards .footer-card a span {
  padding: 0;
  width: 100%;
  display: block;
  font-weight: 500;
  transition: 0.3s;
  font-family: "Margem-Medium", sans-serif;
  letter-spacing: 0%;
  color: #0057ff;
  text-align: center;
}

#section-cards .footer-card .teachers img + img {
  margin-left: -15px;
}

#section-cards .button-conclua {
  text-align: center;
  margin-top: 50px;
}

#section-cards .button-conclua a {
  padding: 15px 25px;
}

#section-cards .button-conclua a:hover {
  color: #fff;
}

#section-cards .footer-card a {
  user-select: none;
}

#carrinhoPanorama {
  position: fixed;
  right: 0;
  background: #fff;
  padding: 25px;
  width: 85%;
  max-width: 413px;
  height: 100%;
  z-index: 1000;
  box-shadow: -2px 2px 8px rgb(0 0 0 / 8%);
  transform: translate3d(100%, 0px, 0px);
  transition: 0.3s;
}

#carrinhoPanorama.open {
  transform: translate3d(0%, 0px, 0px);
}

#carrinhoPanorama .controleCarrinho {
  background: linear-gradient(90deg, #e60009 0%, #ff00a2 100%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  position: absolute;
  left: -15%;
  cursor: pointer;
}

#overlay {
  position: fixed;
  /* Sit on top of the page content */
  display: none;
  /* Hidden by default */
  width: 100%;
  /* Full width (cover the whole page) */
  height: 100%;
  /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  /* Black background with opacity */
  z-index: 999;
  /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer;
  /* Add a pointer on hover */
}

#carrinhoPanorama .controleCarrinho i {
  transition: 0.3s;
}

#carrinhoPanorama .controleCarrinho span {
  position: absolute;
  font-size: 10px;
  left: -6px;
  bottom: 0;
  background: #eeeeee;
  color: #424242;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#carrinhoPanorama .controleCarrinho.open i {
  transform: rotate(180deg);
}

#carrinhoPanorama #selectdEvents {
  font-size: 12px;
  text-transform: uppercase;
  background: #f4f5f7;
  padding: 5px 20px;
  border-radius: 20px;
  margin-bottom: 30px;
  font-weight: 800;
}

#carrinhoPanorama .top {
  margin-bottom: 50px;
}

#carrinhoPanorama .top h2 {
  font-size: 20px;
  font-weight: 600;
}

#carrinhoPanorama .content {
  height: 300px;
  overflow-y: auto;
}

#carrinhoPanorama .content .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

#carrinhoPanorama .content p {
  color: #212529;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 0;
}

#carrinhoPanorama .content .date {
  display: flex;
  align-items: center;
}

#carrinhoPanorama .content .date .disc {
  background-color: #505f79;
  width: 5px;
  height: 5px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%;
  margin: 0 5px;
}

#carrinhoPanorama .content .date span {
  font-size: 12px;
  color: #505f79;
}

#carrinhoPanorama .content .removeEvent {
  background: #eeeeee;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#carrinhoPanorama .bottom {
  margin-top: 35px;
}

#carrinhoPanorama .bottom .addEventos {
  display: block;
  color: #0067ff;
  text-align: center;
  font-size: 14px;
}

#carrinhoPanorama .bottom .addEventos i {
  margin-right: 10px;
}

#carrinhoPanorama .bottom .concluirInscricao {
  margin-top: 80px;
  display: block;
  text-align: center;
  width: 100%;
}

#carrinhoPanorama .closeMobile {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 10px;
  display: none;
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  #section-cards .footer-card a {
    font-size: 9px;
  }

  .teachers {
    text-align: right;
  }

  .teachers img {
    width: 40%;
  }
}

@media screen and (min-width: 741px) and (max-width: 1024px) {
  #section-cards .footer-card {
    display: block;
  }

  #section-cards .footer-card .teachers {
    margin-top: 15px;
  }
}

@media screen and (min-width: 641px) and (max-width: 740px) {
  #section-cards .footer-card {
    display: flex;
  }

  #section-carreiras .title-box p {
    width: 70%;
  }
}

@media screen and (min-width: 416px) and (max-width: 640px) {
  .section-topo {
    overflow: hidden;
  }

  #section-location {
    margin-top: 0;
  }

  #section-cards .footer-card {
    display: flex;
  }

  #section-cards .footer-card .teachers {
    margin-top: 0;
  }

  #section-carreiras .title-box p {
    width: 100%;
  }

  #section-cards .cards:first-child {
    margin-top: 0;
  }

  #carrinhoPanorama .closeMobile {
    display: block;
  }

  #carrinhoPanorama .bottom .concluirInscricao {
    margin-top: 20px;
  }

  #carrinhoPanorama .content {
    max-height: 200px;
    overflow-y: scroll;
  }

  #carrinhoPanorama .top {
    margin-bottom: 20px;
  }

  #carrinhoPanorama .top p {
    font-size: 12px;
  }

  #carrinhoPanorama .top p {
    font-size: 14px;
  }
}

@media screen and (min-width: 319px) and (max-width: 415px) {
  #section-cards {
    padding: 0 35px 100px 35px;
  }

  #section-cards .cards:first-child {
    margin-top: 0;
  }

  #section-carreiras .title-box p {
    width: 100%;
  }
}

#carrinhoPanorama .closeMobile {
  display: block;
}

#carrinhoPanorama .bottom .concluirInscricao {
  margin-top: 20px;
}

#carrinhoPanorama .content {
  max-height: 200px;
  overflow-y: scroll;
}

#carrinhoPanorama .top {
  margin-bottom: 20px;
}

#carrinhoPanorama .top p {
  font-size: 12px;
}

#carrinhoPanorama .top p {
  font-size: 14px;
}

@media screen and (max-width: 320px) {
  #section-cards {
    padding: 0 35px;
  }

  #section-carreiras {
    padding: 50px 35px;
  }

  #section-carreiras .title-box p {
    width: 100%;
  }

  #section-cards .cards:first-child {
    margin-top: 0;
  }

  #section-cards .footer-card {
    display: block;
  }

  #section-cards .footer-card .teachers {
    margin-top: 15px;
  }

  #carrinhoPanorama .closeMobile {
    display: block;
  }

  #carrinhoPanorama .bottom .concluirInscricao {
    margin-top: 20px;
  }

  #carrinhoPanorama .content {
    max-height: 200px;
    overflow-y: scroll;
  }

  #carrinhoPanorama .top {
    margin-bottom: 20px;
  }

  #carrinhoPanorama .top p {
    font-size: 12px;
  }

  #carrinhoPanorama .top p {
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  .footer-card > a {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  #section-cards .row {
    gap: 16px;
  }

  #section-carreiras .left-content {
    width: 100%;
  }

  #section-carreiras .left-content p {
    margin: auto !important;
  }

  #section-carreiras .right-content {
    width: 100%;
    justify-content: space-around;
  }

  #section-carreiras .title-box {
    flex-direction: column;
    gap: 24px;
  }

  #section-carreiras .title-box p {
    margin: 0;
  }
  #section-carreiras .title-box h2,
  #section-carreiras .title-box p {
    text-align: center;
  }
  #section-cards {
    padding: 0 15px;
  }
  #section-cards .row {
    width: auto;
    margin-top: 32px;
    justify-content: center;
  }
}
