
body {
  margin: 0;
  background-color: #cccccc;
}

/******************************************************************************/
/**************************  First room - hallRoom  ***************************/
/******************************************************************************/

#InnerDisplayHall {
  display: block;
  background-color: Black;
  background-image: url(images/b-o-w-qin-10.jpg);
  background-repeat: no-repeat;
  width: 800px;
  height:600px;
  position:absolute;
  z-index: -1;
  left:0;
  right:0;
  top:0;
  bottom:0;
  margin:auto;
}

.display{
  display: block;
  margin: auto;
  background-repeat: no-repeat;
  width: 800px;
  height:600px;
  position:absolute;
  z-index: -1;
  left:0;
  right:0;
  top:0;
  bottom:0;
  margin:auto;
}

.lyrica {
  width: 350px;
  height: 600px;
  float: right;

  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#lyricaOutside {
  width: 450px;
  height: 700px;
}

#MagicalButton {
  background-color: #3D3E41;
  color: White;
  border: none;
  cursor: pointer;
  transition: 0.15s;
  height: 50px;
  width: 200px;
  position: absolute;
  left: 100px;
  top: 275px;
  border-radius: 10px;
}

#MagicalButton:hover {
    box-shadow: 0 0px 50px 0 White;
}

#MagicalButton:focus {
  outline:0;
}

#EvilLyrica {
  float: right;
  height: 728px;
  position: relative;
  z-index: 1;
}

#OuterChatDisplay {
  width: 100%;
  height: 250px;
  position: absolute;
  bottom: 0px;
  z-index: 2;
  background: linear-gradient(to top, rgba(214, 128, 128, 0.6), rgba(0,0,0,0)); /* (238, 232, 238, 0.6) */
}

.hidden {
  display: none;
}

.unvisible {
  visibility: hidden;
}

.visible {
  font-size: 3em;
  font-family: monospace;
  color: Red;
  text-shadow: 2px 2px 5px #2f2a2a;
  width: 1500px;
  top: 120px;
  position: relative;
  padding: 5px;
  width: 1300px;
  display: block;
  left: 30px;
}

.invisible {
    /* color: transparent; */
    visibility: hidden;
}

#speakTo {
  color: White;
  font-style: oblique;
  font-size: 2em;
  top: 321px;
  left: 679px;
  position: absolute;
  z-index: 3;
}

#RedEyes {
  position: absolute;
  width: 137px;
  left: 560px;
  top: 121px;
  transform: rotate(10deg);
}

.secretDoorContainer {
  width: 320px;
  height: 320px;
  height: auto;
  position: relative;
  top: 100px;
  left: 80px;
  filter: sepia(100%);
  cursor: pointer;
}

.secretDoor {
  width: 320px;
  height: 320px;

  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#monsterHand {
  position: absolute;
  width: 55%;
  left: -55%;
  z-index: 20;
}

#scaryBackground {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
}

#shadowing {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  /* background-color: rgba(255, 255, 255, 1); */
  background-image: url('images/portal2.gif');
  background-repeat:no-repeat;
  background-position: center;
  background-size: cover;
  /* background-size: 100% 100%; */
}

.speakingBubbleWrapper {
  position: absolute;
  z-index: 2;
  left: 260px;
  bottom: 360px;
  width: 230px;
  min-height: 50px;
  max-height: fit-content;
  background-color: Black;
  padding: 10px;
  border-radius: 12px;
  border: White Solid 1px;
}

.speakingBubbleText {
  color: White;
  white-space: pre-line;
  word-wrap: break-word;
  user-select: none;  /* <-- Use a better solution than this! */
  margin-top: 0;
  margin-bottom: 0;
}

.text-input-container {
  padding: 20px;
  position: absolute;
  background: linear-gradient(to bottom, rgb(61 62 59 / 60%), rgba(0, 0, 0, 0));
  width: 180px;
  top: 0%;
  left: 0%;
}

.text-input-container span {
  color: #fff;
}

.text-input-container input {
  margin-top: 10px;
}

/******************************************************************************/
/*****************************  First Minigame  *******************************/
/******************************************************************************/

#InnerDisplayMinigamOne {
  display: block;
  margin: auto;
  background-color: rgba(0, 0, 0, 0.65);
  width: 800px;
  height:600px;
  position:absolute;
  z-index: -1;
  left:0;
  right:0;
  top:0;
  bottom:0;
  overflow: hidden;
}

.startBattleBtn {
  width: 250px;
  height: 80px;
  background-color: rgba(160, 46, 174, 0.75);
  color: Black;
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
  top: 260px;
  line-height: 80px;
  font-family: fantasy;
  font-size: xx-large;
  border-radius: 30px;
  text-align: center;
  border: solid 1.5px #fb00ff;
}

.startBattleBtn:hover {
  background-color: rgba(192, 107, 202, 0.75);;
  cursor: pointer;
}

