html {
  background: url(dungeonBG.jpg);
  background-size: cover;
  background-color: #000000;
  cursor: crosshair;
}

.home-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80vh;
  margin: auto;
  gap: 25px;
}

.home-text {
  font-family: fantasy;
  font-size: 100px;
  color: white;
  margin: 0;

  opacity: 0;
  animation: homeAnimation 1s ease-in-out forwards;
}

.start-game-button {
  font-family: fantasy;
  font-size: larger;
  text-align: center;
  padding: 1.5rem;
  color: white;
  background-color: rgb(81, 81, 81);
  border: none;
  border-radius: 8px;
  margin-top: 2rem;

  transition: all 1s;
  opacity: 0;
  animation: homeAnimation 1.2s ease-in-out forwards;
}
.start-game-button:hover {
  scale: 1.2;
  border-radius: 0px;
  background-color: crimson;
  cursor: pointer;
}

.game-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: auto;
  gap: 25px;
}

.text-scroll {
  background: url(paperTex.jpg);
  background-size: cover;
  padding: 1rem 3rem;
  width: 70vw;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: rgb(0, 0, 0) 0px 0px 50px;
}

.text {
  font-family: fantasy;
  font-weight: 900;
  font-size: 24px;
  color: black;
}

.choose-text {
  font-family: fantasy;
  font-size: 25px;
  color: white;
}

.buttons {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}

.button {
  font-family: fantasy;
  font-weight: 900;
  font-size: 25px;
  text-align: center;
  padding: 2rem;
  background: rgb(00, 00, 00, 0.4);
  border: 2px solid #121212;

  /* background: url(buttonTex.jpg);
  background-size: cover; */
  color: white;
  border-radius: 2px;

  transition: all 0.5s;
}
.button:hover {
  scale: 1.08;
  box-shadow: rgb(0, 0, 0) 0px 0px 50px;
  cursor: pointer;
}

.return-button {
  font-family: fantasy;
  font-size: larger;
  text-align: center;
  padding: 1.5rem;
  background-color: rgb(195, 44, 74);
  color: white;
  border: none;
  border-radius: 2px;

  opacity: 0;
  animation: gameAnimation 2s ease-in-out forwards;
}

.hidden {
  display: none;
}

.text-animation {
  opacity: 0;
  animation: gameAnimation 1s ease-in-out forwards;
  animation-delay: 1s;
}
.button-animation {
  opacity: 0;
  animation: gameAnimation 1s ease-in-out forwards;
  animation-delay: 2s;
}

@keyframes gameAnimation {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeAnimation {
  0% {
    opacity: 0;
    transform: scale(50%);
  }
  100% {
    opacity: 1;
    transform: scale(100%);
  }
}
