@import url("https://fonts.googleapis.com/css2?family=Bangers&family=Roboto&display=swap");
:root {
  font-size: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

:focus {
  outline: 1px solid #2a2a2a;
}

html {
  font-family: Arial, Helvetica, sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
}

section, header, main, footer {
  display: block;
}

button, a {
  cursor: pointer;
}

menu,
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

ul, ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

:root {
  --tile-size: 16px;
}

input[type=number],
input[type=password],
input[type=text],
select,
button {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #2a2a2a;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  caret-color: rgba(0, 0, 0, 0.15);
  max-width: 100%;
}
input[type=number]:focus,
input[type=password]:focus,
input[type=text]:focus,
select:focus,
button:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.15);
}

button {
  text-transform: lowercase;
}

input[type=password] {
  color: #6a6a6a;
  letter-spacing: 0.125rem;
}

input[type=checkbox] {
  outline: none !important;
  border: none !important;
}

.property {
  position: relative;
  margin-bottom: 0.5rem;
}
.property label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

body {
  min-height: 100vh;
  background: #f6f3f3;
  color: #2a2a2a;
  overflow: hidden;
}
body > main {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

body {
  font-family: "Roboto", sans-serif;
}

::selection {
  background: rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Bangers", cursive;
}

.hidden {
  display: none;
}

.icon {
  width: calc(var(--tile-size) * 2);
  height: calc(var(--tile-size) * 2);
  image-rendering: pixelated;
}

.interactive-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}
.interactive-map__scale-container {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 0;
  transform-origin: 0 0;
  transition: transform 0.4s ease-in-out;
  image-rendering: pixelated;
}
.interactive-map__offset-container {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s linear;
}
.interactive-map__pointer {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--tile-size);
  height: var(--tile-size);
  background: rgba(255, 255, 255, 0.25);
  transform-origin: 0 0;
  border: 1px solid rgba(255, 0, 0, 0.5);
  pointer-events: none;
  display: none;
  transition: transform 64ms ease-in-out;
  z-index: 10;
}
.interactive-map__pointer.active {
  display: block;
}
.interactive-map__pointer.pointer-select {
  outline: none;
  border-color: rgba(255, 0, 0, 0.75);
  background: rgba(255, 255, 255, 0);
}

[role=tooltip] {
  position: absolute;
  top: 0;
  left: 0;
  background: #1a1a1a;
  color: #fff;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  display: none;
  max-width: 95vw;
  z-index: 999;
  backface-visibility: hidden;
  white-space: nowrap;
}
@media (min-width: 500px) {
  [role=tooltip] {
    max-width: 460px;
  }
}
[role=tooltip].tooltip-show {
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.66);
  display: block;
}
[role=tooltip] .tooltip__arrow {
  position: absolute;
  overflow: visible;
}
[role=tooltip] .tooltip__arrow::before {
  position: absolute;
  top: -4px;
  left: -4px;
  background: #1a1a1a;
  width: 8px;
  height: 8px;
  z-index: -1;
  content: "";
  transform: rotate(45deg);
}

.panel, .dialog__window {
  padding: 0.5rem;
  font-size: 1.5rem;
  background: #7b563c;
  color: #fff;
  border-radius: 0.5rem;
  border: 2px solid #372718;
  box-shadow: inset 0px 0px 2px 1px #cfb6a3, 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
}
.panel > header, .dialog__window > header, .panel h1, .dialog__window h1, .panel h2, .dialog__window h2, .panel h3, .dialog__window h3, .panel h4, .dialog__window h4, .panel h5, .dialog__window h5, .panel h6, .dialog__window h6 {
  padding: 0.5rem;
  text-align: center;
  font-family: "Bangers", cursive;
  text-shadow: 1px 1px 0 #000, 0px 0 #000, -1px 1px 0 #000, -2px 0 #000, 1px 0px 0 #000, 0px 1px 0 #000, -1px 0px 0 #000, -1px 0 #000;
  -webkit-text-stroke-width: 1px;
  -webkit-text-fill-color: white;
  -webkit-text-stroke-color: black;
}
.panel > header, .dialog__window > header {
  font-size: 2rem;
  font-weight: 800;
}
.panel input[type=text], .dialog__window input[type=text] {
  color: #fff;
  font-size: 1.5rem;
  background: #976e50;
  font-weight: 500;
  text-align: center;
  caret-color: #fff;
}

