@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:wght@100;200;300;400;500;600&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Martian+Mono:wght@600&display=swap");



/* main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
} */

.chart {
    max-width: 500px;
    padding: 3rem;
    border-radius: 35px;
    background-color: var(--clr-light);
    box-shadow: 10px 10px 0 rgb(245, 250, 255, 0.35);
}

.chart__title {
    color: var(--clr-primary);
    line-height: 1.5;
    font-size: 1.5rem;
    font-weight: 500;
}

.chart__desc {
    color: var(--clr-primary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.flex__group {
    display: flex;
    gap: 2rem;
}

#circle {
    display: block;
    height: 150px !important;
    width: 100%;
    max-width: 150px;
}

/* li {
    list-style: none;
    line-height: 2;
} */
/* 
.row {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
} */

.ai-cen {
    align-items: center;
}

progress {
    width: 6rem;
    height: 0.5rem;
    background-color: var(--clr-primary);
}

#pr-1 {
    margin-right: 0.5px;
}

#pr-2 {
    width: 4.5rem;
    height: 0.5rem;
    background-color: var(--clr-primary);
}

#pr-3 {
    width: 3.5rem;
    height: 0.5rem;
    margin-right: 13.5px;
    background-color: var(--clr-primary);
}

#pr-4 {
    width: 2.5rem;
    height: 0.5rem;
    margin-right: 13.8px;
    background-color: var(--clr-primary);
}

.btn {
    color: var(--clr-primary);
    display: inline-block;
    width: 100%;
    text-align: right;
    text-decoration: underline;
}

.btn:hover {
    text-decoration: none;
}

@media (max-width: 475px) {
    .chart {
        max-width: 350px;
        padding: 2.5rem 2rem;
    }

    .flex__group {
        gap: 1rem;
    }

    #circle {
        height: 90px !important;
        max-width: 90px;
    }

    /* .row {
        gap: 0.55rem;
    } */
}







.wrap {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 30px;
}

.chart2 {
position: relative;
background: var(--black);
width: 798px;
height: 706px;
padding: 24px;
border-radius: 12px;
}

.chart-head {
margin-bottom: 20px;
}

.chart-head-title {
margin: 0;
color: var(--white);
font-family: Inter;
font-size: 24px;
font-style: normal;
font-weight: 700;
letter-spacing: -0.2px;
}

.chart-head-icon {
position: absolute;
top: 20px;
right: 20px;
}

.chart-intervals {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}

.interval {
}

.interval-title {
margin: 0;
color: var(--light-telegray);

font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 28px;
}

.interval-money {
position: relative;
display: flex;
align-items: flex-start;
margin-bottom: 8px;
}

.interval-amount {
margin: 0;
margin-right: 8px;
color: var(--white);
font-family: Martian Mono;
font-size: 28px;
font-weight: 600;
line-height: 34px;
}

.interval-percent {
margin: 0;
padding: 0;
color: var(--spring-green);

font-family: Inter;
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 24px;
}

.interval-description {
margin: 0;
color: var(--marengo);

font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 16px;
}

.chart-display {
margin-bottom: 40px;
}

.chart-line {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--space);
}

.chart-line:last-child {
border-bottom: none;
}

