.chart {
    position: relative;
    overflow: hidden;
    color: var(--white, #fff);
    padding: 109px 0 129px;
}
@media (max-width: 991px) {
    .chart {
        padding: 40px 0 53px;
    }
}
.chart .chart__title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 20px;
}

.chart-and-legends {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
@media (max-width: 991px) {
    .chart-and-legends {
        flex-wrap: wrap;
        gap: 10px;
    }
}

.chart-wrap {
    position: relative;
    max-width: 565px;
    width: 100%;
}
@media (max-width: 991px) {
    .chart-wrap {
        max-width: 550px;
        margin: 0 auto 10px;
    }
}
.chart-wrap:before {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.chart-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.legend-container {
    max-width: 285px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
    padding-top: 20px;
}
@media (max-width: 1199px) {
    .legend-container {
        max-width: 220px;
        padding: 0;
    }
}
@media (max-width: 991px) {
    .legend-container {
        max-width: unset;
        width: 45%;
        order: 2;
        gap: 10px;
    }
}
@media (max-width: 575px) {
    .legend-container {
        width: 100%;
    }

    .legend-container:last-child {
        order: 1;
    }
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--white, #fff);
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
    padding: 2px;
}
@media (min-width: 768px) and (max-width: 991px) {
    .legend-item {
        height: 35px;
    }
}

.legend-item:hover {
    opacity: 0.7;
}

.legend-color-box {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border: solid 1px var(--white, #fff);
    border-radius: 2px;
    flex-shrink: 0;
    align-self: flex-start;
}

.legend-text {
    flex-grow: 1;
    margin-right: 10px;
}
@media (max-width: 575px) {
    .legend-text {
        max-width: 50%;
        line-height: 1.35;
    }
}

.legend-percentage {
    font-weight: 800;
    white-space: nowrap;
    margin-left: auto;
}
@media (max-width: 575px) {
    .legend-percentage {
        align-self: flex-start;
    }
}

/*# sourceMappingURL=chart.css.map */
