* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(241, 241, 225);
  font-family: "Montserrat", sans-serif;
}
.main-title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 1rem;
  align-items: center;
  text-align: center;
}
.main-title h5 {
  font-size: 1.2rem;
  margin: 1rem 0rem;
  padding: 1rem 0rem;
  font-style: italic;
}

i,
svg {
  pointer-events: none;
}
.sequencer {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
header {
  min-height: 10vh;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kick-tracker,
.hihat-tracker,
.clap-tracker {
  margin-top: 3rem;
  width: 70%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  margin: 0rem 2rem;
}
.mute {
  padding: 1rem;
  border: none;
  background-color: rgb(90, 90, 90);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
}
.mute.active {
  background-color: rgb(236, 140, 140);
}

.kick,
.clap,
.hihat {
  margin: 1rem;
  width: 60%;
  display: flex;
  justify-content: space-between;
}

.kick-pad {
  height: 4rem;
  width: 4rem;
  background-color: rgb(138, 207, 207);
  border-radius: 6px;
}
.hihat-pad {
  height: 4rem;
  width: 4rem;
  background-color: rgb(202, 207, 138);
  border-radius: 6px;
}
.clap-pad {
  height: 4rem;
  width: 4rem;
  background-color: rgb(207, 146, 138);
  border-radius: 6px;
}
.kick-pad.active {
  transition: all 0.4s ease;
  background-color: rgb(4, 255, 255);
  border-radius: 6px;
}
.hihat-pad.active {
  background-color: rgb(238, 255, 0);
  border-radius: 6px;
}
.clap-pad.active {
  background-color: rgb(248, 34, 5);
  border-radius: 6px;
}
@keyframes playAnimation {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}

.play {
  margin-top: 1rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  border: none;
  background-color: rgb(152, 185, 155);
  color: white;
  cursor: pointer;
}
.play.active {
  margin-top: 1.3rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  border: none;
  background-color: rgb(90, 90, 90);
  color: white;
  cursor: pointer;
}

.pad {
  transition: all 0.3s ease;
  cursor: pointer;
}

select {
  padding: 1rem;
  font-size: 1rem;
}
.tempo {
  margin: 2rem;
  width: 30%;
}
.tempo-slider {
  padding: 0.1rem;
  writing-mode: bt-lr;
  -webkit-appearance: slider-horizontal;
  appearance: none;
  background-color: rgb(131, 221, 128);
  border-radius: 6px;
  margin: 1rem 0rem;
  width: 100%;
  position: relative;
  cursor: pointer;
}
.tempo p {
  font-size: 1rem;
  padding: 0.2rem;
  text-align: center;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid #000000;
  height: 26px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  margin-top: -14px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type="range"]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}

input[type="range"]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}

@media screen and (max-width: 754px) {
  body {
    font-size: 80%;
  }
  .main-title {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
  }
  .main-title h5 {
    font-size: 0.8rem;
  }
  .controls {
    min-height: 20vh;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 2rem;
  }
  .controls h3,
  button,
  select {
    margin: 0.5rem;
  }
  .kick-tracker,
  .clap-tracker,
  .hihat-tracker {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  .kick {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .kick-pad {
    margin: 0.2rem;
    height: 2rem;
    width: 2rem;
    background-color: rgb(138, 207, 207);
    border-radius: 6px;
  }
  .hihat-pad {
    margin: 0.2rem;
    height: 2rem;
    width: 2rem;
    background-color: rgb(202, 207, 138);
    border-radius: 6px;
  }
  .clap-pad {
    margin: 0.2rem;
    height: 2rem;
    width: 2rem;
    background-color: rgb(207, 146, 138);
    border-radius: 6px;
  }
  .tempo {
    margin: 2rem;
    width: 70%;
  }
  .tempo-slider {
    padding: 0.1rem;
    writing-mode: bt-lr;
    -webkit-appearance: slider-horizontal;
    appearance: none;
    background-color: rgb(131, 221, 128);
    border-radius: 6px;
    margin: 1rem 0rem;
    width: 100%;
    position: relative;
    cursor: pointer;
  }
  .tempo p {
    font-size: 1rem;
    padding: 0.2rem;
    text-align: center;
  }
}
