body {
  overflow: hidden;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

.sequence {
  position: relative;
  bottom: 1rem;
}

i {
  pointer-events: none;
}

.kick-pad,
.snare-pad,
.hihat-pad {
  background-color: aqua;
  height: 5rem;
  margin: 1rem 0.5rem;
  width: 5rem;
  cursor: pointer;
}
.kick-pad {
  background-color: rgb(130, 209, 209);
}
.snare-pad {
  background-color: rgb(216 152 229);
}
.hihat-pad {
  background-color: burlywood;
}
.kick-pad.active {
  background-color: rgb(20 141 165);
}
.snare-pad.active {
  background-color: rgb(163, 43, 187);
}
.hihat-pad.active {
  background-color: rgb(232 141 22);
}
.pad {
  transition: 0.5s ease;
}

.kick-track,
.snare-track,
.hihat-track {
  display: flex;
}
.kick,
.snare,
.hihat {
  display: flex;
}
.kick-track,
.snare-track,
.hihat-track {
  align-items: center;
  justify-content: space-around;
  margin: 4rem 1rem;
  margin-right: 4rem;
}
.control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin: 0rem 2rem;
}
.control button {
  padding: 1rem;
  border: none;
  font-size: 1.2rem;
  background-color: #565656;
  color: white;
  transition: 0.5s ease;
  cursor: pointer;
}
select {
  min-width: 200px;
  padding: 0.5rem 2rem;
  font-size: 1rem;
}
.play,
.fa-save,
.save,
.clear-all {
  border: none;
  background-color: #565656;
  color: white;
  cursor: pointer;
  padding: 1rem 2rem;
  font-size: 1rem;
  position: relative;
  left: 45%;
  bottom: 3rem;
}
.fa-save {
  padding: 8px;
  font-size: 1.3rem;
  pointer-events: all;
  cursor: pointer;
}
@keyframes playTrack {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}
.mute.active {
  background: rgba(0, 0, 0, 0.363);
}
.tempo-slider {
  appearance: none;
  background-color: #565656;
  padding: 0.2rem;
  position: relative;
  left: 11rem;
  top: 1.3rem;
  width: 25%;
  border-radius: 10px;
}
.bottom {
  margin-top: 5rem;
  margin-right: 21rem;
}
.bottom p {
  margin: 1rem;
  margin-left: 41rem;
  font-size: 1.2rem;
}
input[type="range"]::-webkit-slider-thumb {
  height: 15px;
  width: 15px;
  border-radius: 15px;
  background: #dfdbdb;
  cursor: pointer;
  -webkit-appearance: none;
}
.kick-vol-bar,
.snare-vol-bar,
.hihat-vol-bar {
  appearance: none;
  border-radius: 10px;
}
.kick-vol-bar {
  background-color: rgb(20 141 165);
}
.snare-vol-bar {
  background-color: rgb(163, 43, 187);
}
.hihat-vol-bar {
  background-color: rgb(232 141 22);
}
/* savePatterns */
.kick-pattern-container,
.snare-pattern-container,
.hihat-pattern-container {
  height: 4rem;
  display: flex;
  transition: ease-in-out 5s;
}
.hihat-pattern-container {
  margin-bottom: 3rem;
}
.kick-small,
.snare-small,
.hihat-small {
  background-color: rgb(130, 209, 209);
  height: 2rem;
  min-width: 2rem;
  margin: 1rem 0.4rem;
}
.snare-small {
  background-color: rgb(216 152 229);
}
.hihat-small {
  background-color: burlywood;
}
.kickHeading,
.snareHeading,
.hihatHeading {
  margin: 1.5rem 2rem 0rem;
}
.save-div {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.363);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: all;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
}

.pattern {
  display: none;
  position: inherit;
  bottom: 11rem;
  left: 29rem;
  border-radius: 25px;
  width: 41%;
  border: yellowgreen 1px solid;
  background: ivory;
  min-height: 30rem;
  max-height: 30rem;
  padding-top: 1rem;
  padding-left: 1rem;
  overflow-y: scroll;
}
/* use btn */
.use-btn,
.delete-btn {
  height: 2.2rem;
  width: 2.2rem;
  align-self: center;
  margin-left: 2%;
  cursor: pointer;
  color: white;
  font-size: 0.9rem;
  background: #d17b7b;
  border: none;
  border-radius: 5px;
}
.use-btn {
  background: #4ea33b;
}
@keyframes del-anim {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
