@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: local(''), url('fonts/inter.woff2') format('woff2'), url('fonts/inter.woff') format('woff');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: local(''), url('fonts/inter-bold.woff2') format('woff2'), url('fonts/inter-bold.woff') format('woff');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: local(''), url('fonts/inter-bolder.woff2') format('woff2'), url('fonts/inter-bolder.woff') format('woff');
}

*,
*::after,
*::before {
  border: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #444;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #1f54b4;
  text-decoration: none;
  pointer-events: all;
}

h3,
h4 {
  line-height: 1.25;
  margin-bottom: 4px;
}

h4{
  margin-top: 3px;
  margin-bottom: 8px;
}

p:not(:last-child):not(:first-child){
  margin-bottom: 14px;
}

.sheet {
  background: linear-gradient(transparent 1%,rgba(0,0,0,0.3));
  display: flex;
  flex-direction: column;
  place-content: center;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100vw);
  transition: opacity 699ms ease, transform 599ms ease;
  z-index: 2000;
}

.in,
.open {
  opacity: 1;
  transform: none;
}

.sheet,
.sheet * {
  pointer-events: all;
}

.sheet-wrap {
  box-shadow: inset 0 0 0 1px #000;
  background-color: #fff;
  border-radius: 8px;
  margin: 0 auto;
  position: relative;
  width: 90%;
  z-index: 2000;
}

@media (min-width: 1024px) {
  .sheet-wrap {
    max-width: 600px;
  }
}

.sheet-title {
  margin-top: -8px;
  margin-bottom: 16px;
  font-size: 36px;
}

.sheet-separator {
  background-color: currentColor;
  height: 1px;
  margin-bottom: 8px;
}

.sheet-separator.extra{
  margin-bottom: 24px;
}

.tips {
  cursor: grab;
  display: flex;
  position: relative;
  overflow: hidden;
  overflow-x: auto;
  margin-top: 8px;
  width: 100%;
}

.tips::-webkit-scrollbar {
  width: 100%;
  height: 5px;
}

.tips::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.tips::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.tips::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.dragging {
  cursor: grabbing;
}

.tip {
  flex: 0 0 92%;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #000;
  margin-bottom: 10px;
  margin-right: 12px;
  padding: 16px 18px;
  position: relative;
}

.tip::after {
  color: #999;
  content: 'TIPS';
  font-size: 11px;
  font-weight: bold;
  position: absolute;
  top: 11px;
  right: 20px;
}

.container {
  margin: 0 auto;
  max-width: 100%;
  padding: 30px;
  width: 100%;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: auto;
}

.app-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-title {
  background-color: darkslateblue;
  background-image: linear-gradient(45deg, darkslateblue, cornflowerblue);
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  flex: 0 0 auto;
  line-height: normal;
  pointer-events: all;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 16px;
  text-transform: uppercase;
  text-align: center;
}

.controls {
  display: flex;
}

.controls .btn {
  margin: 0 5px;
}

.btn {
  background-color: #151515;
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  font: inherit;
  font-size: 11px;
  font-weight: normal;
  padding: 8px 16px;
  pointer-events: all;
  position: relative;
  text-align: center;
  transition: background-color 399ms ease, color 399ms ease, opacity 399ms ease;
}

@media (min-width: 1440px) {
  .btn {
    font-size: 14px;
  }
}

.btn-search {
  background-color: #fff;
  position: relative;
  padding: 0;
  width: 165px;
}

.btn-search-short {
  text-align: center;
  width: 64px;
}

.btn-search-wide {
  width: 280px;
}

@media (min-width: 1366px){
  .btn-search-wide {
    width: 370px;
  }
}

button:not(:disabled):hover {
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
}

button:disabled {
  background-color: #555;
}

button:focus {
  outline: none;
}

.btn-stroke,
.search {
  background-color: transparent;
  box-shadow: inset 0 0 1px 1px #151515;
  color: #151515;
  transition: box-shadow 399ms ease, color 399ms ease;
}

.search {
  background-color: #fff;
  border-radius: 5px;
  font: inherit;
  font-size: 11px;
  font-weight: normal;
  height: 100%;
  padding: 10px 16px;
  width: 100%;
}

.btn-search-short .search {
  text-align: center;
}

@media (min-width: 1440px) {
  .search {
    font-size: 14px;
  }
}

.search:focus {
  outline: none;
}

.btn-search * {
  pointer-events: all;
}

.btn-chord {
  box-shadow: inset 0 0 1px 1px mediumseagreen;
  color: mediumseagreen;
  display: none;
}

