* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p {
  font-size: large;
}

body {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  margin: 0;
  overflow-x: hidden; /* Evita rolagem horizontal */
}

nav {
  width: 100%;
}

nav button {
  font-size: large;
  width: 50px;
  height: 40px;
  margin: 3px;
  padding: 5px;
  cursor: pointer;
  border: none;
}

nav button:hover {
  background-color: #d3d2d0;
}

.header2 {
  background-color: white;
  line-height: 50px;
  font-size: 25px;
  width: 100%;
  text-align: center;
}

.imagemBanner {
  width: 100%;
  height: 200px;
  background-image: url("../img/outros/foto_banner_total_grande.jpg");
  background-size: cover;
  display: flex;
  align-items: flex-end; /* Corrigido alinhamento */
}

.estrelas {
  width: 100%;
}

.titulo_principal2 {
  color: #4f5962;
  font-size: 20px;
}

#divFiltro {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

#divLargura button {
  width: 100px;
  height: 60px;
  color: #4f5962;
}

#divFiltro button {
  height: 60px;
  width: 120px;
  color: #4f5962;
}

#tituloEscolhido {
  background-color: #468b9e;
  border-bottom: 2px solid;
}

.central-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.cards {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px;
  background-color: rgb(233, 233, 233);
  width: 320px;
}

.cards:hover {
  cursor: pointer;
  background-color: rgb(200, 200, 200);
}

.card-1 {
  padding: 10px;
  display: flex;
  width: 100%;
  font-size: 18px;
  justify-content: center;
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 25px;
}

.card-2 {
  display: flex;
  flex-wrap: wrap;
}

.card-3 {
  width: 95%;
  text-align: center;
  font-size: small;
  font-weight: bold;
  background-color: blue;
}

.card-4 {
  width: 95%;
  text-align: center;
  font-size: small;
  font-weight: bold;
  background-color: rgb(108, 144, 185);
}

.card-1-esquerda {
  width: 20%;
}

.card-1-direita {
  width: 65%;
}

.card-2 {
  justify-content: center;
}

h2 {
  font-size: 20px;
}

.my-slider {
  background-color: #202124;
}

.tns-inner {
  background-color: #202124;
}

.fact {
  width: 100%;
  background-color: rgb(159, 159, 159);
  text-align: center;
}

.fact a {
  text-decoration: underline;
}

.fact2 {
  display: inline-block;
  width: 100%; /* Ajustado para evitar estouro da tela */
}

.construtora {
  width: 100%; /* Ajustado para evitar estouro da tela */
  text-align: center;
}

@media (max-width: 600px) {
  .imagemBanner {
    width: 100%;
    height: 200px;
    background-image: url("../img/outros/foto_banner_total_pequena.jpg");
    background-size: cover;
  }

  .header2 {
    line-height: 50px;
    font-size: 25px;
    width: 100%;
    text-align: center;
  }

  .titulo_principal {
    height: 100px;
    background-color: black;
  }

  .titulo_principal2 {
    font-size: large;
  }

  .central-cards {
    margin-top: 50px;
  }

  .fact2 {
    display: block; /* Ajustado para evitar estouro horizontal */
    width: 100%;
  }

  .construtora img {
    display: inline-block;
    width: 80%;
  }
}
