/* Light grey background */
body {
  background-color: #e5e5e5;
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Header styling */
header {
  text-align: center;
  padding: 20px 0;
}

/* NAV BAR — horizontal tabs */
nav ul {
  list-style: none;
  margin: 0;
  padding: 10px;
  background-color: blue;
  text-align: center;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Main content */
main {
  padding: 20px;
}

/* Button grid (supports either .button-grid or your older .buttons container) */
.button-grid,
.buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;

  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
}

/* Make the buttons fill each grid cell */
.button-grid button,
.buttons button {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;

  cursor: pointer;
  border: none;
  border-radius: 8px;

  background-color: #2b2b2b;
  color: #ffffff;

  transition: background-color 0.2s ease, transform 0.1s ease;
}

.button-grid button:hover,
.buttons button:hover {
  background-color: #444;
  transform: translateY(-2px);
}

.button-grid button:active,
.buttons button:active {
  transform: translateY(0);
}

/* Responsive: 2 columns on medium screens, 1 column on small screens */
@media (max-width: 800px) {
  .button-grid,
  .buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .button-grid,
  .buttons {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 15px 0;
  color: #555;
}
/* ===== FORCE BUTTON GRID (3 columns x 5 rows) ===== */
.button-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;

  max-width: 900px;
  margin: 20px auto !important;
  padding: 20px !important;

  /* proof it's applying */
  border: 2px dashed #777;
}

.button-grid > button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  cursor: pointer;

  border: none;
  border-radius: 8px;
  background: #2b2b2b;
  color: #fff;
}
