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

:root {
  --cor-de-fundo: #aa0808;
  --verde: #068b39be;
  --branco: #ffffff;
  --botao-ativo: #e72929ab;
  --botao-inativo: rgb(199, 43, 43);
  --texto-fundo: rgba(248, 48, 48, 0.829);
}

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;
}

/* 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;
  }
}
  .ativo {
  background-color: var(--botao-ativo);
  border-bottom: 4px solid var(--verde);
}
  .abas-textos {
  background-color: var(--texto-fundo);
}
.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;
}