* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;

}

h1 {
  text-align: center;
}

h5 {
  color: #dd4848;
}

.model-imgs {
  padding-left: 0;
  text-align: center;
}

#first {
  margin: 0;
}

.cand-img {
  width: 100%;
  object-fit: contain;
}

.appli {
  max-width: 100%;
  object-fit: fill;
  margin-bottom: -16px;
  bottom: 0;
  left: 0;
}

.desc {
  text-align: justify;
}

ul {
  padding-left: 32px;
  padding-right: 16px;
}

.model-title {
  text-align: center;
  margin: 32px auto 16px auto;
}

.btn-fix {
  display: flex;
  text-align: center;
  justify-content: center;
  min-height: 52px;
  width: auto;
  margin-top: 1.25rem;
}

.btn-ficha {
  width: 50%;
  min-height: 48px;
  background-color: #ffd11f;
  border-radius: 50px;
  align-items: center;
  transition: 0.5s;
}

.btn-ficha:hover {
  color: #ff2a2a;
  background-color: black;
}

.btn-ficha a {
  height: 100%;
  display: flex;
  align-items: center;
  color: black;
}

.btn-ficha a:hover {
  text-decoration: none;
  color: #ff2a2a;
}

a h6,
a h4 {
  display: block;
  min-height: 1rem;
  margin: 0;
  width: 100%;
}

.grid-contain {
  display: grid;
  gap: 30px;
  grid-template-columns: auto auto auto;
  margin: 48px auto 32px auto;
  place-items: center;
}

.grid-item {
  max-width: 290px;
  max-height: 290px;
  transition: 0.3s ease-in-out;
}

.grid-item:hover {
    scale: 1.05;
}

.grid-item .contain {
  width: 290px;
  box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.25);
  height: 290px;
  /* Altura total: 244px + 50px */
  border-radius: 10px;
  /* Cantos arredondados */
  overflow: hidden;
  /* Garante que os cantos arredondados sejam exibidos corretamente */
}

.grid-item .topo {
  height: 328px;
  /* Altura da parte superior */
  background-color: #f0f0f0;
  /* Cor de fundo da parte superior */
}

.grid-item .topo img {
  width: 100%;
  /* Imagem preenche toda a largura */
  height: 100%;
  /* Imagem preenche toda a altura */
  object-fit: cover;
  /* Redimensiona a imagem para preencher o contêiner */
}

.grid-item .titulo {
  top: -80px;
  position: relative;
  height: 50px;
  /* Altura da parte inferior */
  background-color: #2B2B2B;
  /* Cor de fundo do título */
  color: #fff;
  /* Cor do texto do título */
  text-align: center;
  /* Alinhamento do texto centralizado */
  line-height: 50px;
  /* Centraliza verticalmente o texto */
}

.contain {
  padding: 0;
}

.contain a {
  display: block;
  width: 100%;
  height: 100%;
}


.more {
  margin: 24px 0 64px 0;
}

#info-table {
  margin: 16px auto 16px auto;
}

#info-table tbody tr td {
  border: 0;
  vertical-align: middle;
}

.td-right {
  text-align: right;
}

.tr-color {
  background-color: #e0e0e0;
}

.light {
  text-align: center;
}

#bright {
  max-height: 100px;
}

label {
  margin: 12px auto 24px auto;
  font-size: 12px;
}

.contain {
  padding: 0;
}

.content {
  margin: 0;
}

.contain a {
  text-decoration: none;
}

.simulacao {
  min-height: 120px;
  align-content: center;
  background-color: #414141;
}

.simulacao .title {
  color: white;
}

.title h3 {
  margin-bottom: 0;
  text-align: center;
}

.simulacao .content {
  justify-content: center;
  align-items: center;
}

#no {
  margin: auto 0 auto 0;
}

#btn-2:hover {
  color: #ff2a2a;
  background-color: black;
}

#btn-2 a:hover {
  text-decoration: none;
  color: #ff2a2a;
}

#fawls {
  margin: auto 0 auto 0;
  background-color: white;
}

#fawls h3 {
  color: black;
  margin-bottom: 0;
}


.modal {
  display: none;
  align-items: center;
  /* Centraliza verticalmente */
  justify-content: center;
  /* Centraliza horizontalmente */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.modal-content {
  background-color: rgba(0, 0, 0, 0.800);
  border-color: rgba(0, 0, 0, 0.800);
  margin: 0;
  text-align: center;
  /* Para centralizar horizontalmente */
  display: flex;
  justify-content: center;
  align-items: center;
  /* Para centralizar verticalmente */
  height: 100%;
  /* Define a altura como 100% do modal */
}

.modal-image-container {
  position: relative;
}

.modal img {
  max-height: 700px;
}

.close-button {
  position: absolute;
  right: -150px;
  /* Ajuste a posição horizontal conforme necessário */
  font-size: 50px;
  color: #fff;
  cursor: pointer;
}

@media screen and (max-width: 991px) {
  .appli {
    width: 100%;
  margin-bottom: 0;
  position: relative;
  text-align: center;
}
.more {
  margin: 24px 0 24px 0;
}
}

@media screen and (max-width: 970px) {
  .model-imgs {
  padding-right: 0;
}
  .appli {
  margin-bottom:0;
  position: relative;

}
  #table-div {
      padding:0;
  }
  
  #bright {
    max-width: 90%;
  }
  #no, #fawls {
    padding-bottom: 10px;
  }
  #fawls h3 {
    font-size: 26px
  }
  .simulacao .title {
      margin: 0.5rem;
      padding: 0;
  }
  .btn-fix {
    width: 80%;
  }
  .btn-ficha {
  width: 100%;
}
.grid-contain {
  justify-content: center;
  grid-template-columns: auto;
}
.fix-2 {
  margin: 10%;
}
    .close-button {
        right: 30px;
        font-size: 30px;
    }

    .modal img {
        max-width: 85%;
    }
}