/* ///////////////////// */
/* //   Les bulles    // */
/* ///////////////////// */

body {
  overflow: hidden;
  min-height: 100vh;
  cursor: crosshair;
}

h3 {
  font-size: 10rem;
  text-align: center;
  margin-top: 20px;
  color: rgba(128, 128, 128, 0.5);
  user-select: none;
  z-index: -1;
}

.bubble {
  position: absolute;
  border-radius: 300px;
  background: rgba(255, 166, 0, 0.6);
  opacity: 0;
  animation: anim 8s forwards;
  filter: hue-rotate(0deg);
}

@keyframes anim {
  to {
    top: -300px;
    left: var(--left);
    opacity: 1;
    filter: hue-rotate(720deg);
  }
}

/* ///////////////////// */
/* // Le menu de fin  // */
/* ///////////////////// */

.blackScreen {
  background: rgba(0, 0, 0, 0.8);
  width: 110vw;
  height: 110vh;
  transform: translate(-5%, -5%);
  z-index: 50;
  display: flex;
}

.endMenu {
  height: 80vh;
  background: white;
  margin: 10vh 0;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  border: solid 2px black;
  border-radius: 50px;
  z-index: 100;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.endMenu h1 {
  text-align: center;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.container span {
  font-size: 25px;
}

.container button {
  background: black;
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 1rem;
  transition: 0.5s;
}

button:hover {
  font-size: 1.5rem;
  background: white;
  color: black;
  cursor: pointer;
}

@media (min-width: 1001px) {
  .endMenu {
    width: 100vh;
  }

  .endMenu h1 {
    font-size: 4rem;
  }
}

@media (max-width: 1000px) {
  .endMenu {
    width: 80%;
  }

  .endMenu h1 {
    font-size: 3rem;
  }
}
