html,
body {
  width: 100%;
}


.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}


.formacao img {
  display: none;
}

.formacao div {
  margin-top: 1rem;
  margin-left: -5rem;
}

.formacao h1 {
  color: rgba(251, 108, 4, 0.88);
  text-align: center;
  /* text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
  font-family: "Source Sans 3", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  width: 450px;
  padding-left: 8rem;
  text-align: left;
}

.spanText {
  color: #3F3F3F;
  font-family: "Source Sans 3", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.spanText2 {
  color: #3F3F3F;
  font-family: "Source Sans 3", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.formacao p {
  color: #000;
  text-align: left;
  /* text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
  font-family: "Source Sans 3", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 450px;
  padding-left: 6rem;
  padding-top: 1rem;

}

.bolsistasTitle {

  color: #2A2A2A;
  text-align: center;
  /* text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
  font-family: "Source Sans 3", sans-serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}


.bolsistasSpan1 {
  color: rgba(251, 108, 4, 0.88);
  text-align: center;
  /* text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
  font-family: "Source Sans 3", sans-serif;
  font-size: 55px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}


.bolsistasSpan2 {
  color: #2A2A2A;
  font-family: "Source Sans 3", sans-serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}


.bolsas {
  display: grid;
  align-items: baseline;
  grid-template-columns: repeat(1, 1fr);
  justify-content: space-between;
  gap: 2rem;
  margin: 5rem auto;
  max-width: calc(2 * 585px + 2rem);
}

.card {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  
 
}
.cardBolsa img {
  width: 100%;
height: 621px;
  margin-top: 1.3rem;
}

.cardBolsa2 img {
  width: 100%;
height: 621px;
  margin-top: 1.3rem;
}

.card p {
  color: #000;
  font-family: "Source Sans 3", sans-serif;
  font-size: 16.9px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 81%;
}

.cardSpan {
  color: #FB6C04;
  font-family: "Source Code Pro", monospace;
  font-size: 21px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.formContact {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 539px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  border: 1px solid #000;
  background: #FFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.formContact h3 {
  /* width: 500px; */
  color: #FB6C04;
  text-align: center;
  font-family: "Source Sans 3", sans-serif;
  font-size: 58;
  font-style: normal;
  font-weight: 600;
  line-height: normal;


}

.formContact p {
  color: #2A2A2A;
  font-family: "Source Sans 3", sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;

}

.formContact span {
  color: #2A2A2A;
  font-family: "Source Sans 3", sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}



.group {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  background: rgba(63, 63, 63, 0.00);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  height: 60px;
}



.group input {
  background: transparent;
  outline: none;
  height: 56px;
  width: 159px;
  border: none;
  outline: none;
  padding: 1rem;
  color: #2A2A2A;

}



#groupBtn {
  background-color: #5C0CCB;
  height: 60px;
  width: 159px;
  border: none;
  outline: none;
}

.imgDesk {
  display: none;

}

.imgMb {
  display: flex;
  margin: 0 auto;
}

/* Telas móveis */
@media (max-width: 430px) {
  .formacao div {
    margin-top: 0;
    padding: 0.5em;
  }

  .formacao h1,
  .spanText,
  .spanText2 {
    font-size: 30px !important;
    width: 100%;

  }

  .formacao p {
    width: 100%;
    font-size: 20px;
  }

  .card-container {
    display: grid;
    grid-template-columns: 1fr; /* Define uma única coluna para os cartões */
    gap: 1rem; /* Espaço entre os cartões */
  }
  
  .card {

    padding: 0.rem; /* Reduz o padding nos cartões */
    margin-bottom: 1rem; /* Espaço entre os cartões */
    box-sizing: border-box; /* Inclui padding e border na largura total */
  }
  
  .card p {
    margin-left: 1rem;
    font-size: 14px; /* Ajusta o tamanho da fonte */
  }
  
  .cardSpan {
    font-size: 16px; /* Ajusta o tamanho da fonte */
    font-weight: bold; /* Destaca o texto */
  }
  
  .cardBolsa img, 
  .cardBolsa2 img {
    width: 100%;
    height: 321px; /* Altura fixa das imagens */
    object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
    margin-top: 1.3rem; /* Espaço acima das imagens */
  }
  
  
}

