@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "DM Sans", sans-serif;
}

.hidden {
  opacity: 0 !important;
}

.show {
  opacity: 1 !important;
}

body {
  height: 100dvh;
  background-color: hsl(27, 66%, 92%);
}

main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  height: 100dvh;
}

.top__card {
  background-color: hsl(10, 79%, 65%);
  width: 520px;
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
}
.top__card .balance {
  font-size: 0.9rem;
  font-weight: 400;
  color: hsl(27, 66%, 92%);
  margin-bottom: 0.5rem;
}
.top__card .value {
  font-size: 1.7rem;
  font-weight: 700;
  color: hsl(33, 100%, 98%);
}
.top__card .logo {
  margin-left: auto;
}

.main__card {
  background-color: hsl(33, 100%, 98%);
  width: 520px;
  padding: 1.5rem;
  border-radius: 1rem;
}
.main__card .spend {
  font-size: 1.8rem;
  color: hsl(25, 47%, 15%);
}
.main__card .main__card-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid hsl(27, 66%, 92%);
  padding-top: 1rem;
}
.main__card .main__card-bottom .total {
  font-size: 0.9rem;
  color: hsl(28, 10%, 53%);
}
.main__card .main__card-bottom .total-value {
  font-size: 2.3rem;
  font-weight: 700;
  color: hsl(25, 47%, 15%);
}
.main__card .main__card-bottom .last__month {
  text-align: right;
  margin-top: auto;
}
.main__card .main__card-bottom .last__month .last-percent {
  color: hsl(25, 47%, 15%);
  font-weight: 700;
}
.main__card .main__card-bottom .last__month .last {
  color: hsl(28, 10%, 53%);
  font-size: 0.9rem;
}
.main__card .charts {
  display: flex;
  height: 14.35rem;
  margin: 1rem 0;
}
.main__card .charts .chart {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  height: 100%;
  width: 67px;
}
.main__card .charts .chart .amount {
  background-color: hsl(25, 47%, 15%);
  color: hsl(27, 66%, 92%);
  padding: 0.2rem;
  border-radius: 0.2rem;
}
.main__card .charts .chart .bar {
  width: 70%;
  margin: 0.5rem auto 0.2rem;
  height: 10rem;
  border-radius: 0.3rem;
  background-color: hsl(10, 79%, 65%);
  cursor: pointer;
}
.main__card .charts .chart .bar:hover {
  opacity: 0.85;
}
.main__card .charts .chart .cyan {
  background-color: hsl(186, 34%, 60%);
}
.main__card .charts .chart .day {
  color: hsl(28, 10%, 53%);
}

@media screen and (max-width: 550px) {
  main {
    overflow-x: hidden;
    margin: 0 1rem;
  }
  .top__card {
    width: 100%;
  }
  .main__card {
    width: 100%;
  }
  .main__card .spend {
    font-size: 1.5rem;
  }
  .main__card .main__card-bottom .total {
    font-size: 0.8rem;
  }
  .main__card .main__card-bottom .total-value {
    font-size: 1.5rem;
  }
  .main__card .main__card-bottom .last__month .last {
    font-size: 0.7rem;
  }
  .main__card .charts .chart {
    width: 15%;
  }
  .main__card .charts .chart .amount {
    background-color: hsl(25, 47%, 15%);
    color: hsl(27, 66%, 92%);
    padding: 0.2rem;
    border-radius: 0.2rem;
  }
}/*# sourceMappingURL=style.css.map */