@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;700&display=swap");

:root {
  --cor-de-fundo: #2107b4;
  --verde: #6fff57;
  --branco: #ffffff;
  --botao-ativo: #697265;
  --botao-inativo: rgba(58, 55, 94, 0.5);
  --texto-fundo: rgba(58, 55, 94, 0.3);
}

body {
  background-color: var(--cor-de-fundo);
  color: var(--branco);
  font-family: "Chakra Petch", sans-serif;
}

.conteudo-principal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.titulo-principal {
  text-align: left;
  width: 100%;
  font-size: 32px;
}

.titulo-principal span {
  color: var(--verde);
}

.botao {
  font-family: "Crakra Petch", sans-serif;
  background-color: var(--botao-inativo);
  color: var(--branco);
  display: flex;
  justify-content: center;
  padding: 1em;
  font-size: 18px;
  align-items: center;
  width: 100%;
  border-bottom: 4px solid var(--botao-ativo);
  border-left: 2px solid var(--botao-ativo);
  border-right: 2px solid var(--botao-ativo);
  border-top: none;
}

.botao:first-child {
  border-radius: 40px 40px 0 0;
}

.botoes {
  display: block;
}
/*aula2*/

.abas-textos {
  background-color: var(--texto-fundo);
  padding: 40px;
  border-radius: 0 0 40px 40px;
}
.botao.ativo {
  background-color: var(--botao-ativo);
  border-bottom: 4px solid var(--verde);
}
.aba-conteudo.ativo {
  display: block;
}
.aba-conteudo {
  display: none;
}
.aba-conteudo-titulo-principal {
  font-size: 28px;
  text-align: center;
}
.aba-conteudo-titulo-secundario {
  text-align: center;
  color: var(--verde);
  text-transform: uppercase;
}




/*quando a largura mínima da tela for maior que 768px.*/
@media screen and (min-width: 768px) { 
    .botoes { 
    display: flex;
    } 
    .botao:first-child { 
        border-radius: 40px 0 0 0; 
    }
    .botao:last-child { 
        border-radius: 0 40px 0 0; 
    } 
}

/*transformar a disposição dos elementos em flexível.*/
 
/*pseudo-classe :first-child.
Dentro dele, adicionamos border-radius: 40px 0 0 0; 
para informar que somente o canto superior esquerdo será arredondado.*/
  
/*botão com :last-child, dessa vez informando que o canto arredondado será do lado direito*/
 
