@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap");
/**
*
* Testing
*
**/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  width: 10px;
  background-color: #382314;
  border-left: 0 solid #ffffff;
  border-right: 0 solid #ffffff;
  margin-block: 3px;
  border-radius: 50px;
}

::-webkit-scrollbar-thumb {
  background-color: #93867b;
  width: 15% !important;
  height: 15% !important;
  border-radius: 50px;
}

::-webkit-scrollbar:hover {
  cursor: pointer;
}

::-moz-selection {
  /* code for firefox */
  color: #ffffff;
  background-color: #93867b;
}

::selection {
  /* code for firefox */
  color: #ffffff;
  background-color: #93867b;
}

/* end variables */
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  /*small*/
  /* tablet */
  /* Medium */
  /* desktop  */
}
@media (min-width: 577px) {
  .container {
    width: 550px;
  }
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1300px) {
  .container {
    width: 1170px;
  }
}

/*! start variables*/
/*! end variables*/
/*! start Global Rules*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  line-height: 1.15;
}

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

:root {
  background-color: #f8e9dd;
}

/*! end Global Rules*/
/*! start code */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  position: relative;
}

/*! start loading */
.loading-page {
  margin: auto;
  position: fixed;
  top: auto;
  left: auto;
  transform: translate(-100%, -30%);
  z-index: -100;
}
.loading-page img {
  width: 300%;
  animation: loading 2s cubic-bezier(0, 0, 1, 1) 0s forwards;
}

/*! end loading */
/*! start app */
.app {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: auto;
  width: fit-content;
  max-width: 90%;
  z-index: 10;
}
.app .balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-radius: 20px;
  background-color: #ec775f;
  box-shadow: 0 8px 12px 0px #e6d3c4;
  opacity: 0;
  animation: on 1s cubic-bezier(0, 0, 1, 1) 2.1s forwards;
}
.app .balance .text {
  cursor: pointer;
  color: #ffffff;
}
.app .balance .text p:first-child {
  line-height: 1.3;
  font-size: 14px;
  font-weight: 400;
}
.app .balance .text p:last-child {
  font-size: 26px;
  font-weight: 700;
}
.app .balance img {
  width: fit-content;
  transition: 1s;
}
.app .balance img:hover {
  transform: rotate(360deg);
  transition: 1s;
  cursor: pointer;
}
.app .card-day {
  display: block;
  overflow: hidden;
  background-color: #fffaf5;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 8px 12px 1px #e6d3c4;
  opacity: 0;
  animation: on 1s cubic-bezier(0, 0, 1, 1) 2.1s forwards;
}
.app .card-day .Spend p {
  font-size: 28px;
  font-weight: 700;
}
@media (max-width: 423px) {
  .app .card-day .Spend p {
    font-size: 20px;
  }
}
@media (max-width: 326px) {
  .app .card-day .Spend p {
    font-size: 16px;
  }
}
.app .card-day .Spend .days-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 11px;
}
.app .card-day .Spend .days-list .column {
  margin: 40px auto 30px auto;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.app .card-day .Spend .days-list .column .height-bar {
  display: flex;
  flex-direction: column-reverse;
  width: 38px;
  max-width: 100%;
  border-radius: 8px;
}
.app .card-day .Spend .days-list .column .height-bar .bar {
  background-color: #ec775f;
  border-radius: 6px;
  position: relative;
}
.app .card-day .Spend .days-list .column .height-bar .bar:hover::before {
  content: attr(data-Stat); /*! the her is chenge value in JS */
  position: absolute;
  top: -20px;
  left: 20px;
  transform: translate(-50%, -50%);
  background-color: #382314;
  color: #ffffff;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.app .card-day .Spend .days-list .column .height-bar:hover {
  cursor: pointer;
  opacity: 0.8;
}
.app .card-day .Spend .days-list .column .day {
  color: #787887;
  font-size: 14px;
  font-weight: 400;
}
@media (max-width: 450px) {
  .app .card-day .Spend .days-list {
    gap: 1;
  }
  .app .card-day .Spend .days-list .column .height-bar {
    width: 30px;
  }
}
@media (max-width: 380px) {
  .app .card-day .Spend .days-list {
    gap: 1px;
  }
  .app .card-day .Spend .days-list .column .height-bar {
    width: auto;
    width: -webkit-fill-available;
  }
  .app .card-day .Spend .days-list .column .height-bar .bar:hover::before {
    font-size: 12px;
    padding: 6px 4px;
  }
}
.app .card-day .total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f8e9dd;
  padding-top: 30px;
}
.app .card-day .total .this {
  cursor: pointer;
}
.app .card-day .total .this P:first-child {
  line-height: 1.3;
  color: #787887;
  font-size: 14px;
  font-weight: 400;
}
.app .card-day .total .this P:last-child {
  font-size: 36px;
  font-weight: 700;
}
.app .card-day .total .last {
  cursor: pointer;
  text-align: end;
}
.app .card-day .total .last P:first-child {
  line-height: 1.3;
  font-size: 14px;
  font-weight: 700;
}
.app .card-day .total .last P:last-child {
  color: #787887;
  font-size: 14px;
  font-weight: 400;
}
@media (max-width: 380px) {
  .app .card-day .total {
    gap: 28px;
  }
  .app .card-day .total .this p:last-child {
    font-size: 30px;
  }
}

/*! end app */
/*! start Attribution */
.attribution {
  color: #382314;
  font-size: 14px;
  font-weight: 800;
  padding: 20px 0;
  text-align: center;
  width: -webkit-fill-available;
  opacity: 0;
  animation: on 0.8s cubic-bezier(0, 0, 1, 1) 2.1s forwards;
}
.attribution a {
  font-size: smaller;
  text-decoration: none;
  color: #ec775f;
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.attribution a:hover::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  content: "\f0a9";
  font-size: 14px;
  padding: 0 8px;
}

/*! end Attribution */
/*! start animation*/
@keyframes on {
  0% {
    transform: translateY(-160px);
    opacity: 0;
  }
  25% {
    transform: translateY(-120px);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-80px);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-40px);
    opacity: 0.8;
  }
  100% {
    transform: translate(0px);
    opacity: 1;
  }
}
@keyframes loading {
  0% {
    transform: rotate(0deg);
    opacity: 1;
  }
  20% {
    transform: rotate(270deg);
    opacity: 1;
  }
  40% {
    transform: rotate(540deg);
    opacity: 1;
  }
  60% {
    transform: rotate(720deg);
    opacity: 0.9;
  }
  80% {
    transform: rotate(900deg);
    opacity: 0.8;
  }
  100% {
    transform: rotate(1080deg);
    opacity: 0;
  }
}
/*! end animation*/
/*! end code *//*# sourceMappingURL=style.css.map */