body {
  min-height: 100vh;
  background-color: #222;
  display: grid;
  place-items: center;
}

* {
  box-sizing: border-box;
}

#game-hud {
  display: grid;
  grid-template-columns: 158px 250px;
}

.side-indicators {
  width: 100px;
  height: 100px;
  display: grid;
  grid-template-columns: repeat(2, 40px);
  grid-template-rows: repeat(2, 40px);
  grid-gap: 10px;
  transform: translateX(22px) rotate(-45deg);
}

.perk-indicator {
  width: 45px;
  height: 45px;
  margin: -6px;
  background-color: #DC2;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-top-width: 3px;
  border-bottom-width: 1px;
  border-radius: 50%;
  box-shadow: 0 0 5px -2px black, 0 0 15px -2px #ffdd22;
  overflow: hidden;
  transform: rotate(45deg);
  display: flex;
  justify-content: center;
  align-items: center;
}
.perk-indicator-icon {
  fill: #FFF;
}

.spell-indicator {
  --progress: 100%;
  --cooldown: 5s;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid #BEF;
  border-top-width: 2px;
  border-right-width: 2px;
  border-radius: 10%;
  box-shadow: 0 0 10px -2px black, 0 0 20px -2px #2299ff;
  transition: all 300ms linear;
  transition-delay: var(--cooldown);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
}
.spell-indicator-content {
  width: 141.42%;
  height: 141.42%;
  transform: rotate(45deg);
  display: flex;
  justify-content: center;
  align-items: center;
}
.spell-indicator-progress {
  width: 100%;
  height: var(--progress);
  margin-top: calc(100% - var(--progress));
  background-color: #5AC;
  border-top: 0 solid rgba(255, 255, 255, 0.7);
  transition: all var(--cooldown) linear;
  position: absolute;
  z-index: -1;
}
.spell-indicator-icon {
  fill: #FFF;
}
.spell-indicator:active {
  --progress: 0%;
  box-shadow: 0 0 0 0 #111, 0 0 0 0 #555;
  border-color: rgba(255, 255, 255, 0.3);
  transition: all 0s;
  transition-delay: 0s;
}
.spell-indicator:active .spell-indicator-progress {
  background-color: #589;
  border-top-width: 7px;
  transition: all 0s;
}

.weapon-indicator {
  width: 75px;
  height: 75px;
  margin: px;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid #EEE;
  border-radius: 7% 70% 0 70%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.weapon-indicator-button {
  width: 75px;
  height: 75px;
  background-color: #AAA;
  border: 1px solid #EEE;
  border-top-width: 2px;
  border-bottom-width: 2px;
  border-radius: 50%;
  transform: rotate(45deg);
  display: grid;
  place-items: center;
}
.weapon-indicator-content {
  width: 67px;
  height: 67px;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid #EEE;
  border-radius: 50%;
}

.bars-indicators {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bar-indicator {
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}
.bar-indicator-progress {
  width: var(--progress);
  height: calc(100% + 4px);
  margin-top: -2px;
  background-color: var(--color);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-left: none;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
}
.bar-indicator-progress-gradient {
  width: 60px;
  height: calc(100% + 4px);
  margin-top: -2px;
  background-image: linear-gradient(to right, transparent, #FFF);
  float: right;
}

.hearth-bar {
  --color: #3A4;
  --progress: 85%;
  width: 100%;
  height: 18px;
}

.mana-bar {
  --color: #DA4;
  --progress: 80%;
  width: 75%;
  height: 12px;
  margin: 2px 0 5px 0;
}