body > main .interactive-map {
  z-index: 1;
}
body > main .windows {
  position: relative;
  max-width: 320px;
  z-index: 2;
  padding: 1rem;
}
body > main .windows > .panel, body > main .windows > .dialog__window {
  margin: 1rem;
}

.dialog__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: all;
  z-index: 9999;
}
.dialog__window {
  position: relative;
  padding: 0;
  min-width: 320px;
  max-width: 84vw;
}
.dialog--auto {
  width: auto;
}
.dialog--small {
  width: 320px;
}
.dialog--medium {
  width: 720px;
}
.dialog--large {
  width: 1080px;
}
.dialog--fill {
  width: 100%;
}
.dialog__header {
  padding: 0.5rem;
  text-align: center;
  font-family: "Bangers", cursive;
  text-shadow: 1px 1px 0 #000, 0px 0 #000, -1px 1px 0 #000, -2px 0 #000, 1px 0px 0 #000, 0px 1px 0 #000, -1px 0px 0 #000, -1px 0 #000;
  -webkit-text-stroke-width: 1px;
  -webkit-text-fill-color: white;
  -webkit-text-stroke-color: black;
  text-align: center;
}
.dialog__body {
  position: relative;
  padding: 1rem;
}
.dialog__footer {
  padding: 1rem;
  text-align: center;
}
.dialog__footer .btn,
.dialog__footer button {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.dialog__close {
  position: absolute;
  top: 0px;
  bottom: auto;
  right: 0px;
  left: auto;
  transform: translateX(50%) translateY(-50%);
  background: #fff;
  border-radius: 50%;
  outline: none;
  height: 2rem;
  width: 2rem;
}
.dialog__close::before {
  content: "x";
  font-family: "Bangers", cursive;
  font-size: 1.25rem;
  display: inline-block;
}
.dialog__wrap {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.dialog__wrap .dialog__window {
  opacity: 0;
  transform: scale3d(0.7, 0.7, 0.7);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.dialog__wrap.open {
  opacity: 1;
}
.dialog__wrap.open .dialog__window {
  opacity: 1;
  transform: scale3d(1, 1, 1);
  transition-delay: 0.2s;
}

.hero-resource-bar {
  position: relative;
  border-radius: 0.5rem;
  border: 2px solid #372718;
  background: #e6d299;
  height: 2rem;
  margin-bottom: 0.5rem;
}
.hero-resource-bar::after {
  border-radius: 0.5rem;
  box-shadow: inset 0px 0px 2px 1px #cfb6a3;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  text-align: center;
  display: block;
  z-index: 2;
  color: #fff;
  font-size: 1rem;
  line-height: 1.9rem;
  content: attr(data-text);
}
.hero-resource-bar__inner {
  border-radius: 0.5rem;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: transform 0.4s ease-in-out;
  transform-origin: 0 0;
}
.hero-resource-bar--hp .hero-resource-bar__inner {
  background-color: #c6302f;
}
.hero-resource-bar--energy .hero-resource-bar__inner {
  background-color: #fdaa19;
}
.hero-resource-bar--stamina .hero-resource-bar__inner {
  background-color: #44b349;
}

.item-grid {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0.25rem;
}
.item-grid__item {
  border-radius: 0.25rem;
  border: 2px solid #372718;
  box-shadow: inset 0px 0px 2px 1px #cfb6a3;
  background: #976e50;
  position: relative;
  margin: 0.125rem;
  padding: 0.375rem;
  cursor: pointer;
  font-size: 0;
}
.item-grid__item::after {
  border-radius: 0.25rem 0 0 0;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.125rem 0.25rem;
  font-size: 0.66rem;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  content: attr(data-quantity);
}
.item-grid__item [role=tooltip] strong {
  display: block;
  margin-bottom: 0.25rem;
}
.item-grid__item [role=tooltip] span {
  display: block;
}

.interactive-map.world-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #249fde;
}
.interactive-map.world-map .interactive-map__pointer.pointer-hover {
  background: rgba(255, 255, 255, 0.25);
  border: none;
}
.interactive-map.world-map .interactive-map__pointer.pointer-select {
  background: none;
  border: none;
}
.interactive-map.world-map .interactive-map__pointer.pointer-select::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: none;
  transform-origin: 50% 50%;
  animation: blink 1s ease-in-out infinite alternate-reverse;
}
@keyframes blink {
  from {
    transform: scale(0.25);
    background-color: rgba(255, 0, 0, 0.125);
  }
  to {
    transform: scale(0.5);
    background-color: rgba(255, 0, 0, 0.5);
  }
}

/*# sourceMappingURL=app.css.map */
