.customTunerMainDiv {
  display: block;
  position: relative;
  margin: 55px auto 10px;
  width: 360px;
}

.notes {
  margin: auto;
  width: 400px;
  top: 50%;
  left: 0;
  right: 0;
  text-align: center;
}

.note {
  font-size: 90px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-right: 30px;
  padding-left: 10px;
}

.note.active {
  color: #e74c3c;
}

.notes-list {
  overflow: auto;
  overflow: -moz-scrollbars-none;
  white-space: nowrap;
  -ms-overflow-style: none;
  -webkit-mask-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), #fff, rgba(255, 255, 255, 0));
}

.notes-list::-webkit-scrollbar {
  display: none;
}

.note {
  -webkit-tap-highlight-color: transparent;
}

.note span {
  right: 0.25em;
  font-size: 40%;
  font-weight: normal;
}

.note-sharp {
  top: 0.3em;
}

.note-octave {
  bottom: 0.3em;
}

.frequency {
  font-size: 32px;
}

.frequency span {
  font-size: 50%;
  margin-left: 0.25em;
}

.meter {
  width: 400px;
  height: 150px;
  margin: 0 auto;
  position: relative;
}

.meter-pointer {
  width: 2px;
  height: 100%;
  background: #2c3e50;
  transform: rotate(45deg);
  transform-origin: bottom;
  transition: transform 0.5s;
  position: absolute;
  right: 50%;
}

.meter-dot {
  width: 10px;
  height: 10px;
  background: #2c3e50;
  border-radius: 50%;
  position: absolute;
  bottom: -5px;
  right: 50%;
  margin-right: -4px;
}

.meter-scale {
  width: 1px;
  height: 100%;
  transform-origin: bottom;
  transition: transform 0.2s;
  box-sizing: border-box;
  border-top: 10px solid;
  position: absolute;
  right: 50%;
}

.meter-scale-strong {
  width: 2px;
  border-top-width: 20px;
}

.frequency-bars {
  position: fixed;
  bottom: 0;
}

@media (max-width: 768px) {
  .meter {
      width: 100%;
  }

  .notes {
      width: 100%;
  }
}

.swal-button {
  background: #2c3e50;
}

.a4 {
  top: 16px;
  left: 16px;
}

.a4 span {
  color: #e74c3c;
}

.customSection {
    margin: 20px auto 60px;
    float: none;
    height: 424px;
    background-image: url(guitar-image.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 360px;
    box-sizing: border-box;
    padding: 90px 110px 0;
    display: flex;
    align-items: end;
}

button.string {
  border: none;
  float: left;
  width: 12.5px;
  margin: 0 7px 0 7px;
  height: inherit;
  outline: none;
  cursor: pointer;
  padding: 0 !important;
  z-index: 1;
  background: transparent !important;
  margin: 0 !important;
}

button#s5 {
  margin-left: 5px !important;
}

button#s3 {
  margin-left: 12px !important;
}

button#s1 {
  margin-left: 3px !important;
}

#guitarBody button {
  background-repeat: repeat-y;
  background-position: center center;
  background-color: transparent;
}

#guitarBody button.string.playingSound {
  background-repeat: repeat-y, repeat-y, no-repeat !important;
  background-position: center center, center center, center 50% !important;
  background-color: transparent;
}

#guitarBody.s1 {
  background-image: url(g-01.png), url(guitar-image.png) !important;
}

#guitarBody.s2 {
  background-image: url(g-02.png), url(guitar-image.png) !important;
}

#guitarBody.s3 {
  background-image: url(g-03.png), url(guitar-image.png) !important;
}

#guitarBody.s4 {
  background-image: url(g-04.png), url(guitar-image.png) !important;
}

#guitarBody.s5 {
  background-image: url(g-05.png), url(guitar-image.png) !important;
}

#guitarBody.s6 {
  background-image: url(g-06.png), url(guitar-image.png) !important;
}

#guitarBody {
  position: relative;
}

.playingSound::before {
  position: absolute;
  background: red;
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 50px;
  animation: blink 2s infinite;
  opacity: 0.4;
}

