* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

i,
svg {
  pointer-events: none;
}

.kick-pad,
.snare-pad,
.hihat-pad {
  width: 5rem;
  height: 5rem;
  margin: 1rem 0.5rem;
  cursor: pointer;
}

.kick-pad {
  background: rgb(146, 196, 230);
}

.kick-pad.active {
  background: rgb(7, 134, 219);
}

.snare-pad {
  background: rgb(138, 218, 152);
}

.snare-pad.active {
  background: rgb(4, 173, 32);
}

.hihat-pad {
  background: rgb(219, 190, 134);
}

.hihat-pad.active {
  background: rgb(226, 148, 4);
}

.sequencer {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hihat-track,
.snare-track,
.kick-track {
  display: flex;
  align-items: center;
  width: 70%;
  justify-content: space-between;
  margin: 5rem;
}

.kick,
.snare,
.hihat {
  display: flex;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  margin: 0 2rem;
}

.controls button {
  padding: 1rem;
  border: none;
  background: rgb(155, 149, 149);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.5s ease;
}

.pad {
  transition: all 0.5s ease;
}

.play {
  padding: 1rem 2rem;
  font-size: 1.5rem;
  background: rgb(155, 149, 149);
  color: #fff;
  border: none;
  cursor: pointer;
}

select {
  padding: 1rem;
  font-size: 1rem;
  margin: 1rem;
}

.mute.active {
  background: rgb(20, 20, 20);
}

.tempo {
  margin: 3rem;
  width: 30%;
}

.tempo-slider {
  padding: 0.2rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 1rem 0;
  width: 100%;
  position: relative;
  background: rgb(104, 75, 75);
  cursor: pointer;
  border-radius: 1rem;
}

.tempo-slider:focus {
  outline: none;
}

.tempo p {
  font-style: 1.5rem;
  margin: 2rem;
  text-align: center;
}

@keyframes playTrack {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.2);
  }
}
