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

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

/* Grade principal de botões */
.table-sistema {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  width: 100%;
  box-sizing: border-box;
  margin-top: 60px;
}

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

/* Estilo dos cartões */
.card-sistema {
  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-sistema:hover {
  background-color: #002352;
  transform: scale(1.05);
  transition: all 0.3s;
}

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

@media (max-width: 480px) {
  .table-sistema {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .card-sistema {
    font-size: 18px;
    padding: 16px;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .table-sistema {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card-sistema {
    font-size: 20px;
    padding: 18px;
  }
}

 @media (min-width: 768px) and (max-width: 1024px) {
  .table-sistema {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .card-sistema {
    width: 140px;
    height: 140px;
    font-size: 18px;
    padding: 12px;
    border-radius: 12px;
  }
}


@media (min-width: 1025px) and (max-width: 1440px) {
  .table-sistema {
    flex-direction: row;
    gap: 32px;
  }

  .card-sistema {
    width: 170px;
    height: 170px;
    font-size: 21px;
    padding: 18px;
    border-radius: 15px;
  }
}

