@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&family=Merriweather&display=swap');

body {
  font-family: "Fira Sans", sans-serif;
  margin: auto;
}

body, select {
  color: white;
  background-color: #111;
}

h1 {
  font-size: 62px;
  text-align: center;
  padding: 24px;
}

main {
  text-align: center;
}

section, p {
  margin: 1em 0em;
}

audio {
  width: 100%;
}

button {
  font-size: 48px;
}
button:hover {
  cursor: pointer;
}

:not(.loading) loading {
  display: none;
}
.loading loading {
  display: flex;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  font-size: 10em;
  justify-content: center;
  align-items: center;
}
.loading loading span {
  animation-name: loading;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}
@keyframes loading {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

#sheet span {
  display: inline-block;
  background-color: #531d5b;
  padding: 4px;
  margin: 2px;
  border-radius: 8px;
}

#sheet wrapper {
  display: block;
  overflow-x: scroll;
}

#sheet table {
  table-layout: fixed;
  width: 100%;
}

#sheet table td {
  width: 40px;
  border-radius: 8px;
  vertical-align: middle;
}

#sheet table :not(.beats) td {
  padding: 4px 0px;
}

#sheet table td:first-child {
  width: 200px;
  text-align: left;
}

#sheet table .pointer {
  display: block;
  border-bottom: #531d5b solid;
  position: relative;
  z-index: -1;
  padding: 0px;
}

#sheet table .bars td {
  background-color: #652e8473;
}

#sheet table .chords td {
  background-color: #b77fd8ad;
}

#sheet table .track:nth-child(even) td {
  background-color: #793e6fad;
}

#sheet table .track:nth-child(odd) td {
  background-color: #874191ad;
}

#sheet table .track td:not(:first-child) {
  border-radius: 0px;
  background-size: 100% 100%;
  text-align: left;
  vertical-align: top;
  font-size: 10px;
  image-rendering: pixelated;
  outline: 1px #2a003e solid;
}

#sheet table .track span {
  background-color: #2a003e;
}

#sheet table :not(.track) td:first-child {
  background-color: transparent;
}
