body {
  margin: 0;
  background: rgb(235, 230, 223);
  /* background: white; */
  font-family: "neue-haas-grotesk-text", sans-serif;
}

button {
  border: none;
  cursor: pointer;
}

video {
  position: fixed;
  z-index: -1;
  display: block;
  width: auto;
  height: 140vh;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  transition: opacity 800ms;
}

label {
  /* font-family: sans-serif; */
  font-size: 14px;
}

canvas {
  position: fixed;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%);
  display: block;
  transition: opacity 500ms;
  z-index: 0;
}

#audio-player {
  display: none;
}

#painting-menu {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  z-index: 1;
  display: none;
  transition: 500ms;
}

#info {
  display: flex;
  position: absolute;
  bottom: 20px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.9em;
  z-index: 2;
}

#info div {
  margin: 0 25px;
  font-size: 0.9em;
}

#info div.half {
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#info div.half:nth-child(4) {
  justify-content: flex-start;
}

#play-button {
  background: transparent;
  font-size: 0.7em;
  margin: 0 -25px;
  color: rgb(63, 63, 63);
}

.menu-button {
  position: fixed;
  top: 20px;
  border-radius: 0.5em;
  padding: 0.25em 0.5em;
  font-size: 0.8em;
  z-index: 2;
  border: solid black 1px;

  /* backdrop-filter: blur(10px);
  background: rgba(104, 104, 104, 0.069); */
  color: rgb(0, 0, 0);
  background: transparent;
  cursor: pointer;
  /* box-shadow: 0 0 10px rgba(54, 54, 54, 0.188); */
}

#save-button {
  right: 20px;
}

#start-button {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 4;
  padding: 20px;
  display: none;
}

#loading-buffer {
  display: none;
  font-size: 1.2em;
  position: fixed;
  width: 300px;
  top: 45vh;
  left: 50%;
  transform: translateX(-50%);
}

#loading-message {
  width: 100%;
  text-align: center;
}

#loading-bar {
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  margin-top: 20px;
  background: black;
  animation: loading 2s infinite;
}

#start {
  display: none;
  font-size: 1.2em;
  position: fixed;
  text-align: center;
  top: 45vh;
  left: 50%;
  transform: translateX(-50%);
}

#song-info {
  display: none;
  flex-direction: column;
  z-index: 100;
  opacity: 1;
  position: fixed;
  top: 100px;
  left: -280px;
  height: 70vh;
  width: 250px;
  font-size: 0.8em;
  border-radius: 30px;
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: left 300ms;
  background-color: rgb(235, 230, 223, 0.6);
}

#hover-arrow {
  position: absolute;
  top: 30px;
  right: -20px;
  width: 80px;
  height: 100px;
  cursor: pointer;
  writing-mode: vertical-rl;
  /* font-weight: bold; */
}

#features-cont {
  padding: 0px 20px;
}

#song-info:has(#hover-arrow:hover),
#song-info:hover {
  left: 0px;
}

#sections-cont {
  margin-top: 40px;
  height: auto;
  overflow-y: scroll;
}

#sections {
  overflow-y: scroll;
}

.section-item {
  padding: 10px;
  border-radius: 30px;
  margin-bottom: 10px;
  background-color: rgba(200, 200, 200, 0.4);
  padding: 20px 25px;
}

.section-header {
  font-size: 1em;
  margin-bottom: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}

.color-swatch {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 5px;
  /* border: solid black 1px; */
}

.feature-item {
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}

.active-info-section {
  background-color: rgba(54, 54, 54, 0.4);
  color: white;
}

@keyframes loading {
  0% {
    width: 0;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
