html,
body {
  height: 95%;
  width: 95%;
  padding: 0.5em;
  background-image: url(./images/body-bkg.png);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Start Screen Styling */

/* Fonts */

h1 {
  color: white;
  font-size: 3.5em;
  font-family: "Press Start 2P", system-ui;
  filter: drop-shadow(5px 5px 5px rgb(0, 0, 0));
  margin: 3em 0.3em 0.3em 1em;
}

h2 {
  color: white;
  font-family: "Press Start 2P", system-ui;
  font-size: 2.5em;
  filter: drop-shadow(5px 5px 5px rgb(0, 0, 0));
}

h3 {
  color: white;
  font-family: "Press Start 2P", system-ui;
  font-size: 1.5em;
  filter: drop-shadow(5px 5px 5px rgb(0, 0, 0));
}

/* Start Screen */

#start-screen-div {
  width: 1100px;
  height: 619px;
  background-image: url("./images/start-screen-bkg.jpeg");
  background-size: cover;
}

#start-screen-sec {
  width: 1100px;
  height: 619px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(40, 1, 34, 0.191);
  filter: drop-shadow(0px 0px 50px rgb(194, 0, 248));
}

#startButton {
  width: 20%;
  height: 7%;
  border-radius: 5px;
  margin: 4em;
  font-family: "Press Start 2P", system-ui;
  color: rgb(80, 5, 150);
  filter: drop-shadow(0px 0px 3px rgb(99, 0, 106));
}

/* Game Screen */

#game-screen-div {
  display: none;
  width: 1100px;
  height: 619px;
  background-image: url("./images/game-screen-bkg.jpeg");
  background-size: cover;
  position: relative;
}

#game-screen-sec {
  width: 1100px;
  height: 619px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(109, 106, 186, 0.102);
  filter: drop-shadow(0px 0px 50px rgb(65, 65, 220));
  margin: 0px;
}

#game-status-sec {
  width: 1080px;
  height: 100px;
  background-color: rgba(0, 0, 0, 0.84);
  position: relative;
  z-index: 4;
  top: 255px;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 10px 10px 10px 30px;
  display: flex;
  align-content: center;
  flex-direction: row;
  justify-content: space-between;
}

/* Enemy Status */

#enemy-status {
  width: 450px;
  height: 120px;
  /* background-color: antiquewhite; */
  display: flex;
  flex-direction: row;
}

#enemy-portrait-box {
  width: 80px;
  height: 80px;
  background-image: url(./images/enemy-portrait-img.png);
  background-size: cover;
  background-color: rgba(200, 92, 144, 0.405);
  border-color: black;
  border: 2px;
  border-radius: 5px;
  margin: 0px 10px 0px 0px;
}

#enemy-status-box {
  width: 370px;
  height: 80px;
  background-color: rgba(200, 92, 144, 0.405);
  box-sizing: border-box;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: 5px;
}
#enemy-status-bar {
  width: 100%;
  height: 40%;
  background-color: rgb(197, 13, 102);
  margin: 0px;
  border-radius: 2px;
}

#enemy-status-text {
  height: 40%;
  font-size: 1em;
  font-family: "Press Start 2P", system-ui;
  color: white;
  margin: 15px 10px 0px 0px;
}

#vs-box {
  width: 80px;
  height: 80px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-items: center;
  margin: 0px 0px 0px 10px;
  height: 40%;
  font-size: 2em;
  font-family: "Press Start 2P", system-ui;
  color: white;
  margin: 25px 0px 0px 5px;
}

/* Player Status */

#player-status {
  width: 450px;
  height: 120px;
  /* background-color: antiquewhite; */
  display: flex;
  flex-direction: row;
}

#player-portrait-box {
  width: 80px;
  height: 80px;
  background-image: url(./images/player-portrait-img.jpeg);
  background-size: cover;
  background-color: rgba(100, 57, 130, 0.405);
  border-color: black;
  border: 2px;
  border-radius: 5px;
  margin: 0px 0px 0px 10px;
}

