*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:"DM Sans";
}
:root{
/* Primary */
--Red-500: hsl(10, 79%, 65%);
--Blue-300: hsl(186, 34%, 65%);
/* Neutral */
--Brown-950: hsl(25, 47%, 15%);
--Brown-400: hsl(28, 10%, 53%);
--Red-100: hsl(26, 66%, 93%);
}
body{
    background: var(--Red-100);
    display: flex;
    margin: 0;
    height: 100vh;
    justify-content: center;
    align-items: center;
}
.container{
    width: 300px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}
.top-container{
    background: var(--Red-500);
    border-radius: 10px;
    margin-bottom: 20px;
}
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}
.myBalance{
    color: var(--Red-100);
    font-size: 1.2rem;
}
.logo img{
    height: 30px;
}
.buttom-container{
    background: white;
    border-radius: 10px;
}
.buttom-container h2{
    font-size: 1.6rem;
    margin: 10px;
}
.innerButtomContainer{
    padding: 20px;
}
.innerButtomContainer h2{
    font-size: 2rem;
    font-weight: bold;
}
.monthlyEarn{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.thisMonth h2{
    font-size: 2.6rem;
}
.chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.bar {
  width: 28px;
  background:var(--Red-500);
  border-radius: 5px;
  transition: 0.3s;
  position: relative;
}
.bar:hover {
  background:var(--Blue-300);
}
.amount-tooltip {
  position: absolute;
  bottom: 100%;
  background:var(--Brown-950);
  color:var(--Red-100);
  padding: 4px 6px;
  font-size: 9px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
.bar:hover .amount-tooltip {
  opacity: 1;
  transform: translateY(-10px);
}
.day-label {
  margin-top: 5px;
  font-size: 10px;
}
