#history {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: layiji_tarminetine1;
}

#history p,
#history h1,
#history h2,
#history h3 {
  padding: 0;
  margin: 0;
}

#history .heading-h1 {
  font-size: 1em;
  color: #eef5ff;
  font-weight: 500;
  margin: 0;
}

#history .heading-h2 {
  font-size: 0.8em;
  color: #ff7f3e;
  font-weight: 600;
  margin: 0 10px;
}

#history .heading-h3 {
  font-size: 0.7em;
  color: #eef5ff;
  font-weight: 500;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#history .item-heading {
  font-size: 0.6em;
  color: #eef5ff;
}

#history .subtitle {
  font-size: 0.7em;
  color: #eef5ff;
}

#history .box {
  position: relative;
  height: 100%;
  border-radius: 0.5em;
  display: flex;
  flex-direction: column;
}

#history .box .header-page {
  height: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#history .box .content {
  top: 5%;
  height: 95%;
  padding: 0;
}

#history .content .content-header {
  height: 5%;
  border-bottom: 2px solid #ccc;
  display: flex;
  justify-content: center;
}

#history .content .content-list {
  height: 90%;
  border-radius: 0.2em;
  overflow-x: hidden;
  overflow-y: scroll;
  transition: --scroll-bar-color 0.4s ease-out;
}

#history .content .content-footer {
  height: 5%;
  border-top: 2px solid #ccc;
  /* background-color: #1F2544; */
}

#history .content .content-list::-webkit-scrollbar {
  width: 0.3em;
}

#history .content .content-list::-webkit-scrollbar-track {
  background-color: transparent;
}

#history .content .content-list::-webkit-scrollbar-thumb {
  border-radius: 0.3em;
  background-color: var(--scroll-bar-color);
}

#history .content .content-list:hover {
  --scroll-bar-color: #182a57;
}

#history .content .content-list {
  transition: --scroll-bar-color 0.4s ease-out;
}

#history .loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#history .content-list_item {
  width: 100%;
  height: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all ease 0.2;
  border-radius: 2px;
}

#history .content-list_item:nth-child(odd) {
  background-color: rgba(73, 105, 137, 0.1);
}

#history .content-list_item:nth-child(even) {
  background-color: rgba(7, 25, 82, 0.1);
}
#history .content-list_item:hover {
  background-color: rgba(7, 25, 82, 0.3);
  opacity: 0.5;
  cursor: pointer;
}

#history .item-monster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#history .img-icon {
  width: 100%;
  height: 100%;
}

#history .monster-icon {
  width: 1.5em;
  height: 1.5em;
}

#history .item-monster span {
  font-size: 0.8em;
  color: #eef5ff;
}

#history .colunm-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
#history .colunm-item.total {
  display: flex;
  justify-content: start;
}
#history .row-item {
  width: 100%;
  height: 100%;
}

#history .header-page .close-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  margin-top: -1.5em;
  background-color: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all ease 0.3s;
}

#history .close-button svg {
  fill: none;
  stroke: white;
}
#history .close-icon {
  transform: scale(1);
}
#history .calendar-icon {
  transform: scale(1);
}

#history .calendar-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 1.2em;
  border-radius: 0.5em;
}

#history.calendar-icon {
  fill: none;
  stroke: white;
}

#history.calendar-icon:hover {
  cursor: pointer;
}

/* responsive x small mobile */
@media only screen and (max-height: 324px) {
  #history .content-list_item {
    height: 2em !important;
  }

  #history .close-icon {
    transform: scale(1) !important;
  }

  /* heading text */
  #history .heading-h2 {
    font-size: 0.8em !important;
  }

  #history .subtitle {
    font-size: 0.8em !important;
  }

  #history .heading-h3 {
    font-size: 0.8em !important;
  }

  #history .item-heading {
    font-size: 0.7em !important;
  }
}

/* responsive small mobile */
@media only screen and (min-height: 325px) and (max-height: 432px) {
  #history .content-list_item {
    height: 2em !important;
  }

  #history .close-icon {
    transform: scale(1.4) !important;
  }

  /* heading text */
  #history .heading-h2 {
    font-size: 0.8em !important;
  }

  #history .subtitle {
    font-size: 0.8em !important;
  }

  #history .heading-h3 {
    font-size: 0.8em !important;
  }

  #history .item-heading {
    font-size: 0.7em !important;
  }
}

/* responsive medium mobile */
@media only screen and (min-height: 433px) and (max-height: 558px) {
  #history .content-list_item {
    height: 2.6em !important;
  }

  #history .close-icon {
    transform: scale(1.6) !important;
  }

  /* heading text */
  #history .heading-h2 {
    font-size: 0.9em !important;
  }

  #history .subtitle {
    font-size: 0.9em !important;
  }

  #history .heading-h3 {
    font-size: 0.9em !important;
  }

  #history .item-heading {
    font-size: 0.7em !important;
  }
}

/* responsive large mobile */
@media only screen and (min-height: 559px) and (max-height: 675px) {
  #history .content-list_item {
    height: 2.8em !important;
  }

  #history .close-icon {
    transform: scale(1.8) !important;
  }

  /* heading text */
  #history .heading-h2 {
    font-size: 0.9em !important;
  }

  #history .subtitle {
    font-size: 0.9em !important;
  }

  #history .heading-h3 {
    font-size: 0.9em !important;
  }

  #history .item-heading {
    font-size: 0.7em !important;
  }
}

/* responsive large mobile */
@media only screen and (min-height: 676px) {
  #history .content-list_item {
    height: 3em !important;
  }

  #history .close-icon {
    transform: scale(2) !important;
  }

  /* heading text */
  #history .subtitle {
    font-size: 1em !important;
  }

  #history .heading-h3 {
    font-size: 1em !important;
  }

  #history .heading-h2 {
    font-size: 1em !important;
  }

  #history .item-heading {
    font-size: 0.8em !important;
  }
}
