body {
  background-color: BurlyWood;
}

@font-face {
  font-family: "Forgore";
  src: url("assets/texts/Forgore.otf") format("opentype");
}

.runes {
  font-family: "Forgore";
}
.introtext {
  font-size: 3rem;
  color: DarkGoldenRod;
}
.center {
  text-align: center;
}
.down {
  margin-top: 45vh;
}
.readybutton {
  color: white;
  background-color: DarkGoldenRod;
  padding: 15px 30px;
  font-size: 1.75rem;
  border-radius: 8px;
  font-family: "Forgore";
}
.dialoguewrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 45vh;
}
.dialoguebox {
  background-color: Bisque;
  padding: 20px 30px;
  border-radius: 12px;
  border: 3px solid LightPink;
  max-width: 400px;
}

.heart {
  width: 40px;
  height: auto;
  transition: opacity 0.3s ease;
}
.answeroption {
  padding: 12px 16px;
  background: DarkGoldenRod;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.2s;
}
.answeroption:hover {
  background: DarkGoldenRod;
  transform: scale(1.02);
}
.rewardimg {
  width: 120px;
  opacity: 1;
  transition: opacity 1s ease-out;
}
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(228, 119, 83, 0.9);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  z-index: 4000;
  width: 350px;
  font-family: "Forgore";
}
.hidden {
  display: none;
}
.popupbutton {
  margin-top: 20px;
  padding: 12px 25px;
  font-size: 1.5rem;
  background: DarkGoldenRod;
  color: white;
  border-radius: 8px;
  font-family: "Forgore";
}
#dialoguetext {
  font-family: "Forgore";
  font-size: 1.75rem;
  color: DarkGoldenRod;
  min-height: 3em;
  justify-content: center;
}
#nextbutton {
  color: white;
  background-color: DarkGoldenRod;
  padding: 15px 30px;
  font-size: 1.5rem;
  border-radius: 8px;
  font-family: "Forgore";
  justify-content: center;
}
#portrait {
  width: 150px;
  height: auto;
}
#name {
  padding: 8px 12px;
  font-size: 1.5rem;
  border-radius: 8px;
  font-family: "Forgore";
  color: Crimson;
  border: 3px solid DarkGoldenRod;
}
#submitname {
  padding: 8px 12px
  font-size: 1.75rem;
  border-radius: 12px;
  font-family: "Forgore";
  background-color: DarkGoldenRod;
  color: white;
}
#namestep {
  display: none;
  display: flex;
  gap: 10px;
  justify-content: center;
}
#start {
  display: none;
  justify-content: center;
  color: white;
  background-color: DarkGoldenRod;
  padding: 15px 30px;
  font-size: 1.5rem;
  border-radius: 8px;
  font-family: "Forgore";
}
#dioboxpg2 {
  font-family: "Forgore";
  font-size: 1.75rem;
  color: DarkGoldenRod;
  min-height: 3em;
  justify-content: center;
}
#lives {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}
#overlay {
  position: fixed;
  inset: 30px;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
#overlayall {
  background: rgba(228, 119, 83, 0.8);
  padding: 30px;
  border-radius: 12px;
  max-width: 450px;
  text-align: center;
  font-family: "Forgore";
}

#counting{
  font-family: "Forgore";
  font-size: 1.75rem;
  color: DarkGoldenRod;
  min-height: 3em;
}

#overlayportrait {
  width: 150px;
  margin-bottom: 15px;
}
#overlaytext {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
#continue {
  color: white;
  background-color: DarkGoldenRod;
  padding: 15px 30px;
  font-size: 1.75rem;
  border-radius: 8px;
  font-family: "Forgore";
}
#question {
  font-family: "Forgore";
  font-size: 1.75rem;
  color: DarkGoldenRod;
  min-height: 3em;
  justify-content: center;
}
#inventory {
  padding: 8px 12px;
  font-size: 1.75rem;
  border-radius: 12px;
  font-family: "Forgore";
  background-color: DarkGoldenRod;
  color: white;
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000;
} 
#answerbox {
  width: 60%;
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid #d4b46a;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
  overflow-y: auto;
}
#reward {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
}
  
  