.playingSound#s1::before {
  top: 257px;
  left: 189px;
}

.playingSound#s2::before {
  top: 175px;
  left: 173px;
}

.playingSound#s3::before {
  top: 98px;
  left: 167px;
}

.playingSound#s4::before {
  top: 100px;
  left: 115px;
}

.playingSound#s5::before {
  top: 179px;
  left: 109px;
}

.playingSound#s6::before {
  top: 257px;
  left: 90px;
}

.string.playingSound::after {
  content: "s";
  width: 36px;
  height: 36px;
  position: absolute;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  background: #fff;
  color: #000;
  font-weight: 500;
  border-radius: 50px;
}

.playingSound#s1::after {
  top: 260px;
  left: 192px;
  content: "E";
}

.playingSound#s2::after {
  top: 178px;
  left: 176px;
  content: "B";
}

.playingSound#s3::after {
  top: 100px;
  left: 170px;
  content: "G";
}

.playingSound#s4::after {
  top: 103px;
  left: 118px;
  content: "D";
}

.playingSound#s5::after {
  top: 182px;
  left: 112px;
  content: "A";
}

.playingSound#s6::after {
  top: 260px;
  left: 93px;
  content: "E";
}

@keyframes blink {
  0% {
      background: red;
  }

  20% {
      background: green;
  }

  40% {
      background: yellow;
  }

  60% {
      background: blue;
  }

  80% {
      background: orange;
  }

  100% {
      background: red;
  }
}

.guitarHookBtn {
  position: absolute;
  z-index: 9;
}

.buttonNo4 {
  top: 91px;
  left: 110px;
  width: 62px;
  height: 80px;
}

.buttonNo5 {
  top: 172px;
  left: 110px;
  width: 62px;
  height: 84px;
}

.buttonNo3 {
  top: 91px;
  right: 122px;
  width: 62px;
  height: 80px;
}

.buttonNo2 {
  top: 172px;
  right: 122px;
  width: 62px;
  height: 84px;
}

.guitarOuterBtn {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #e1e1e1;
  border-radius: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-family: "Arial";
  border: 1px solid #c1c1c1;
}

.outerButtonNo6 {
  left: -60px;
  bottom: 130px;
}

.outerButtonNo5 {
  left: -60px;
  bottom: 200px;
}

.outerButtonNo4 {
  left: -60px;
  top: 100px;
}

.outerButtonNo3 {
  right: -60px;
  top: 100px;
}

.outerButtonNo2 {
  right: -60px;
  bottom: 200px;
}

.outerButtonNo1 {
  right: -60px;
  bottom: 130px;
}

.s6 .outerButtonNo6 {
  border: 1px solid #ff3434;
}

.s5 .outerButtonNo5 {
  border: 1px solid #ff3434;
}

.s4 .outerButtonNo4 {
  border: 1px solid #ff3434;
}

.s3 .outerButtonNo3 {
  border: 1px solid #ff3434;
}

.s2 .outerButtonNo2 {
  border: 1px solid #ff3434;
}

.s1 .outerButtonNo1 {
  border: 1px solid #ff3434;
}

.customSwitch input {
  display: none;
}

.switchMainDiv {
  display: inline-flex;
  align-items: center;
}

.customSwitch {
  display: inline-block;
  width: 60px;
  height: 30px;
  position: relative;
  margin-right: 15px;
}

.customSwitch .slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 30px;
  box-shadow: 0 0 0 2px #777, 0 0 4px #777;
  cursor: pointer;
  border: 4px solid transparent;
  overflow: hidden;
  transition: 0.2s;
}

.customSwitch .slider:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #777;
  border-radius: 30px;
  transform: translateX(-30px);
  transition: 0.2s;
}

.customSwitch input:checked+.slider:before {
  transform: translateX(30px);
  background-color: limeGreen;
}

.customSwitch input:checked+.slider {
  box-shadow: 0 0 0 2px limeGreen, 0 0 8px limeGreen;
}