.btn-on {
  background-color: mediumseagreen;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-root {
  background-color: darkblue;
  color: #fff;
}

.btn-clear {
  background-color: indianred;
  color: #fff;
}

.btn-share {
  background-color: #ffa07a;
  color: #fff;
}

.btn-inline-text{
  border-radius: 4px;
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;
}

.btn-inline-img {
  position: relative;
  top: 2px;
}

.btn-settings {
  background-color: #fff;
  box-shadow: inset 0 0 1px 1px coral;
}

.sr-o {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

svg {
  vertical-align: middle;
}

.settings-icon {
  position: relative;
  top: -1px;
}

.settings-icon path {
  transition: fill 399ms ease;
}

.controls .btn-settings:hover {
  background-color: coral;
}

.btn-settings:hover .settings-icon path {
  fill: #fff;
}

.btn-help {
  background-color: #fff;
  box-shadow: inset 0 0 1px 1px cornflowerblue;
}

.help-icon {
  border: 1px solid cornflowerblue;
  border-radius: 12px;
  color: cornflowerblue;
  display: block;
  font-size: 14px;
  height: 24px;
  width: 24px;
  transition: border-color 399ms ease, color 399ms ease;
}

.btn-help:hover {
  background-color: cornflowerblue;
}

.btn-help:hover .help-icon {
  border-color: #fff;
  color: #fff;
}

.btn-close {
  background-color: indianred;
  position: absolute;
  top: 20px;
  right: 20px;
}

.app-main {
  margin: auto 0;
}

.fretboard,
.string {
  display: grid;
  grid-template-columns: 7% repeat(11, 8.4545%);
  position: relative;
}

@media (min-width: 1280px) {
  .fretboard,
  .string {
    grid-template-columns: 5% repeat(11, 8.6363%);
  }
}

.string::before {
  background-color: #bbb;
  display: block;
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  height: 2px;
  width: 100%;
}

.inlays {
  margin-bottom: 30px;
}

@media (min-width: 1280px) {
  .inlays {
    margin-bottom: 50px;
  }
}

.inlay {
  text-align: center;
}

.dot {
  background-color: currentColor;
  border-radius: 3px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px currentColor;
  padding: 3px;
  display: block;
  margin: 0 auto;
  width: 6px;
  height: 6px;
}

.note {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 1px 1px #ddd;
  color: #000;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  margin: 6px;
  opacity: 0.6;
  overflow: hidden;
  padding: 12px;
  place-content: center;
  place-items: center;
  pointer-events: all;
  position: relative;
  transition: background-color 300ms ease, box-shadow 300ms ease, color 300ms ease, opacity 300ms ease;
  z-index: 1;
}

@media (min-width: 1280px) {
  .note {
    font-size: 20px;
  }
}

.note:first-child {
  opacity: 0.4;
  font-size: 16px;
}

.note * {
  pointer-events: none;
}

.note:hover {
  cursor: pointer;
  opacity: 1;
}

.on {
  border-color: transparent;
  background-color: #151515;
  box-shadow: none;
  color: #fff;
  opacity: 1;
}

/* 

.chord {
  background-color: mediumseagreen;
  color: #fff;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

*/

.root {
  background-color: darkblue;
  box-shadow: none;
  color: #fff;
  opacity: 1;
}

.marker {
  font-size: 18px;
  text-align: center;
}

.marker-line {
  background-color: currentColor;
  display: block;
  height: 50px;
  margin: 30px auto;
  width: 1px;
}

.app-footer {
  margin-top: auto;
}

.footer-copy {
  font-size: 12px;
  text-align: right;
}

.coming-soon {
  display: none;
}

.coming-soon-title {
  color: #151515;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

@media (max-width: 1023px) {
  .controls,
  .app-main {
    display: none;
  }

  .coming-soon {
    display: block;
    font-size: 24px;
  }
}

/* Autocomplete */

.autoComplete_wrapper {
  position: relative;
  display: inline-block;
}

#autoComplete_list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 8px;
  margin-top: 8px;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #000;
  z-index: 1000;
  outline: none;
}

.autoComplete_result {
  border-radius: 4px;
  color: #212121;
  list-style: none;
  padding: 6px 11px;
  opacity: 0.7;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  transition: background-color 199ms ease, color 199ms ease, opacity 199ms ease;
  white-space: nowrap;
}

.autoComplete_result::selection {
  color: #000;
}

.autoComplete_result:hover {
  background-color: #ddd;
  opacity: 1;
  cursor: pointer;
}

.autoComplete_highlighted {
  opacity: 1;
  font-weight: bold;
}

.autoComplete_highlighted::selection {
  color: #000;
}

.autoComplete_selected,
.autoComplete_selected:hover {
  background-color: #ddd;
  opacity: 1;
  cursor: pointer;
}

@media only screen and (max-width: 600px) {
  #autoComplete_list {
    margin: 10px;
  }
}

/* Sheet Form */

.form-fieldset {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-fieldset:not(:last-child) {
  border-bottom: 1px solid #ccc;
  padding: 18px 0;
}

.form-fieldset:last-child {
  margin-top: 24px;
}

.form-label {
  font-size: 18px;
  font-weight: 600;
}

.form-label-subtext {
  color: #595959;
  display: block;
  font-size: 12px;
  font-weight: 300;
  margin-top: 4px;
}

.toggle {
  box-shadow: inset 0 0 0 1px #000;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
  height: 36px;
  width: 80px;
  transition: box-shadow 399ms ease-in-out;
}

.toggle-input {
  position: absolute;
  left: -9999px;
}

.toggle-handle {
  background-color: #444;
  border-radius: 15px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  position: absolute;
  left: 4px;
  transition: background-color 399ms ease-in-out, transform 399ms ease-in-out;
}

.toggled-off {
  display: block;
}

.toggled-on {
  display: none;
}

.toggle-input:checked ~ .toggle {
  box-shadow: inset 0 0 0 1px mediumseagreen;
}

.toggle-input:checked ~ .toggle .toggle-handle {
  background-color: mediumseagreen;
  transform: translateX(42px);
}

.toggle-input:checked ~ .toggle .toggle-handle .toggled-off {
  display: none;
}

.toggle-input:checked ~ .toggle .toggle-handle .toggled-on {
  display: block;
}

.alta {
  font-size: 17px;
  position: relative;
  top: 3px;
}

.btn-save {
  order: 2;
  background-color: mediumseagreen;
}

.text-danger {
  color: crimson;
  font-size: 13px;
}

.save-warning {
  padding-left: 12px;
  order: 1;
}