body {
  background: #222;
  font-family: Arial, sans-serif;
  color: white;
  margin: 0;
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
}

.item {
  text-align: center;
  text-decoration: none;
  color: white;
  transition: transform 0.2s;
}

.item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.item span {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.item:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.button-nav {
    display: flex;
    justify-content: center; /* Centers the buttons horizontally */
    gap: 10px; /* Space between buttons */
}

.nav-button {
    display: inline-block;
    padding: 10px 20px; /* Adjusts the padding for size */
    background-color: gray; /* Button background color */
    color: white; /* Text color */
    border: none; /* No border */
    border-radius: 5px; /* Less rounded corners */
    text-decoration: none; /* Removes underline from links */
    text-align: center; /* Centers text */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.nav-button:hover {
    background-color: darkgray; /* Changes color on hover */
}
