body {
  background-color: #ffffff;
  color: blue;
  font-family: sans-serif;
  margin: 0;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
#grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.vecteur {
  position: absolute;
  background-color: rgba(0, 0, 255, 1); /* Couleur des lignes */
  z-index: 1;
}

.texte {
  z-index: 10;
  background-color: white;
  display: none;
  font-size: 2rem;
  padding: 1rem;
  max-width: 40vw;
  position: absolute;
  transition: opacity 0.3s ease;
}

.texte.active {
  display: block;
}

#nextBtn {
  all: unset;
  position: fixed;
  /* display: none; */
  bottom: 1rem;
  right: 1rem;
  width: 10rem;
  height: 6rem;
  font-size: 2rem;
  background-color: blue;
  border: none;
  color: white;
  box-sizing: border-box;

  cursor: pointer;
  z-index: 100;
}
#nextBtn:hover {
  bottom: 1rem;
  right: 1rem;
  width: 10rem;
  height: 6rem;
  font-size: 2rem;
  background-color: rgb(255, 255, 255);
  border: solid 4px blue;
  color: white;

  cursor: pointer;
  z-index: 100;
}

#nextBtn:active {
  bottom: 1.2rem;
  right: 1.2rem;
  width: 9.6rem;
  height: 5.6rem;
}
@media (max-width: 600px) {
  #nextBtn {
    all: unset;
    position: fixed;
    /* display: none; */
    bottom: 1rem;
    right: 1rem;
    width: 6rem;
    height: 3rem;
    font-size: 1rem;
    background-color: blue;
    border: none;
    color: white;
    box-sizing: border-box;

    cursor: pointer;
    z-index: 100;
  }
  #nextBtn:hover {
    bottom: 1rem;
    right: 1rem;
    width: 6rem;
    height: 3rem;
    font-size: 2rem;
    background-color: blue;
    border: none;
    color: white;

    cursor: pointer;
    z-index: 100;
  }
  #nextBtn:active {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 5.6rem;
    height: 1.6rem;
  }

  .forme {
    width: 80px;
  }

  .texte {
    font-size: 1.4rem;
    max-width: 80vw;
  }
}
