* {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Consolas", "Courier", "Menlo-Regular", "Roboto";
  font-weight: normal;
  font-size: 14pt;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
}

ul {
  height: 100%;
}

ul,
li {
  list-style: none;
  display: inline-block;
  user-select: none;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  padding: 0 10px;
}

input,
textarea,
select {
  font-family: "Consolas", "Courier", "Menlo-Regular", "Roboto";
}

textarea {
  background-image: linear-gradient(#f1f1f1 50%, #f9f9f9 50%);
  background-size: 100% 4rem;
  border: 1px solid #ccc;
  width: 100%;
  height: 400px;
  line-height: 2rem;
  margin: 0 auto;
  padding: 4px 8px;
}

::selection {
  background: #ffb7b7;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: red;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b30000;
}

a {
  cursor: pointer;
  width: max-content;
  text-decoration: none;
}

.listedSong {
  cursor: pointer;
  width: max-content;
  text-decoration: none;
}

.mainBody {
  background: #dddd77;
}

.mainPage {
  background: #dddd77;
  color: black;
  margin-bottom: 85%;
}

.mainLayout {
  background: #dddd77;
  color: black;
}

.chordPage {
  background: white;
  color: black;
  line-break: auto;
  min-width: 80%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 120px;
  margin-bottom: 100px;
  padding: 64px;
  overflow-x: scroll;
  -webkit-text-size-adjust: none;
}

.songTitle {
  font-weight: bold;
  font-size: 32pt;
}

.currentKey {
  font-weight: bold;
  font-size: 18pt !important;
  margin-bottom: 42px;
  color: black;
}

.songSectionsList {
  margin-top: 140px;
  width: max-content;
}

.songSection {
  padding: 20px 0;
  font-weight: normal;
  font-size: 14pt;
}

.songSectionHeader {
  font-weight: bold;
  font-size: 18pt;
}

.songSectionLyrics {
  margin-top: 16px;
  margin-left: 32px;
  margin-bottom: 24px;
  min-width: 1200px;
  width: fit-content;
}

.chordSpan {
  margin: 4px 0;
  color: #cc2222;
  font-weight: bold;
}

.chordSpan-secondary {
  margin: 4px 0;
  color: #a722cc;
  font-weight: bold;
}

.numberChordSpan {
  display: none;
}

.lyricSpan {
  margin: 0 0 20px 0;
}

.commentSpan {
  font-style: italic;
}

.commentSpan.isToggled {
  display: none;
}

.topBar {
  background: #444;
  width: 100%;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  top: 0;
  position: fixed;
  overflow-x: scroll;
  white-space: nowrap;
}

.topBarItems {
  margin: 8px 4px 4px 4px;
  float: left;
  font-size: 15px;
  font-family: "Consolas", "Courier", "Menlo-Regular", "Roboto";
  padding: 10px;
  cursor: pointer;
}

.topBarIcon {
  width: 50px;
  height: 50px;
}

.topBarIcon:hover {
  filter: invert(0);
  background: #666;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

.topBarIcon img {
  filter: invert(1);
}

.topBarIcon img:hover {
  background: #666;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

.topBarIcon.isToggled {
}

.requiresSong {
  display: none;
}

.bottomBar {
  color: #fff;
  background: #444;
  width: 100%;
  height: 75px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  bottom: 0;
  position: fixed;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
}

.bottomBarItems {
  font-size: 15px;
  padding: 10px;
  cursor: pointer;
  font-weight: normal;
  font-size: 14pt;
  position: absolute;
}

.bottomBarIcon {
  font-size: 32px;
}

.bottomBarIcon:hover {
  background: #666;
  cursor: pointer;
}

.closeIcon {
  width: 32px;
  height: 32px;
  margin: 8px;
  padding: 16px;
  float: left;
  border-radius: 32px;
}

.closeIcon:hover {
  background: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  margin: 8px;
  padding: 16px;
  float: left;
  border-radius: 32px;
}

.closeIcon img {
  filter: invert(0);
  float: left;
}

.closeIcon img:hover {
  filter: invert(1);
  background: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  float: left;
}

.popupBar {
  background: #444;
  width: 100%;
  height: 240px;
  left: 0;
  right: 0;
  top: 80px;
  position: fixed;
  overflow-x: scroll;
  white-space: nowrap;
  display: none;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.popupModal {
  background: #444;
  width: 100%;
  height: 100px;
  left: 0;
  right: 0;
  top: 80px;
  position: fixed;
  overflow-x: scroll;
  white-space: nowrap;
  display: none;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.chordSelection {
  padding: 0 80px;
  height: 100%;
}

.chordSelectionTable {
  width: 100%;
  height: 100%;
  table-layout: fixed;
}

.chordSelectionTable td {
  text-align: center;
  width: calc(100% / 6);
  height: 50%;
}

.zoomSelectionTable td {
  text-align: center;
}

.chordSelectionNote {
  color: white;
  background-color: #222;
  font-weight: bold;
  font-size: 32px;
  display: block;
  margin: auto;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 40px;
  -moz-border-radius: 40px;
  cursor: pointer;
}

.chordSelectionNote:hover {
  background-color: #666;
}

@keyframes background-fade {
  0% {
    background-color: #888;
  }

  100% {
    background-color: none;
  }
}

.animating {
  animation: background-fade 2s;
}

.disable-dbl-tap-zoom {
  touch-action: manipulation;
}

@media print {
  .mainBody {
    background-color: white !important;
    color: black !important;
    width: fit-content;
  }

  .mainPage {
    display: block;
    background-color: white !important;
    color: black !important;
    margin: 0;
    width: 100%;
  }

  .mainLayout {
    display: block;
    background-color: white !important;
    color: black !important;
    width: 100%;
  }

  .chordPage {
    display: block;
    background-color: white !important;
    color: black !important;
    margin: 0;
    width: 100%;
  }

  .currentKey {
    background-color: white !important;
    color: black !important;
  }

  .chordSpan {
    color: #cc2222 !important;
  }

  .numberChordSpan {
    color: #cc2222 !important;
  }

  .commentSpan {
    color: #f99 !important;
  }

  .songSectionsList {
    margin-top: 64px;
  }

  .topBar {
    display: none;
  }

  .bottomBar {
    display: none;
  }

  .popupBar {
    display: none;
  }

  .popupModal {
    display: none;
  }
}
