* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
  font-weight: 500;
  color: white;
}

html,
body {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.piano {
  padding: 0px 20px;
  height: 400px;
  background-color: #111;
  border-radius: 10px;
}

.piano header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
}

.piano header div input {
  accent-color: white;
}

.piano header div span {
  opacity: 65%;
}

.piano header h1 {
  opacity: 65%;
}

.piano-keys ul {
  display: flex;
  list-style: none;
}

.piano-keys {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.key.white {
  height: 160px;
  width: 50px;
  background: white;
  border-radius: 5px;
  z-index: 1;
  border: 1px solid black;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.key.white span {
  color: black;
  position: absolute;
  bottom: 5px;
}

.key.white:hover {
  background: rgb(198, 198, 198);
}

.key.black {
  height: 120px;
  width: 35px;
  background: linear-gradient(#333, #000);
  border-radius: 5px;
  z-index: 2;
  margin-left: -15px;
  margin-right: -15px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.key {
  transition: transform 0.08s ease;
}

.key:active {
  transform: scale(1.05);
}