#dabious {
  position: absolute;
  width: 52%;
  left: 380px;
  top: 20px;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#battleStatusContainer {
  background-image: url("images/BattleBanner.jpg");
  width: 100%;
  height: 60px;
  background-color: Silver;
  text-align: center;
  line-height: 60px;
  position: absolute;
  z-index: -1;
  top: 0;
  border-bottom: solid 1px White;
}

#battleStatus {
  color: White;
  font-family: fantasy;
  font-size: larger;
}

.hpContainer {
  position: absolute;
  background: transparent;
  top: 150px;
  left: 30px;
  display: grid;
  color: ghostwhite;
  font-size: 3em;
  font-family: monospace;
}

.attackEnemyBtn {
  position: absolute;
  width: 140px;
  height: 70px;
  background-color: rgba(160, 46, 174, 0.75);
  color: Black;
  top: 400px;
  line-height: 70px;
  text-align: center;
  font-family: fantasy;
  font-size: larger;
  border-radius: 25px;
  border: solid 1.5px #fb00ff;
}

#youDied {
  opacity: 0;
  background-color: #00000082;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  color: Red;
  font-size: 15em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#youDied div:nth-child(1) {
  display: flex;
  justify-content: center;
  height: fit-content;
  align-items: center;
  text-align: center;
}

#youDied div:nth-child(2) {
  display: flex;
  justify-content: center;
  height: fit-content;
  align-items: center;
  padding: 30px;
}

#youDied div p {
  margin-bottom: unset;
  margin-top: unset;
}

.tryAgain-btn {
  width: 140px;
  height: 70px;
  background-color: #ab3d3d70;
  color: #ff0000;
  line-height: 70px;
  font-family: fantasy;
  font-size: 20px;
  border-radius: 25px;
  border: solid 1.5px #ff0000;
}

.tryAgain-btn:hover {
  background-color: #6b3f3f70;
  cursor: pointer;
}

/******************************************************************************/
/*************************  Second Room - theCaves  ***************************/
/******************************************************************************/

#hoodedManLongDistance {
  width: 70px;
  height: 75px;
  position: absolute;
  top: 356px;
  left: 421px;
  opacity: 0.7;
}

#InnerDisplayTheCaves {
  background-image: url("images/Cave1.png");
}

#InnerDisplayTheCaves2 {
  background-image: url("images/Cave2.jpg");
}

#InnerDisplayTheCaves3 {
  background-image: url("images/Cave3.jpg");
}

#Cave3ZoomedIn {
  background-image: url("images/Cave3ZoomedIn.jpg");
}

#InnerDisplayTheCaves5 {
  background-image: url("images/Cave5.jpg");
}

#InnerDisplayTheCaves8 {
  background-image: url("images/Cave8.jpg");
}

.caveDisplayStyling {
  margin: auto;
  width: 800px;
  height:600px;
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  box-shadow: 0px 0px 30px ghostwhite;
  border-radius: 10px;
}

#cave1Right {
  position: absolute;
  width: 8%;
  top: 319px;
  left: 609px;
  opacity: 0.4;
}

#cave1Right:hover {
  opacity: 1;
  cursor: pointer;
}

#cave1Forward {
  position: absolute;
  width: 5%;
  top: 314px;
  left: 299px;
  opacity: 0.4;
  transform: rotate(156deg);
}

#cave1Forward:hover {
  opacity: 1;
  cursor: pointer;
}

#cave2Forward {
  position: absolute;
  width: 6%;
  top: 474px;
  left: 332px;
  opacity: 0.4;
  transform: rotate(202deg);
}

#cave2Forward:hover {
  opacity: 1;
  cursor: pointer;
}

#cave8Forward {
  position: absolute;
  width: 5%;
  top: 454px;
  left: 521px;
  opacity: 0.4;
  transform: rotate(147deg);
}

#cave8Forward:hover {
  opacity: 1;
  cursor: pointer;
}

.backBtn {
  position: absolute;
  top: 535px;
  left: 15px;
  width: 80px;
  height: 50px;
  text-align: center;
  background-color: Black;
  color: White;
  border-radius: 13px;
  border: White Solid 0.15em;
  font-family: monospace;
  line-height: 50px;
}

.backBtn:hover {
  opacity: 0.7;
}

#shinyThing {
  position: absolute;
  width: 5%;
  top: 456px;
  left: 560px;
}

#HoodedMan {
  position: absolute;
  transform: scaleX(-1);
  top: 80px;
  left: 400px;
}

#shinyDiv {
  background-color: ghostwhite;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1;
}

.speakingBubbleContainer {
  position: absolute;
  left: 147px;
  top: 140px;
  width: 230px;
  min-height: 50px;
  max-height: fit-content;
  background-color: Black;
  padding: 10px;
  border-radius: 12px;
  border: White Solid 1px;
}

.speakingBubbleText2 {
  color: White;
  white-space: pre-line;
  word-wrap: break-word;
  user-select: none;
  margin-top: 0;
  margin-bottom: 0;
}