/* Tablets e telas intermediárias */
@media screen and (min-width: 431px) and (max-width: 768px) {
  .formacao {
    height: 761px;
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 2rem;
  }

  .formacao img {
    display: none;
  }

  .formacao div {
    margin-top: 0;
    margin-left: -3rem;
  }

  .formacao h1,
  .spanText,
  .spanText2 {
    width: 100%;
  }

  .formacao h1 {
    font-size: 40px;
  }

  .spanText,
  .spanText2 {
    font-size: 34px;
  }

  .formacao p {
    width: 90%;
    font-size: 21px;
  }

  .card {
   
    padding: 0.5rem; /* Reduz o padding nos cartões */
    gap: 1rem; /* Reduz o espaço entre imagem e texto */
    margin-bottom: 1rem; /* Espaço entre os cartões */
  }

  .card p {
    margin-left: rem;
    font-size: 14px; /* Ajusta o tamanho da fonte */
  }

  .cardSpan {
    font-size: 16px; /* Ajusta o tamanho da fonte */
  }

  .cardBolsa img {
    width: 100%;
  height: 421px;
    margin-top: 1.3rem;
  }
  
  .cardBolsa2 img {
    width: 100%;
  height: 421px;
    margin-top: 1.3rem;
  }
}

/* Telas pequenas para desktop (769px a 1440px) */
@media screen and (min-width: 769px) and (max-width: 1440px) {
  .formacao {
    background-image: url('assets/vetor1.png');
    background-repeat: no-repeat;
    background-position: right;
    height: 761px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: 2rem;
  }

  .formacao img {
    display: flex;
    width: 238px;
    height: 305px;
  }

  .formacao div {
    margin-top: -1rem;
    margin-left: -5rem;
  }

  .formacao h1 {
    width: 100%;
    font-size: 50px;
    text-align: left;
  }

  .spanText {
    font-size: 44px;
  }

  .spanText2 {
    font-size: 44px;
  }

  .formacao p {
    color: #000;
    text-align: left;
    font-size: 25px;
    width: 1009px;
    padding-left: 8rem;
    padding-top: 10px;
  }

  .imgDesk {
    display: flex;
    margin: 0 auto;
  }

  .imgMb {
    display: none;
  }

  .bolsas {
    grid-template-columns: 1fr 1fr; /* Duas colunas */
    gap: 1.5rem; /* Ajusta o espaço entre os cartões */
  }

  .card {
    display: flex;
    align-items: center;
    grid-template-columns: 1fr 2fr; /* Imagem e texto lado a lado */
  }

  .card p {
    font-size: 16px; /* Ajusta o tamanho da fonte */
  }

  .cardSpan {
    font-size: 21px; /* Ajusta o tamanho da fonte */
  }
}

/* Telas grandes (acima de 1440px) */
@media screen and (min-width: 1441px) {
  .formacao {
    background-image: url('assets/vetor1.png');
    background-repeat: no-repeat;
    background-position: right;
    height: 761px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .formacao img {
    display: flex;
    width: 238px;
    height: 305px;
  }

  .formacao div {
    margin-top: -5rem;
    margin-left: -5rem;
  }

  .formacao h1,
  .spanText,
  .spanText2 {
    width: 100%;
  }

  .formacao h1 {
    font-size: 50px;
  }

  .spanText,
  .spanText2 {
    font-size: 44px;
  }

  .formacao p {
    font-size: 20px;
    width: 900px;
    margin-left: 2rem;
  }

  .group {
    width: 550px;
  }

  .group input {
    width: 100%;
  }

  #contactForm2 {
    padding-top: 2rem;
  }

  .imgDesk {
    display: flex;
    margin: 0 auto;
  }

  .imgMb {
    display: none;
  }

  .bolsas {
    grid-template-columns: repeat(2, 1fr); /* Duas colunas */
    gap: 2rem; /* Espaço maior entre os cartões */
  }

  .card {
    display: flex;
    align-items: center;
    grid-template-columns: 1fr 2fr; /* Imagem e texto lado a lado */
  }

  .card p {
    font-size: 16.9px; /* Ajusta o tamanho da fonte */
  }

  .cardSpan {
    font-size: 21px; /* Ajusta o tamanho da fonte */
  }
}
