@charset "utf-8";

#bo_list_wrap{
    min-height: 100vh;
    padding: 10em 0;
}
#bo_w{
    min-height: 70vh;
}
#bo_category{

    display: flex;
    align-items: center;
    justify-content: center;
}
.category-item a{
    display: inline-block;
    width: 100%;
    height: inherit;
    position: relative;
}
.category-item a.active:after{
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--bs-primary);
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
}
@media (max-width: 767px) {
    .chart-list{
        width: 100%;
        overflow-x: scroll;

    }
    .list-overflow{
       min-width: 100vw;
    }
}
.graph-wrap{
    width:100%;


}
.graph-wrap .item{
    border-radius:20px;
    background-color: #eaeaea;
    overflow: hidden;
    width: 50%;
    height:477px;
}

.graph-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 80%;
    width: 70%;
    padding: 20px;
    gap: 10px;
    margin: 0 auto;
}

.bar {
    width: 100px;
    background-color: var(--bs-primary);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: height 1s ease-in-out; /* 애니메이션 효과 */
    height: 0%;  /* 초기 높이를 0%로 설정 */
    text-align: center;
    color: white;
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: flex-end;*/
    position: relative;
}

/* For showing the value inside the bar */
.bar::after {
    content: attr(data-value);
    position: absolute;
    bottom: 16px;
    font-size: 14px;
    left: 50%;
    transform: translateX(-50%);
}
.bar::before {
    content: '';
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: #000 !important;
}
.bar:nth-child(1)::before{
    content: '2022';
}
.bar:nth-child(2)::before{
    content: '2023';
}
.bar:nth-child(3)::before{
    content: '2024';
}
.bar:nth-child(1)::after{
    content: '15,430';
}
.bar:nth-child(2)::after{
    content: '18,738';
}
.bar:nth-child(3)::after{
    content: '21,928';
}
.graph2 .bar::after {

    bottom: 6px;

}
.graph2 .bar:nth-child(1)::after{
    content: '-268';
}
.graph2 .bar:nth-child(2)::after{
    content: '306';
}
.graph2 .bar:nth-child(3)::after{
    content: '1,213';
}
@media (max-width: 767px) {
    .graph-wrap .item{
        width: 100%;
        height:350px;
    }
    .graph-container {

        height: 80%;
        width: 90%;

    }
    .bar {
        width: 150px;

    }
    .graph2 .bar::after {

        bottom: 2px;

    }
}
/* 애니메이션 효과 */
@keyframes barAnimation {
    0% {
        height: 0%;
    }
    100% {
        height: var(--bar-height);
    }
}