body {
  font-family: Arial, sans-serif;
  text-align: center;
  /* background-color: #f4f4f4; */
  background-image: url('green_felt.jpg');
  margin: 0;
  padding: 50px;
}

h1 {
  margin-bottom: 40px;
}

.soundboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.soundboard button {
  position: relative;
  overflow: hidden;
  width: 150px;
  height: 150px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 10px;
  background-color: #008cba;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.soundboard button:hover {
  background-color: #005f73;
}

/* Image styles */
.soundboard button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Overlay effect */
.soundboard button::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.2s ease-in-out;
  border-radius: 10px;
}

.soundboard button:hover::after {
  background-color: rgba(0, 0, 0, 0.45);
}

/* === Responsive: 3 buttons per row on small screens === */
@media (max-width: 1000px) {
   h1 {
     font-size: 6vw;
   }
  .soundboard button {
    width: calc(33.33% - 10px);  /* 3 per row minus gap */
    height: calc(33.33% - 10px); /* keep the button square */
    font-size: 16px;
  }
}