html {
  font-family: 'Manrope', sans-serif;
}

body.dark {
  background-color: #232323;
  color: white;

  & .note {
    background-color: #2067eb;
  }

  & .note.highlight-click,
  .string-name.highlight-click {
    background-color: #d2e2ff;
    color: black;
  }

  & .string-notes:before {
    background-color: #919191;
  }

  & .note:not(.highlight-click):hover,
  .string-name.highlight-hover,
  .fret-index.highlight-hover {
    background-color: #5e94f6;
  }

  & #select-type-control select {
    background-color: #4f4f4f;
    color: white;
  }
}

#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

#frets-control {
  font-weight: bold;
  margin-bottom: 20px;
  display: inline-block;
  user-select: none;
}

#select-type-control {
  display: inline-block;
  font-weight: bold;
  user-select: none;
}

#select-type-control label:hover {
  cursor: pointer;
}

#select-type-control select {
  margin: 0;
  margin-left: 4px;
  border-radius: 4px;
  padding: 2px;
}

#selected-only-control {
  display: inline-block;
  font-weight: bold;
  user-select: none;
  margin-left: 30px;
}

#selected-only-control label:hover {
  cursor: pointer;
}

#selected-only-control input {
  margin: 0;
  margin-left: 4px;
  vertical-align: middle;
}

#theme-control {
  display: inline-block;
  font-weight: bold;
  user-select: none;
  margin-left: 30px;
}

#theme-control label:hover {
  cursor: pointer;
}

#theme-control input {
  margin: 0;
  margin-left: 4px;
  vertical-align: middle;
}

#frets-control,
#neck-scheme {
  position: relative;
  left: -30px;
}

.frets-number {
  margin-left: 6px;
  background-color: #97bafa;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
}

#frets-control button:hover {
  background-color: #4787ff;
  cursor: pointer;
}

.frets {
  display: inline-flex;
  gap: 16px;
  margin-bottom: 20px;
}

.frets-number.highlight-click {
  background-color: #2067eb;
  color: white;
}

.fret-index {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-weight: bold;
  border-radius: 50%;
  user-select: none;
}

.fret-index.open {
  margin-right: 20px;
}

/* .string:not(:last-of-type) {
  margin-bottom: 12px;
} */

.note {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #97bafa;
  border-radius: 50%;
  z-index: 1;
  position: relative;
  user-select: none;
  font-weight: bold;
}

.note.hidden {
  opacity: 0;
}

.note.highlight-click,
.string-name.highlight-click {
  background-color: #2067eb;
  color: white;
}

.note:not(.highlight-click):hover,
.string-name.highlight-hover,
.fret-index.highlight-hover {
  background-color: #5e94f6;
}

.note-container {
  position: relative;
}

.string:not(:last-of-type) .note-container {
  padding-bottom: 12px;
}

.note-container::before {
  background-color: #919191;
  position: absolute;
  left: -8px;
  height: 100%;
  width: 1px;
  content: '';
  display: inline-block;
}

.string-name {
  display: inline-flex;
  font-weight: bold;
  margin-right: 20px;
  z-index: 1;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-weight: bold;
  border-radius: 50%;
  user-select: none;
}

.string-notes {
  position: relative;
  display: inline-flex;
  gap: 16px;
}

.string-notes:before {
  position: absolute;
  left: 0;
  top: 20px;
  height: 1px;
  background-color: black;
  content: '';
  width: 100%;
  display: block;
}
