@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.sistema {
  padding: 10px;
  font-family: "Montserrat", sans-serif;
  margin: 0 auto;
  max-width: 90%;
  width: 740px;
  padding: 40px;
  box-shadow: 0 0px 25px rgba(0, 0, 0, 0.25);
  border-radius: 15px;
  margin-top: 40px;
  overflow: hidden;
}
.sistema h3 {
  font-size: 25px;
}
.label-area,
.area-label {
  gap: 5px;
  display: flex;
  margin-bottom: 7px;
}
.alt {
  transform: translateY(10px);
}
.alt:hover {
  color: #d6d6dc;
  background-color: #1c202b;
}
.inputs {
  background-color: #d6d6dc;
  color: #1c202b;
  display: flex;
  gap: 5px;
  border-radius: 10px;
}
button,
.button {
  background-color: #1c202b;
  color: #d6d6dc;
  border: 1px solid #d6d6dc;
  display: block;
  cursor: pointer;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 15px;
  margin: 15px auto;
  font-weight: 500;
}
form .step {
  opacity: 0;
  transform: translateX(70%);
  transition:
    opacity 0.3s,
    transform 0.3s;
  height: 0px;
  overflow: hidden;
}
form .step.on {
  opacity: 1;
  transform: translateX(0%);
  height: auto;
}
input {
  border: 1px solid #b6b7be;
  border-radius: 10px;
}
select {
  padding: 5px 7px;
  cursor: pointer;
  border: 1px solid #c9cace;
  border-radius: 0px;
  margin-top: 10px;
}
form .atributo {
  width: 40px;
  height: 40px;
  font-size: 20px;
  text-align: center;
}
form .disabled {
  opacity: 0.6;
  text-decoration: line-through;
}
form .atributo-view,
form .atributo-final {
  width: 40px;
  height: 40px;
  font-size: 20px;
  background-color: #cacaca;
  color: #bb1234;
  text-align: center;
}
form .alt,
form .alt-final {
  color: #1c202b;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #1c202b;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.atributos-referencia {
  width: 100%;
  background-color: #f9efdc;
  color: #1c202b;
  padding: 4px 10px;
  margin: 15px 0;
  display: block;
}
.pontos-area {
  margin-top: 15px;
}
.label-atributo {
  display: flex;
  align: center;
  justify-content: center;
  width: 60px;
  padding-top: 10px;
}
.label-select {
  transform: translateY(15px);
}
.select-title {
  font-weight: 600;
}
.first-title {
  margin-bottom: 15px;
  display: inline-block;
}
.parag {
  color: #363d4b;
  margin: 15px 0;
}
.sistema img {
  width: 100%;
}
tbody {
  position: relative;
}
.dinheiro-footer {
  z-index: -1;
  transform: translateX(-200px);
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: auto;
  height: 60px;
  right: 15px;
  border: 1px solid #1c202b;
  background-color: #f9efdc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
  font-size: 40px;
  font-weight: 700;
  border-radius: 20px;
  transition: 0.5s all ease-out;
  opacity: 0;
}
.dinheiro-footer.active {
  z-index: 200;
  opacity: 1;
  transform: translateX(0);
}
.dinheiro-footer.no-money {
  border: 1px solid #d92a2a;
  background-color: #e198a1;
  color: #d92a2a;
}
.aviso {
  background-color: #edd8da;
  color: #b71f1f;
  margin-top: 15px;
  margin-bottom: 25px;
}
.loading {
  overflow: hidden;
  height: 0;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
}

.active-loading {
  height: auto !important;
}

.loading span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: pink;
  border-radius: 50%;
  margin: 0 3px;
  animation: bounce 1.4s infinite ease-in-out both;
}

.loading span:nth-child(2) {
  animation-delay: -0.32s;
}

.loading span:nth-child(3) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}
.history-content.desactive,
.desactive {
  z-index: -1;
  overflow: hidden;
  height: 0px;
  opacity: 0;
}
.table-container {
  width: 100%;
  overflow-x: auto;
}
form table {
  border-collapse: collapse;
  min-width: 350px;
  width: auto;
  overflow-x: scroll;
  margin-top: 15px;
}
form .add-item {
  background-color: #363d4b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  cursor: pointer;
  height: 20px;
  font-size: 17px;
  margin: 0 auto;
  transition: 0.4s all ease-in-out;
}
form .add-item:hover {
  transform: scale(112%);
}
form table tr:nth-child(even) {
  background-color: #cecedf;
}
form table tr:hover {
  background-color: #c4c4e4;
}
form table td {
  border: 1px solid #b6b7be;
  text-align: center;
  padding: 6px 4px;
}
form table th {
  padding-bottom: 10px;
}
form table td:nth-of-type(1) {
  width: 15px;
}
form textarea {
  width: 100%;
  border: none;
  height: 140px;
  background: #d6d6dc;
  padding: 15px;
}
form textarea:focus {
  outline: none;
}
#nome_personagem {
  padding: 10px;
  margin-bottom: 12px;
}
#nome_personagem,
#historia_personagem {
  width: 100%;
  border-radius: 5px;
  display: block;
  margin-top: 5px;
  font-size: 14px;
}
/* responsive settings */
@media (max-width: 767px) {
  .dinheiro-footer {
    height: 40px;
    font-size: 30px;
    border-radius: 10px;
  }
}
