body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  background-color: #333;
  
}
.pianno{
  margin-top: 250px;
    border: #000;
    border-radius: 20px;
    padding: 50px;
    background-color: black;

  }

.keys {
  display: flex;
  position: relative;
}

.keys kbd
{
    display: block;
    margin-left: 20px;
    margin-top: 70px;
    font-size: 40px;
    font-weight: 500;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.key {
  width: 60px;
  height: 200px;
  margin: 0 5px;
  background: white;
  border: 1px solid #000;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

.key:active {
  background: #ddd;
}

.key.k-black {
  width: 40px;
  height: 120px;
  background: black;
  position: absolute;
  z-index: 1;
  margin-left: -20px;
  margin-right: -20px;
}

.key.k-black:active {
  background: #555;
}

.kbd {
  font-size: 24px;
  color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sound {
  display: none;
}
