#game-hud {
  position: absolute;
  display: none;
  width: 100%;
  max-width: 900px;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
}

.hud-element {
  position: absolute;
  padding: 20px;
}

.player-position {
  top: 2px;
  left: 4px;
}

.boss-position {
  top: 2px;
  right: 4px;
  text-align: right;
}

#player-bars {
  width: 200px;
  background: rgb(0, 0, 0);
  border: 1px solid #656565;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#player-health {
  height: 13px;
}

#player-mana {
  height: 10px;
  border-top: 2px solid rgb(0, 0, 0);
}

#bar-boss-container {
  width: 200px;
  height: 18px;
  background: rgb(0, 0, 0);
  border: 1px solid #656565;
  border-radius: 4px;
  overflow: hidden;
}

#player-buffs {
  display: flex;
  align-items: center;
}

#player-buffs img {
  margin: 2px;
  width: 11px;
  height: 11px;

  image-rendering: pixelated;
}

/* FILL: DO NOT TOUCH*/
.fill {
  width: 100%;
  height: 100%;
  transition: width 0.9s ease-in-out;
}

.green {
  background: #2ecc71;
  box-shadow: 0 0 2px #2ecc71;
}
.red {
  background: #bf1736;
  box-shadow: 0 0 2px #fafafa;
}

.blue {
  background: #3498db;
}

.label p {
  font-size: 1.2em;
  color: white;
  font-family: monospace;
  font-weight: bold;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
  margin-bottom: 5px;
}

@media (max-width: 600px) {
  .player-position {
    top: 55vh;
    left: 10px;
  }

  .boss-position {
    top: 2px;
    right: 10px;
    text-align: right;
  }
}

@media (max-height: 500px) {
  #player-health {
    height: 10px;
  }
  #player-mana {
    height: 8px;
  }
  #bar-boss-container {
    height: 12px;
  }
  #player-buffs img {
    margin: 2px;
    width: 8px;
    height: 8px;

    image-rendering: auto;
  }
}
