
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(75deg, #747474, #000000);
  color: white;
  height: 100vh;
  padding-top: 150px;
}

/* Drum container */
.keys {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: 1200px;
  margin: auto;
  gap: 20px;
  padding: 20px;
}

/*key*/
.key {
  background: #333;
  border: 3px solid #555;
  border-radius: 15px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.key:hover {
  background: #444;
  transform: translateY(-3px);
}

.key:active {
  transform: scale(0.9) translateY(5px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Names */
kbd {
  font-size: 2.3rem;
  font-weight: bold;
  background: #222;
  padding: 10px 0;
  border-radius: 8px;
  margin-bottom: 8px;
  box-shadow: inset 0 -3px rgba(255,255,255,0.1);
}

/* drums sounds name */
.sound {
  font-size: 2rem;
  color: #f1c40f;
  letter-spacing: 1px;
  padding: 10px;
}





/* Active animation for JS (optional) */

.key.playing {
  border-color: #f1c40f;
  box-shadow: 0 0 20px #f1c40f, 0 0 40px #f1c40f inset;
  transform: scale(1.05);
}
