body {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: white;
}

canvas {
  background: #eee;
  display: block;
  margin: 0 auto;
  border: 1px solid #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.homePage,
.audioPage {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100%;
}

.homePage img,
.audioPage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.block {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  border: 2px solid #fff;
  padding: 20px;
  width: 50%;
  width: 80%;
  font-size: 2.5vh;
  top: 50%;
  text-align: center;
}
#login {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#title {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10dvh;
  margin-bottom: 20px;
}

.button {
  position: absolute;
  min-width: 25%;
  height: 50px;
  transform: translate(-50%, -50%);
  background-color: #fa7d2f;
  border: 2px solid #0000;
  color: #fff; /* Blanc */
  cursor: pointer;
  font-size: 3dvh;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  left: 50%;
}

.button:hover {
  background-color: #ffccaa;
}

#start {
  top: 60%;
}

#scores {
  top: 70%;
}

#audio {
  top: 80%;
}

#back {
  bottom: 3%;
}

#playMusic {
  top: 50%;
}

#pauseMusic {
  top: 60%;
}

#volumeControlText {
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

#volumeControl {
  top: 70%;
}

.controlGroup {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  padding: 20px;
  width: 80%;
  font-size: 2.5vh;
  top: 50%;
  text-align: center;
}

#indications {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#volumeControl {
  width: 80%;
  margin: 20px auto;
  display: block;
  position: relative;
}

h1,
h2 {
  margin: 0;
}

leaderboard {
  top: 60%;
  height: 50%;
}
