body {
  text-align: center;
  background-color: #8698ca;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

h1 {
  font-size: 3rem;
  color: #74929c;
  font-family: "Arvo", cursive;
  text-shadow: 3px 0 #9e607c;
  margin: 20px 0;
}

footer {
  color: #173945;
  font-family: sans-serif;
  font-size: 0.9rem;
  margin-top: 30px;
}

/* Drum buttons container */
.set {
  margin: 5% auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 800px;
}

.drum {
  outline: none;
  border: 8px solid #404b69;
  font-size: 2.5rem;
  font-family: "Arvo", cursive;
  line-height: 1.5;
  font-weight: 900;
  color: #da0463;
  text-shadow: 2px 0 #dbedf3;
  border-radius: 15px;
  display: inline-block;
  width: 120px;
  height: 120px;
  text-align: center;
  margin: 5px;
  background-color: white;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: all 0.1s;
}

/* Individual drum images */
.w {
  background-image: url(./image/crash.png);
}
.a {
  background-image: url(./image/kick.png);
}
.s {
  background-image: url(./image/snare.png);
}
.d {
  background-image: url(./image/tom1.png);
}
.j {
  background-image: url(./image/tom2.png);
}
.k {
  background-image: url(./image/tom3.png);
}
.l {
  background-image: url(./image/tom4.png);
}

/* States */
.pressed {
  box-shadow: 0 2px 3px 0 #dbedf3;
  opacity: 0.7;
  transform: scale(0.98);
}

.game-over {
  background-color: red;
  opacity: 0.8;
}

.red {
  color: red;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
    margin: 15px 0;
  }

  .drum {
    width: 100px;
    height: 100px;
    font-size: 2rem;
    border-width: 6px;
    line-height: 1.3;
  }

  .set {
    margin: 10% auto;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
    text-shadow: 2px 0 #9e607c;
  }

  .drum {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    border-width: 5px;
    margin: 3px;
  }

  footer {
    font-size: 0.8rem;
  }
}
