html {
  background: #001219;
  font-family: "Noto Serif", serif;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

header {
  position: relative;
  margin: 40px 0;
}

header:after {
  content: "";
  width: 450px;
  height: 30px;
  display: inline-block;
  text-align: center;
  background-size: 50%;
}

h1 {
  color: #fff;
  font-size: 50px;
  font-weight: 500;
  letter-spacing: 0.18em;
  margin: 0;
}

h2 {
  color: #fff;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  margin: 10px 0 30px;
}

.pianoKey {
  display: block;
  width: 100%;
  height: 300px;
  max-width: 1300px;
  position: relative;
  margin: 0px auto 0;
  cursor: none;
  display: flex;
}

.key {
  position: relative;
  border: 3px solid black;
  border-radius: 0.5rem;
  transition: all 0.07s ease;
  display: block;
  box-sizing: border-box;
  z-index: 2;
}

.white-keys {
  float: left;
  width: 15%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
}

.white-active,
.white-keys:hover {
  background-color: rgba(81, 182, 178);
  border-bottom: none;
  transform: rotate3d(1, 0, 0, 20deg);
}

.black-keys {
  position: absolute;
  width: 3.3%;
  height: 50%;
  background: #000;
  color: #eee;
  top: 0;
  z-index: 3;
}

.key[id="C#3"] {
  left: 30px;
}

.key[id="D#3"] {
  left: 85px;
}

.key[id="F#3"] {
  left: 194px;
}

.key[id="G#3"] {
  left: 248.5px;
}

.key[id="A#3"] {
  left: 303px;
}

.key[id="C#4"] {
  left: 410px;
}

.key[id="D#4"] {
  left: 465px;
}

.key[id="F#4"] {
  left: 572px;
}

.key[id="G#4"] {
  left: 627px;
}

.key[id="A#4"] {
  left: 682px;
}

.key[id="C#5"] {
  left: 789px;
}

.key[id="D#5"] {
  left: 845px;
}

.key[id="F#5"] {
  left: 951px;
}

.key[id="G#5"] {
  left: 1007px;
}

.key[id="A#5"] {
  left: 1114px;
}

.key[id="C#6"] {
  left: 1170px;
}

.key[id="D#6"] {
  left: 1225px;
}

.hints {
  display: block;
  width: 100%;
  position: absolute;
  bottom: 20px;
  font-size: 15px;
}

.black-keys:hover {
  background: linear-gradient(180deg, rgba(36, 32, 30, 1) 26%, rgba(136, 173, 33) 86%);

  transform: rotate3d(1, 0, 0, 20deg);
}

.black-keys:active {
  background: linear-gradient(180deg, rgba(36, 32, 30, 1) 26%, rgb(164, 164, 164) 86%);
}
