:root {
  --inner-inventory-width: 79.608vw; /* 1146px */
  --inner-inventory-height: auto;
}

::-webkit-scrollbar {
  width: 0.167vw; /* 2.4px */
}

::-webkit-scrollbar-track {
  border-radius: 11.777vw; /* 170px */
  background: rgba(16, 16, 16, 0.2);
}

::-webkit-scrollbar-thumb {
  border-radius: 11.777vw; /* 170px */
  background: #6a5a02;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

* {
  margin: 0;
  padding: 0;
  overflow: hidden;
  user-select: none;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

.inventory {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: rgba(13, 13, 13, 0.75);
}

.innerInventory {
  width: var(--inner-inventory-width);
  height: var(--inner-inventory-height);
}

.sections {
  gap: 0.889vw; /* 12.8px */
  display: flex;
  height: 41.945vw; /* 604px */
}

.invLeft,
.invRight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  width: 33.945vw; /* 489px */
}

#weight {
  width: 79.608vw; /* 1146px */
}

#weight .middle {
  width: 9.444vw; /* 136px */
}

.items,
.itemsRight {
  gap: 0.278vw; /* 4px */
  overflow: auto;
  width: 33.667vw; /* 489px */
}


.invLeft .items {
  height: 29vw;
}

.item {
  width: 6.388vw; /* 92px */
  height: 7.778vw; /* 112px */
  border-radius: 0.111vw; /* 1.6px */
  background: radial-gradient(
    ellipse at center,
    rgba(30, 30, 30, 0.4) 0%,
    rgba(16, 16, 16, 0.5) 100%
  );

  position: relative;
}

.populated:hover,
.hoverControl {
  background-color: rgba(247, 247, 247, 0.237);
}

.item .nameItem {
  width: 100%;
  height: 1.945vw; /* 28px */
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-transform: uppercase;
  bottom: 0;
  position: absolute;
  color: #fff;
  font-size: 0.5vw; /* 10px */
  font-weight: 700;
  padding: 0 0.444vw; /* 7px */
  padding-top: 0.611vw; /* 8.8px */
}

.item .top {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: space-between;
  padding: 0.555vw; /* 8px */
}

.itemAmount {
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  font-size: 0.611vw; /* 9px */
  font-weight: 400;
}

.itemWeight {
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  font-size: 0.611vw; /* 9px */
  font-weight: 400;
}

.item img {
  width: 4vw; /* 57px */
  height: 4vw; /* 57px */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  object-fit: contain;
}

.item .durability {
  width: 100%;
  height: 0.167vw; /* 2.4px */
  background: rgba(255, 255, 255, 0.1);
  bottom: 1.945vw; /* 28px */
  position: absolute;
}

.item .durability .value {
  height: 100%;
}

.invMiddle {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 9.444vw; /* 136px */
  align-items: center;
  padding-top: 0.889vw; /* 12.8px */
}

input {
  text-align: center;
}

input::placeholder {
  color: #f9f5f5;
}

.invMiddle div,
.invMiddle input {
  width: 9.444vw; /* 136px */
  height: 3.333vw; /* 48px */
  border-radius: 0.111vw; /* 1.6px */
  border: 1px solid rgba(13, 13, 13, 0.02);
  background: rgba(18, 18, 18, 0.45);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.722vw; /* 10px */
  font-weight: 700;
  margin-bottom: 0.444vw; /* 6.4px */
}

.invMiddle > span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.722vw; /* 10px */
  font-weight: 700;
  margin-bottom: 1.111vw; /* 16px */
}

.invMiddle input {
  outline: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.722vw; /* 10px */
  font-weight: 500;
}

.invMiddle div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.222vw; /* 3.2px */
  position: relative;
}

.invMiddle div svg {
  width: 0.889vw; /* 12px */
  height: 0.889vw; /* 12px */
  left: 0.889vw; /* 12px */
  position: absolute;
}

.invMiddle div svg path {
  stroke: #6a5a02;
  fill: #6a5a02;
}

.invMiddle div:hover {
  color: #fff;
  font-size: 0.722vw; /* 10px */
  font-weight: 700;
  border-radius: 0.111vw; /* 1.6px */
  background: #6a5a02;
  cursor: pointer;
}

.invMiddle div:hover svg path {
  stroke: #ffffff;
  fill: #ffffff;
}

.invMiddle div:hover .bar {
  background: rgba(255, 255, 255, 0.4);
}

.invMiddle div .bar {
  width: 0.055vw; /* 0.8px */
  height: 0.889vw; /* 12px */
  left: 2.5vw; /* 35px */
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
}

#weight {
  gap: 0.889vw; /* 12.8px */
  display: flex;
  align-items: center;
  margin-bottom: 0.889vw; /* 12.8px */
}

#weight .name {
  flex: 2;
}

#weight .name .title {
  font-weight: 800;
  font-size: 1.333vw; /* 19px */
}

#weight .name .description {
  text-transform: uppercase;
  font-weight: 500;
  color: #f8f7f7;
}

#weight .weight .title {
  font-size: 0.778vw; /* 11px */
  font-weight: 800;
  color: #f8f7f7;
}

#weight .weight .weightStats {
  display: flex;
  align-items: center;
  gap: 0.889vw; /* 12.8px */
}

#weight .weight .weightStats .weightBar {
  flex: 1;
  background-color: rgba(250, 247, 247, 0.411);
  border-radius: 55.555vw; /* 7779px */
  height: 0.667vw; /* 9px */
  position: relative;
}

