:root {
  --root-size: 15px;
}

body {
    font-family: Arial, sans-serif;
    margin: 5vh 0;

    /* background: #b7c6d6; */
    background-color: #ffffff;
    color: #2e2c2c;
  }

body::-webkit-scrollbar {
    width: 0.5em;
}

body::-webkit-scrollbar-track {
    background: #b7c6d6;
}

body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

body.dark-mode {
  background-color: #101020;
  color: #fff;
}

body.dark-mode .box {
  background-color: #006bb2;
}

.toggle-container {
  position: fixed;
  top: 5vh;
  right: 20vw;
}

.toggle {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.toggle-label {
  position: relative;
  display: block;
  width: 6vh;
  height: 3vh;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  transition: background-color 0.2s;
}

.toggle-label:before {
  content: "";
  position: absolute;
  display: block;
  width: 2.5vh;
  height: 2.5vh;
  left: .4vh;
  bottom: 0.25vh;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle:checked + .toggle-label {
  background-color: #2196F3;
}

.toggle:checked + .toggle-label:before {
  transform: translateX(2.5vh);
}

.song-info {
  font-size: 45px;
  font-style:italic;
  text-align: left;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.song-info h2 {
  margin: -1vh 0 0 0;
}

.song-info .key,
.song-info .capo {
  font-family: Arial, sans-serif;
  display: inline;
  font-size: 45px;
}

.section h3 {
  font-size: calc(var(--root-size) * 5);
  margin-top: calc(var(--root-size) * 8);
  margin-bottom: calc(var(--root-size) * 6);
}
.content {
  text-align: center;
  line-height: calc(var(--root-size) * 3.5);
  width: 90%;
  margin: auto;
}
.line {
  display: flex;
  justify-content: left;
  margin-top: calc(var(--root-size) * 5);
}
.line .word {
  font-size: calc(var(--root-size) * 2.5);
  display: inline-block;
  position: relative;
  margin-top: 0px;
  margin-right: 0;
  padding-right: calc(var(--root-size) * 1);
}
.line .word .chord {
  position: absolute;
  top: calc(var(--root-size) * -3.5);
  color: #0069d9;
  font-weight: bold;
}

#startIcon {
  width: 20vh;
}

#stopIcon {
  width: 3vw;
}

#hamburger {
  width: 100px;
  height: 100px;
  position: fixed;
  top: 1vw;
  right: 5vw;
  z-index: 1001;
  cursor: pointer;
  background: rgba(145, 157, 234, 0.445);
}
  
#scroll {
  position: fixed;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1b7635c8;
  color: #fff;
  padding: 0;
  border-radius: 50%;
  width: 25vh;
  height: 25vh;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  transition: bottom 0.5s, width 0.5s, height 0.5s, background-color 0.5s;
}

#scroll.scrolling {
  bottom: 1vh;
  width:  15vh;
  height: 15vh;
  background-color: #943a26c8;
}

.buttonContainer {
  cursor: pointer;
  position: fixed;
  display: flex;
  flex-direction: row;
  align-items: center;
  
  left: 50%;
  transform: translateX(-50%);
}

#scrollButtonsContainer {
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
}

#sizeButtonsContainer {
  bottom: 17vh;
}

#alignButtonContainer {
  bottom: 29vh;
  right: 25vw;
}

button {
  background-color: lightgray;
  right: 10px;
  width: 45vw;
  height: 10vh;
  font-size: 50px;
}

button.active {
  background-color: darkgray;
}
  
#panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  overflow-y: auto;
  padding: 10vh 5vw 5vh 5vw;
  z-index: 4;
  font-size: 40px;
  text-align: right;
}

#songList {
  list-style-type: none;
  padding: 100px 0;
}

#songList li {
  cursor: pointer;
}