/* Fonte padrão */
body {
  font-family: 'Rubik', sans-serif;
}

/* Links sem sublinhado */
a {
  text-decoration: none;
}

/* Grade principal de botões */
.table-transparencia {
  display: grid;
  grid-template-columns: repeat(4, 194px);
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

/* Cada box que contém um botão */
.box {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}

/* Estilo dos cartões */
.card {
  box-sizing: border-box;
  width: 190px;
  height: 190px;
  background: #002352;
  border: none;
  backdrop-filter: blur(6px);
  border-radius: 17px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-weight: bolder;
  color: #fff;
  text-decoration: none;
  font-size: 23px;
  padding: 20px;
  line-height: 1.3;
}

.card:hover {
  background-color: #002352;
  transform: scale(1.05);
  transition: all 0.3s;
}

.card:active {
  transform: scale(0.95) rotateZ(1.7deg);
}

/* Responsividade para telas menores */
@media (max-width: 765px) {
  .table-transparencia {
    grid-template-columns: 1fr; /* uma coluna só */
    gap: 20px;
  }

  .box {
    width: 100%;
  }

  .card {
    width: 100%;
    max-width: 90vw;
  }
}
