body {
  color: #333;
  font-family: sans-serif;
}
body main {
  margin: 50px auto;
  padding: 20px;
  background-color: #ddd;
  border-radius: 5px;
  max-width: 1000px;
  width: 100%;
}
body main section {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
}
body main section h2 {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}
body main section .hpGauge {
  border: 1px solid #777;
  margin-top: 10px;
}
body main section .hpGauge .hpGaugeValue {
  height: 15px;
  background-color: #6bf;
  transition: 0.3s;
  width: 100%;
}
body main section .hp {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
body main section .hp .text {
  margin-right: 10px;
}
body main section .hp > div:nth-of-type(2)::after {
  content: "/";
  margin: 0 5px;
}
body main section .mpGauge {
  border: 1px solid #777;
  margin-top: 10px;
}
body main section .mpGauge .mpGaugeValue {
  height: 15px;
  background-color: #7fa;
  transition: 0.3s;
  width: 100%;
}
body main section .mp {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
body main section .mp .text {
  margin-right: 10px;
}
body main section .mp > div:nth-of-type(2)::after {
  content: "/";
  margin: 0 5px;
}
body main .enemy {
  margin-bottom: 20px;
  position: relative;
}
body main .enemy .location {
  display: flex;
  position: absolute;
  top: 22px;
  left: 20px;
}
body main .enemy .asleep {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 22px;
  right: 95px;
  font-size: 14px;
  width: 70px;
  height: 25px;
  color: #6F6FF7;
  background-color: #ABABEB;
  border: 2px solid #6F6FF7;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
}
body main .enemy .asleep.active {
  opacity: 1;
  visibility: visible;
}
body main .enemy .poisoned {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 22px;
  right: 20px;
  font-size: 14px;
  width: 70px;
  height: 25px;
  color: #3DBF21;
  background-color: #9BE8A1;
  border: 2px solid #3DBF21;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
}
body main .enemy .poisoned.active {
  opacity: 1;
  visibility: visible;
}
body main .player {
  position: relative;
}
body main .player .level {
  display: flex;
  position: absolute;
  top: 22px;
  left: 20px;
}
body main .player .sleepSkill {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 22px;
  right: 95px;
  font-size: 14px;
  width: 70px;
  height: 25px;
  color: #6F6FF7;
  background-color: #ABABEB;
  border: 2px solid #6F6FF7;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
}
body main .player .sleepSkill.active {
  opacity: 1;
  visibility: visible;
}
body main .player .poisonSkill {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 22px;
  right: 20px;
  font-size: 14px;
  width: 70px;
  height: 25px;
  color: #3DBF21;
  background-color: #9BE8A1;
  border: 2px solid #3DBF21;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
}
body main .player .poisonSkill.active {
  opacity: 1;
  visibility: visible;
}
body main .player .playerStatus {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
body main .player .playerStatus .exp {
  display: flex;
}
body main .player .playerStatus .money {
  display: flex;
}
body main .player .playerStatus .killedNumbers {
  display: flex;
  justify-content: flex-end;
}
body main .player .playerStatus .killedNumbers > div:first-of-type::after {
  content: "/";
  margin: 0 5px;
}
body main .player .logs {
  border: 1px solid #777;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 16px;
  line-height: 1.8;
  height: 250px;
  overflow: auto;
  margin-top: 30px;
  box-shadow: 0 0 3px 0 #777 inset;
}
body main .player .buttons {
  display: flex;
  justify-content: center;
}
body main .player .buttons .attack {
  margin: 50px 12px 0;
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f44;
  color: #fff;
  border: 0;
  outline: none;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}
body main .player .buttons .attack.deactive {
  pointer-events: none;
  opacity: 0.5;
}
body main .player .buttons .fire {
  margin: 50px 12px 0;
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFA500;
  color: #fff;
  border: 0;
  outline: none;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}
body main .player .buttons .fire.deactive {
  pointer-events: none;
  opacity: 0.5;
}
body main .player .buttons .item {
  margin: 50px 12px 0;
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #4848F7;
  color: #fff;
  border: 0;
  outline: none;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}
body main .player .buttons .skill {
  margin: 50px 12px 0;
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #A138CF;
  color: #fff;
  border: 0;
  outline: none;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
  display: none;
}
body main .player .buttons .skill.active {
  display: flex;
}
body .mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
}
body .mask.active {
  opacity: 1;
  visibility: visible;
}
body .modal {
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  min-width: 500px;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
}
body .modal.active {
  opacity: 1;
  visibility: visible;
}
body .modal .modalTitle {
  font-weight: bold;
  font-size: 40px;
  text-align: center;
}
body .modal .modalButtons {
  display: flex;
  justify-content: center;
}
body .modal .modalButtons .shop {
  margin: 50px 12px 0;
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #47BFA8;
  color: #fff;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}
body .modal .modalButtons .shop.hidden {
  display: none;
}
body .modal .modalButtons .modalNextButton {
  margin: 50px 12px 0;
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #28f;
  color: #fff;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}
body .modal .modalButtons .modalNextButton.hidden {
  display: none;
}
body .shopModal {
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 30px;
  background-color: #eee;
  border-radius: 10px;
  width: auto;
  text-align: right;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
}
body .shopModal.active {
  opacity: 1;
  visibility: visible;
}
body .shopModal h2 {
  display: flex;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
}
body .shopModal .money {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
body .shopModal .itemsInShop {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px 0;
}
body .shopModal .itemsInShop li {
  display: grid;
  grid-template-columns: 2fr 0.75fr 1.4fr 1.4fr;
  align-items: center;
  gap: 30px;
}
body .shopModal .itemsInShop li .itemName {
  text-align-last: left;
}
body .shopModal .itemsInShop li .quantity {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
body .shopModal .itemsInShop li .buyButton {
  padding: 0 10px;
  margin: 0;
  width: 100px;
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #47BFA8;
  color: #fff;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}
body .shopModal .itemsInShop li .buyButton.deactive {
  pointer-events: none;
  opacity: 0.5;
}
body .shopModal .itemsInShop li .buyButton p {
  font-size: 15px;
}
body .shopModal .itemsInShop li .buyButton span {
  padding-top: 4px;
  font-size: 13px;
}
body .shopModal .itemsInShop li .sellButton {
  padding: 0 10px;
  margin: 0;
  width: 100px;
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #47B9BF;
  color: #fff;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
}
body .shopModal .itemsInShop li .sellButton.deactive {
  pointer-events: none;
  opacity: 0.5;
}
body .shopModal .itemsInShop li .sellButton p {
  font-size: 15px;
}
body .shopModal .itemsInShop li .sellButton span {
  padding-top: 4px;
  font-size: 13px;
}
body .shopModal .itemsInShop li:last-of-type {
  margin-bottom: 36px;
}
body .shopModal .shopModalClose {
  display: block;
  width: max-content;
  position: absolute;
  bottom: 30px;
  right: 30px;
}
body .itemModal {
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  width: auto;
  height: auto;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
}
body .itemModal.active {
  opacity: 1;
  visibility: visible;
}
body .itemModal h2 {
  display: flex;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
}
body .itemModal .itemButtons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
}
body .itemModal .itemButtons li button {
  padding: 10px 10px 10px;
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  background-color: #4848F7;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
body .itemModal .itemButtons li button.deactive {
  pointer-events: none;
  opacity: 0.5;
}
body .itemModal .itemButtons li button p {
  font-size: 15px;
}
body .itemModal .itemButtons li button span {
  padding-top: 4px;
  font-size: 13px;
}
body .itemModal .itemButtons li:last-of-type {
  margin-bottom: 36px;
}
body .itemModal .itemModalClose {
  display: block;
  width: max-content;
  position: absolute;
  bottom: 30px;
  right: 30px;
}
body .skillModal {
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  width: auto;
  height: auto;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
}
body .skillModal.active {
  opacity: 1;
  visibility: visible;
}
body .skillModal h2 {
  display: flex;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
}
body .skillModal ul li button {
  margin-bottom: 10px;
  padding: 10px 10px 10px;
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 0px;
  background-color: #A138CF;
  font-size: 15px;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
body .skillModal ul li:last-of-type {
  margin-bottom: 36px;
}
body .skillModal .skillModalClose {
  display: block;
  width: max-content;
  position: absolute;
  bottom: 30px;
  right: 30px;
}

@media screen and (max-width: 768px) {
  body main {
    margin: 0;
    border-radius: 0;
    height: 100dvh;
  }
  body main .enemy {
    font-size: 16px;
  }
  body main .enemy .location {
    top: 48px;
  }
  body main .enemy h2 {
    font-size: 18px;
    margin-bottom: 36px;
  }
  body main .enemy .asleep {
    font-size: 12px;
    width: 50px;
    height: 20px;
    top: 48px;
    right: 71px;
    border: 1px solid #6F6FF7;
  }
  body main .enemy .poisoned {
    font-size: 12px;
    width: 50px;
    height: 20px;
    top: 48px;
    border: 1px solid #3DBF21;
  }
  body main .player {
    font-size: 16px;
  }
  body main .player h2 {
    font-size: 18px;
  }
  body main .player .sleepSkill {
    font-size: 12px;
    width: 50px;
    height: 20px;
    top: 20px;
    right: 71px;
    border: 1px solid #6F6FF7;
  }
  body main .player .poisonSkill {
    font-size: 12px;
    width: 50px;
    height: 20px;
    top: 20px;
    border: 1px solid #3DBF21;
  }
  body main .player .playerStatus .exp div {
    scale: 0.85 1;
    transform-origin: top left;
  }
  body main .player .playerStatus .money div {
    scale: 0.85 1;
    transform-origin: top left;
  }
  body main .player .playerStatus .killedNumbers div {
    scale: 0.85 1;
    transform-origin: top left;
  }
  body main .player .playerStatus .killedNumbers div:first-of-type::after {
    scale: 0.85 1;
    transform-origin: top left;
    margin: 0 1px 0 3px;
  }
  body main .player .buttons .item {
    margin-inline: 6px;
    min-width: 70px;
    font-size: 16px;
  }
  body main .player .buttons .attack {
    margin-inline: 6px;
    min-width: 70px;
    font-size: 16px;
  }
  body main .player .buttons .fire {
    margin-inline: 6px;
    min-width: 70px;
    font-size: 16px;
  }
  body main .player .buttons .skill {
    margin-inline: 6px;
    min-width: 70px;
    font-size: 16px;
  }
  body .modal {
    min-width: 0;
    width: 375px;
  }
  body .modal .modalTitle {
    font-size: 30px;
  }
  body .modal .modalButtons .shop {
    width: 150px;
    margin-top: 25px;
  }
  body .modal .modalButtons .modalNextButton {
    width: 150px;
    margin-top: 25px;
  }
  body .shopModal {
    width: 375px;
  }
  body .shopModal .itemsInShop li {
    align-items: flex-start;
    gap: 10px;
    grid-template-columns: 1.2fr 0.75fr 1fr 1fr;
  }
  body .shopModal .itemsInShop li .itemName {
    font-size: 14px;
    text-align: left;
  }
  body .shopModal .itemsInShop li .quantity {
    flex-direction: column;
    align-items: center;
  }
  body .shopModal .itemsInShop li .buyButton {
    width: 85px;
  }
  body .shopModal .itemsInShop li .sellButton {
    width: 85px;
  }
  body .itemModal {
    width: 375px;
    width: auto;
  }
  body .itemModal .itemButtons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}/*# sourceMappingURL=style.css.map */