:root {
  --text-color: #667085;
  --main-color: #8E2424;
  --title-color: #101828;
}


.cabecalho {
  width: 100%;
  perspective: 1px;
  transform-style: preserve-3d;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none; 
  background: url(./assets/img/cabecalho.png);
  background-size: 70%;
  background-position: bottom;
  background-repeat: no-repeat;
  background-origin: content-box;
}

.cabecalho::-webkit-scrollbar {
  display: none;
}

.content {
  position: relative;
  display: block;
  background-color: white;
  z-index: 1; 
}

.conteudo {
  max-width: 750px;
  margin: 0 auto;
  padding: 75px 0;
  text-align: center;
  color: var(--main-color);
}

.conteudo h2 {
  font-size: 40px;
  font-weight: bold;
}

.parallax {
  display: flex;
  flex: 1 0 auto;
  position: relative;
  z-index: -1;
  height: 100vh;
  justify-content: center;
  align-items: center;
  transform: translateZ(-1px) scale(2);
  
}

.parallax .devCourse {
  display: flex;
  flex-wrap: wrap;
  letter-spacing: -15px;
  color: var(--main-color);
  text-align: center;
  font-size: 120px;
  font-weight: 600;
  margin-bottom: 3.5em;
  letter-spacing: .1px;
}

.about-us {
  padding: 6rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* poderia ser margin-bottom pra cada elemento, gap dá um espaçamento entre todos
  os filhos de uma div com display flex*/
}

.about-us span {
  color: var(--main-color);
}

.about-us h1 {
  font-size: 2rem;
  color: var(--title-color);
  text-align: center;
}

.about-us p {
  color: var(--text-color);
  max-width: 50%;
  text-align: center;
  line-height: 1.5rem;
}

/* Seção de métricas */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 3rem;
  padding: 0 8rem;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.metric h1 {
  color: var(--main-color);
  font-size: 3rem;
}

.metric span {
  color: var(--text-color);
  line-height: 140%;
  font-size: 90%;
}

.metric .metric-title {
  font-weight: 500;
  color: #101828;
}

/* Seção de talentos */

.talents {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
  padding-top: 8rem;
  gap: 1rem;
}

.talents h2 {
  text-align: center;
  color: var(--title-color);
}

.talents span {
  color: var(--main-color);
  background: rgba(142, 36, 36, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
}

.talents p {
  text-align: center;
  color: var(--text-color);
}

.talents img {
  margin-top: 2rem;
  width: 80%;
}

.vagas {
  border-width: 0.5em;
  border-style: solid;
  border-radius: 15px;
  border-color: transparent;
  background-color: #8E2424;
  box-shadow: hsl(0, 32%, 27%) 0px 20px 30px -10px;
  color: white;
  text-align: center;

}
/* Seção de vagas abertas */

.vagas-abertas {
  padding-top: 4rem;
}

.vagas-abertas span.area-principal {
  display: block;
  max-width: 50%;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-weight: bold;
  color: var(--title-color);
}

.vaga {
  border: 1px solid #EAECF0;
  border-radius: 0.5rem;
  padding: 1rem;
  max-width: 50%;
  margin: 0 auto;
  margin-bottom: 1rem;
  color: var(--title-color);
}

.vaga span.titulo-vaga {
  font-weight: 500;
  margin-bottom: 16px;
}

.vaga .informacoes {
  margin-top: 1rem;
  font-size: 90%;
  color: var(--text-color);
  display: flex;
  gap: 2rem;
}

/* Seção de depoimentos */

.depoimento {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 80%;
  margin: 8rem auto;
  background-color: rgba(195, 25, 25, 0.05);
  padding: 3rem 2rem;
}

.depoimento span {
  color: var(--main-color);
  font-weight: 500;
  text-align: center;
}

.depoimento img {
  width: 48px;
}

.depoimento h2 {
  color: var(--title-color);
  font-weight: 500;
  text-align: center;
  max-width: 70%;
  margin: 2rem 0;
}

.depoimento span.nome {
  color: var(--title-color);
  margin: 0.5rem 0;
  font-weight: 400;
}

.depoimento span.cargo {
  color: var(--text-color);
  font-weight: 400;
}

/* Seção final - formulário de email */

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #F9FAFB;
  padding: 6rem 1rem;
  gap: 1.5rem;
  text-align: center;
}

.footer h2 {
  color: var(--title-color);
}

.footer span {
  color: var(--text-color);
}

.footer form {
  display: flex;
  justify-content: space-between;
}

.footer input {
  outline: none;
  border: 1px solid #D0D5DD;
  border-radius: 0.5rem;
  padding-left: 1rem;
  width: 12rem;
  margin-right: 1rem;
}

@media screen and (max-width: 1030px) {
  .parallax .devCourse {
    font-size: 100px;
    margin-top: 5rem;
    padding: 0 20px;
  }
}
@media screen and (max-width: 425px) {
  .parallax .devCourse {
    font-size: 70px;
    margin-top: 3rem;
  }
}
@media screen and (max-width: 920px) {
  .metrics {
    padding: 0 4rem;
  }
}

@media screen and (max-width: 850px) {
  .metrics {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .metric {
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .metric span {
    max-width: 280px;
    text-align: center;
  }

  .about-us p {
    max-width: 70%;
  }

  .vaga {
    max-width: 70%;
  }
  
  .vagas-abertas span.area-principal {
    max-width: 70%;
  }

  .depoimento h2 {
    max-width: 100%;
    font-size: 120%;
  }
}