#weight .weight .weightStats .weightBar #weightContent {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 0.667vw; /* 9px */
  max-width: 100%;
  border-radius: 55.555vw; /* 7779px */
  background: var(--base-color);
  transition: all 0.9s;
}

.ui-helper-hidden-accessible {
  display: none;
}

.ui-tooltip {
  color: #fcfafa;
  z-index: 9999;
  font-size: 0.611vw; /* 9px */
  max-width: 22.222vw; /* 320px */
  position: absolute;
  letter-spacing: 0.055vw; /* 0.8px */
  padding: 1.111vw 1.111vw 0.833vw; /* 16px 16px 12px */
  background: rgba(111, 105, 105, 0.472);
}

.ui-tooltip:hover {
  display: none;
}

.ui-tooltip item {
  float: left;
  font-size: 1vw; /* 14px */
  min-width: 12.5vw; /* 180px */
  letter-spacing: 0.111vw; /* 1.6px */
}

.ui-tooltip legenda {
  float: left;
  max-width: 13.889vw; /* 200px */
  min-width: 13.889vw; /* 200px */
  margin-top: 0.555vw; /* 8px */
  padding-top: 0.555vw; /* 8px */
  line-height: 1.111vw; /* 16px */
  letter-spacing: 0.111vw; /* 1.6px */
  border-top: 0.055vw solid #090909; /* traço */
}

.ui-tooltip b {
  font-weight: 300;
}

.ui-tooltip description {
  float: left;
  color: #100f0f;
  font-size: 0.556vw; /* 8px */
  margin-top: 0.278vw; /* 4px */
  max-width: 13.889vw; /* 200px */
  min-width: 13.889vw; /* 200px */
}

.ui-tooltip description green {
  color: #111111;
}

.ui-tooltip s {
  color: #f9f5f5;
  padding: 0 0.278vw; /* 4px */
  text-decoration: none;
}

.ui-tooltip r {
  color: #f0e9e9;
}

.title {
  gap: 0.833vw; /* 12px */
  display: flex;
  align-items: center;
  width: 100%;
}

.title h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.778vw; /* 11px */
  font-weight: 700;
}

.title hr {
  flex: 1;
  height: 0.055vw; /* 0.8px */
  border: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.items,
.itemsRight {
  gap: 0.278vw; /* 4px */
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-height: 40vw; /* 576px */
  overflow: scroll;
  overflow-x: hidden;
  margin-top: 0.833vw; /* 12px */
}

.hotbar {
  gap: 0.278vw; /* 4px */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.833vw; /* 12px */
  margin-bottom: 1.611vw; /* 23px */
}

.hotbar .item.empty::before {
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.2);
  font-size: 2.778vw; /* 40px */
  font-weight: 500;
}

.hotbar .item.populated span::before {
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.667vw; /* 10px */
  font-weight: 500;
}

.hotbar .item.empty:nth-child(1)::before {
  content: "1";
}

.hotbar .item.populated:nth-child(1) span::before {
  content: "1";
}

.hotbar .item.empty:nth-child(2)::before {
  content: "2";
}

.hotbar .item.populated:nth-child(2) span::before {
  content: "2";
}

.hotbar .item.empty:nth-child(3)::before {
  content: "3";
}

.hotbar .item.populated:nth-child(3) span::before {
  content: "3";
}

.hotbar .item.empty:nth-child(4)::before {
  content: "4";
}

.hotbar .item.populated:nth-child(4) span::before {
  content: "4";
}

.hotbar .item.empty:nth-child(5)::before {
  content: "5";
}

.hotbar .item.populated:nth-child(5) span::before {
  content: "5";
}

#weight .left,
#weight .right {
  width: 33.945vw; /* 489px */
  margin-top: 0.833vw; /* 12px */
  gap: 0.667vw; /* 9.6px */
  display: flex;
  flex-direction: column;
}

#weight .left .progress,
#weight .right .progress {
  width: 33.055vw; /* 473px */
  height: 0.222vw; /* 3.2px */
  border-radius: 11.777vw; /* 170px */
  background: rgba(16, 16, 16, 0.2);
}

#weight .left .progress .value,
#weight .right .progress .value {
  width: 50%;
  height: 100%;
  border-radius: 11.777vw 0 0 11.777vw; /* 170px */
  background: #6a5a02;
}

#weight .left .text,
#weight .right .text {
  width: 33.055vw; /* 473px */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#weight .left .text h2,
#weight .right .text h2 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.722vw; /* 10px */
  font-weight: 800;
}

#weight .left .text .weight,
#weight .right .text .weight {
  gap: 0.444vw; /* 6.4px */
  display: flex;
  align-items: center;
}

#weight .left .text .weight,
#weight .right .text .weight p {
  color: #fff !important;
  font-size: 0.722vw; /* 10px */
  font-weight: 600;
}

.weight p b {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.722vw; /* 10px */
  font-weight: 600;
}

.hotbar .item.populated .top {
  display: none;
}

.hotbar .item.populated span {
  width: 1.667vw; /* 24px */
  height: 1.667vw; /* 24px */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px 0;
  background: #6a5a02;
  color: #fff;
  font-size: 0.667vw; /* 10px */
  font-weight: 500;
  position: relative;
}

.hotbar .item.empty .slot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 2.778vw; /* 40px */
  font-weight: 500;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  position: absolute;
}

.items .item.populated span,
.invRight .item.populated span {
  display: none;
}