.chart-line-title {
width: 40px;
color: var(--white);

font-family: Fragment Mono;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.chart-line-item {
display: flex;
flex: 1;
margin-left: 2px;
height: 7px;
border-radius: 100px;
background: var(--platinum-gray);
}

.chart-line-item.active {
background: var(--screaming-green);
box-shadow: 0px 0.09259px 3.14815px 0px rgba(99, 255, 59, 0.1),
0px 0.40741px 6.51852px 0px rgba(99, 255, 59, 0.16),
0px 1px 13px 0px rgba(99, 255, 59, 0.2),
0px 1.92593px 25.48148px 0px rgba(99, 255, 59, 0.25),
0px 3.24074px 46.85185px 0px rgba(99, 255, 59, 0.31),
0px 5px 80px 0px rgba(99, 255, 59, 0.41);
}

.chart-cities {
}

.city {
display: flex;
align-items: center;
width: 100%;
border-bottom: 1px solid var(--space);
}

.city:last-child {
border-bottom: none;
}

.city-name {
width: 280px;
color: var(--light-gray);
font-family: Inter;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: -1px;
padding: 9px 0;
}

.city-amount {
display: flex;
justify-content: center;
flex: 1;

color: var(--light-telegray);

font-family: Fragment Mono;
font-size: 20px;

letter-spacing: -1px;
}

.city-amount:last-child {
justify-content: flex-end;
}




.card {
    margin: 0 auto  ;
     font-family: sans-serif;
 }
 .card_body {
    border-radius: 1rem 1rem 0 0;
     padding:0 2rem;
     border-radius: 1rem;
 }
 .card_body h3{
     padding: 1rem 0;
 }
 .bar_canvas{
     display: flex;
     flex-direction: row;
     align-items: flex-end ;
     justify-content: space-around;
     gap: .8rem;
     height: 10rem;
     padding: 0 0 2rem 0;
 }
 
 
 
 .bar_canvas > aside:hover {
     background-color: #b4dfe5;
 }
 .bar_canvas > aside {
     background-color: #ec755d;
     height:var(--i);
     margin: 0;
     padding: 0;
     flex: 1;
     border-radius: .2rem;
     position: relative;
     animation: rise .5s .1s ease-out forwards;
 
 }
 
 .bar_canvas > aside:hover::after {
     content: var(--price);
     color: #b4dfe5;
     padding: .4rem;
     text-align: center;
     width:100%;
     background: black;
     position: absolute;
     top: 0;
     left: 50%;
     font-size: .8rem;
     transform: translate(-50%,-2rem);
 }
 .bar_canvas > aside p {
     position: absolute;
     bottom: 0;
     left: 50%;
     margin: 0;
     padding: 0;
     transform: translate(-50%,1.2rem);
 }
 
 .card_footer{
     display: flex;
     justify-content: space-between;
     align-items: flex-end;
     padding: 2rem 0;
     border-top: .1rem solid #ec755d;
 
 }
 
 .card_footer_total > p {
     font-size: .8rem;
     text-align: center;
     margin:0;
     opacity: .5;
 } 
 .card_footer_total > h1 {
     font-size: 1.8rem;
     margin:0;
     opacity: 0;
     animation: text_fade 1s .3s ease-out forwards ;
 } 
 
 .card_footer_lastmonth > h4 {
     margin:0;
     text-align: right;
     
 }
 .card_footer_lastmonth p {
     font-size: .8rem;
     opacity: .5;
 }
 .card_header{
     display: flex;
     justify-content: space-between;
     background-color: #ec755d;
     align-items: center;
     padding: 1rem 2rem;
     border-radius: 1rem;
 }
 .card_header_balance :where(p,h3) {
     color: #fffcf7;
     margin: 0;
     text-align: left;
 }
 .card_header_balance p {
     font-size: .8rem;
 }
 .card_header_balance h3 {
     font-size: 1.2rem;
 }
 
 @keyframes rise {
     from {
         height: 0;
         background-color: #000000; 
     
     }
     to {
         height:var(--i); 
         background-color: #ec755d; 
     
     }
 }
 
 @keyframes text_fade {
     from {
         opacity: 0;
     }
 
     to {
         opacity: 100%;
     }
 
 }
 .author_info{
     margin: 1rem 0;
     width: 100%;
     background: rgba(0, 0, 0, 0.7);
     border-radius: 5px;
     padding: .2rem;
     display: flex;
     color: #fff;
 
 }
 
 .author_info p,
 .author_info ul {
      margin: 0 auto;
      font-size: .7rem;
 }
 .author_info ul {
     list-style:'➤ ';
     display: flex;
     justify-content: flex-end;
     align-items: center;
     gap: 2rem;
 }
 
 .author_info ul li a {
     text-decoration: none;
     color: #fff;
 }
 .author_info ul li a:hover {
     appearance: none;
     text-decoration: underline;
     text-shadow: 0px 0px 5px #fff;
 }
 .author_info ul li:hover {
     transform: scale(1.1);
 }