@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  src: local('VT323 Regular'), local('VT323-Regular'), url(https://fonts.gstatic.com/s/vt323/v9/pxiKyp0ihIEF2isfFJA.ttf) format('truetype');
}
body {
  background-color: #2a313d;
  color: white;
  font-family: 'VT323', monospace;
}
.weapon {
  width: 200px;
  text-align: center;
  z-index: 10000;
  position: fixed;
}
.weapon .your-weapon {
  font-size: 24px;
  margin-bottom: 20px;
}
.weapon #your-weapon-js {
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url('assets/img/hand.png');
  margin: 0 auto;
  border: 1px solid lightskyblue;
}
.weapon #weapon-name {
  margin-top: 12px;
}
.level,
.gold {
  font-size: 60px;
  position: relative;
  z-index: 10000;
  display: inline-block;
}
.stats {
  z-index: 10000;
  display: inline-block;
}
.mob {
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url('assets/img/slime-anim.gif');
  position: absolute;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.mob .hp-bar {
  height: 10px;
  width: 100px;
  background-color: black;
  transform: translateY(-15px);
}
.mob .hp-bar span {
  width: 100px;
  height: 10px;
  background-color: red;
  position: absolute;
}
.mob.active {
  opacity: 1;
}
.mob:hover {
  cursor: pointer;
}
.mob:hover .attack {
  display: block;
}
.mob .attack {
  display: none;
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: wheat;
  color: red;
  z-index: 10000;
}
.power-up {
  z-index: 10000;
  margin: auto;
  display: inline-block;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.power-up .sword-upgrade {
  cursor: not-allowed;
  margin: 0 auto;
  width: 100px;
  height: 100px;
  font-size: 16px;
  background-color: #455872;
  transition: all 0.1s ease-in-out;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url('assets/img/choco-cornet.png');
}
.power-up .sword-upgrade:hover .pop-up-default {
  display: block;
}
.power-up .sword-upgrade.active {
  border: 1px solid yellow;
}
.power-up .sword-upgrade.active:hover {
  background-color: #2357a1;
  cursor: pointer;
}
.power-up .sword-upgrade.active:hover .pop-up-default {
  display: none;
}
.power-up .sword-upgrade.active:hover .pop-up-buy {
  display: block;
}
.power-up .sword-upgrade .cost-style {
  position: absolute;
  top: 80px;
}
.power-up .sword-upgrade h1 {
  padding: 0;
  margin: 0;
}
.power-up .pop-up {
  position: absolute;
  background-color: blue;
  width: 100px;
  height: 100px;
  background-color: black;
  opacity: 0.8;
  top: 0;
  left: 0;
}
.power-up .pop-up.pop-up-default {
  display: none;
}
.power-up .pop-up.pop-up-buy {
  display: none;
}
.game-over-temporary {
  display: none;
}
#mute-btn {
  text-align: center;
  position: fixed;
  right: 0;
  top: 0;
  padding: 10px 20px;
  background-color: red;
  font-size: 24px;
  display: none;
}
#mute-btn:hover {
  cursor: pointer;
}
