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

body {
  font-size: 18px;
  font-family: "DM Sans", sans-serif;
  background-color: #f7e9dc;
  height: 100vh;
  display: flex;
  place-items: center;
}

.container {
  width: 310px;
  margin: 60px auto;
}
@media (min-width: 600px) {
  .container {
    width: 540px;
  }
}

.balance {
  background-color: hsl(10deg, 79%, 65%);
  height: 100px;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  color: hsl(33deg, 100%, 98%);
  margin-bottom: 0.8em;
}
.balance__title {
  font-size: 0.8em;
  margin-bottom: 6px;
}
.balance__price {
  font-weight: 700;
  font-size: 1.4em;
}
.balance__logo {
  width: 60px;
}
@media (min-width: 600px) {
  .balance {
    height: 126px;
  }
  .balance__title {
    font-size: 1em;
    margin-bottom: 12px;
  }
  .balance__price {
    font-size: 1.8em;
  }
  .balance__logo {
    width: 75px;
  }
}

.chart {
  background-color: hsl(33deg, 100%, 98%);
  border-radius: 16px;
  color: hsl(28deg, 10%, 53%);
  height: 424px;
  padding: 24px 20px;
}
.chart__title {
  color: hsl(25deg, 47%, 15%);
  font-size: 1.25em;
  margin-bottom: 10px;
}
.chart__bars-container {
  height: 220px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  margin-bottom: 30px;
}
.chart__bar {
  background-color: hsl(10deg, 79%, 65%);
  width: 32px;
  height: 150px;
  border-radius: 4px;
  position: relative;
}
.chart__bar--label {
  color: hsl(33deg, 100%, 98%);
  background-color: hsl(25deg, 47%, 15%);
  padding: 4px;
  width: 38px;
  font-size: 0.5em;
  border-radius: 4px;
  font-weight: 700;
  position: absolute;
  top: -24px;
  left: -4px;
  display: none;
  text-align: center;
}
.chart__bar--day {
  position: absolute;
  bottom: -20px;
  font-size: 0.6em;
  width: 32px;
  text-align: center;
}
.chart__bar:hover {
  cursor: pointer;
  filter: brightness(1.2);
}
.chart__analitics {
  display: flex;
  justify-content: space-between;
  padding: 24px;
  font-size: 0.7em;
  border-top: 2px solid hsl(27deg, 66%, 92%);
}
.chart__total {
  margin-bottom: 8px;
}
.chart__total-value {
  color: hsl(25deg, 47%, 15%);
  font-weight: 700;
  font-size: 1.4em;
}
.chart__percentage {
  color: hsl(25deg, 47%, 15%);
  font-weight: 700;
  text-align: right;
  margin-top: 18px;
}
@media (min-width: 600px) {
  .chart {
    height: 512px;
    padding: 44px;
  }
  .chart__title {
    font-size: 2em;
  }
  .chart__bars-container {
    margin-bottom: 50px;
  }
  .chart__bar {
    width: 50px;
  }
  .chart__bar--label {
    width: 54px;
    font-size: 0.7em;
    top: -32px;
    left: 2px;
  }
  .chart__bar--day {
    width: 54px;
    bottom: -24px;
    font-size: 0.8em;
  }
  .chart__analitics {
    font-size: 1em;
    padding-top: 32px;
  }
  .chart__total-value {
    font-size: 2.4em;
  }
  .chart__percentage {
    margin-top: 30px;
  }
}

/*# sourceMappingURL=style.css.map */
