.charts {
    display: flex;
    flex-direction: column;
}

.chart {
    width: 100%;
}

.chart_content {
    background-color: #F3EED9;
}

.title_slide {
    font-size: clamp(20px, 2vw, 32px);
    font-weight: 500;
    line-height: 48px;
    color: #04005F;
}

canvas {
    max-width: 535px;
    max-height: 476px;
    min-height: 450px;

}

.containerChart {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.containerChart .legendChart {
    display: flex;
    flex-direction: column;
}

.chart:last-child {
    .title_slide {
        text-align: end;
        padding-inline: 80px;
    }

    .containerChart {
        flex-direction: row-reverse;

        @media (max-width:1024px) {
            & {
                flex-direction: column;
            }

        }
    }
}

.chart {
    margin-bottom: 40px;
    .containerChart {
        @media (max-width:1024px) {
            canvas{
                max-width: 70%;
            }
            & {
                flex-direction: column;
                align-items: center;
                gap: 40px;
            }

        }
    }
}

.containerChart .legendChart .legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 500;
    line-height: 30px;
    color: var(--main-blue);
    border-top: 1px solid #4C4C4C2B;
    padding-block: 14px;
    gap: 26px;
}

.containerChart .legendChart .legend:last-child {
    border-bottom: 1px solid #4C4C4C2B;
}

.containerChart .legendChart .legend .nameLengend {
    min-width: 377px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.containerChart .legendChart .legend .nameLengend span {
    width: 18px;
    height: 18px;
}