@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");

html,
body {
  background: linear-gradient(to left, #17851b, #ff9068);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: Raleway, sans-serif;
}
h1 {
  color: black;
  font-size: 5vw;
  letter-spacing: 6px;
}
.pad {
  width: 400px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 30px;
  background-color: rgb(52, 52, 83);
  /* border: 4px solid black; */
  box-shadow: 4px 4px 0 0 black;
  border-radius: 10%;
}
.key {
  width: 100px;
  height: 100px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  color: black;
  background: radial-gradient(#d8ffff, #62efef);
  border: 4px solid black;
  box-shadow: 4px 4px 0 0 black;
  user-select: none;
  transform: translate(0, 0);
  border-radius: 20%;
}
.sound {
  font-size: 14px;
  text-transform: uppercase;
  color: #fd052a;
  margin-top: 7px;
}
.key.playing {
  background: radial-gradient(#cfffff, #cfffff);
  box-shadow: 0 0 0 0 black;
  transform: translate(4px, 4px);
  border-color: #1ebde1;
  transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
}
.key.playing .sound {
  color: #fd746c;
  transform: scale(1.5);
  transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

.RP {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
#record {
  background: radial-gradient(#ff8f8f, #fc4d4d);
}
#play {
  background: radial-gradient(#b5fdb2, #53fc4d);
}

#record span {
  color: black;
}
#play span {
  color: black;
}
#play.toggle {
  background: radial-gradient(#b5fdb2, #b5fdb2);
  box-shadow: 0 0 0 0 black;
  transform: translate(4px, 4px);
  border-color: #fd746c;
  transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
}
#record.toggle {
  background: radial-gradient(#ff8f8f, #ff8f8f);
  box-shadow: 0 0 0 0 black;
  transform: translate(4px, 4px);
  border-color: #fd746c;
  transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
}
.RP.playing .sound {
  color: #fd746c;
  transform: scale(1.5);
  transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
}