#player-status-box {
  width: 370px;
  height: 80px;
  background-color: rgba(100, 57, 130, 0.405);
  box-sizing: border-box;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  border-radius: 5px;
}
#player-status-bar {
  width: 100%;
  height: 40%;
  background-color: rgb(152, 54, 222);
  margin: 0px;
  border-radius: 2px;
}

#player-status-text {
  height: 40%;
  font-size: 1em;
  font-family: "Press Start 2P", system-ui;
  color: white;
  margin: 15px 0px 0px 0px;
}

/* Battle Screen */

#battle-screen-div {
  width: 1100px;
  height: 619px;
  background-image: url("./images/start-screen-bkg.jpeg");
  background-size: cover;
  display: flex;
  filter: hue-rotate(90deg);
}

#battle-screen-sec {
  width: 1100px;
  height: 619px;
  display: none;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(./images/bossBattle-screen-bkg.png);
  background-size: cover;
  filter: drop-shadow(0px 0px 50px rgb(65, 65, 220));
}

#laptop-background-div {
  width: 710px;
  height: 400px;
  margin-left: 20px;
  margin-top: 26px;
  position: absolute;
  display: flex;
  background-image: url(./images/laptop-screen-bkg.gif);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0px 0px 50px rgb(4, 101, 5));
  display: flex;
}

#battle-progress-frame {
  background-color: white;
  z-index: 2;
  height: 30px;
  width: 46%;
  margin: 10px;
  border-radius: 5px;
  filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.592));
}

#battle-progress-bar {
  background-color: rgb(11, 134, 46);
  z-index: 2;
  height: 25px;
  width: 99%;
  margin: 2px;
  border-radius: 5px;
}

#battle-screen-enemy {
  width: 200px;
  height: 200px;
  margin: 10px;
  top: 20px;
  left: 0px;
  filter: drop-shadow(0px 0px 50px rgb(60, 165, 4));
  position: relative;
  /* Animation */
  animation: Shake linear infinite;
  animation-duration: 2s;
}

/* Game Over Screen */

#gameover-screen-div {
  display: none;
  width: 1100px;
  height: 619px;
  background-image: url("./images/gameover-screen-bkg.jpeg");
  background-size: cover;
}

#gameover-screen-sec {
  width: 1100px;
  height: 619px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(109, 106, 186, 0.102);
  filter: drop-shadow(0px 0px 50px rgb(65, 65, 220));
}

#gamewin-screen-div {
  display: none;
  width: 1100px;
  height: 619px;
  background-image: url("./images/gamewin-screen-bkg.jpeg");
  background-size: cover;
}

#gamewin-screen-sec {
  width: 1100px;
  height: 619px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(109, 106, 186, 0.102);
  filter: drop-shadow(0px 0px 50px rgb(65, 65, 220));
}

#restartButtonWin {
  width: 20%;
  height: 7%;
  border-radius: 5px;
  margin: 4em;
  font-family: "Press Start 2P", system-ui;
  color: rgb(80, 5, 150);
  filter: drop-shadow(0px 0px 3px rgb(99, 0, 106));
}

#restartButtonLose {
  width: 20%;
  height: 7%;
  border-radius: 5px;
  margin: 4em;
  font-family: "Press Start 2P", system-ui;
  color: rgb(80, 5, 150);
  filter: drop-shadow(0px 0px 3px rgb(99, 0, 106));
}

/* Characters */

.enemy-class {
  animation: MoveUpDown 1.5s linear infinite;
  position: absolute;
  left: 0;
  bottom: 0;
}

@keyframes MoveUpDown {
  0%,
  100% {
    transform: translateY(0);
    transform: translateX(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes Shake {
  0%,
  100% {
    transform: translateY(100px);
    transform: translateX(25px);
  }
  50% {
    transform: translateY(-10px);
    transform: translateX(-25px);
  }
}
