.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.bg-black {
    background-color: var(--color-black);
}

.bg-white {
    background-color: var(--color-white);
}

.text-black {
    color: var(--color-black);
}

.text-white {
    color: var(--color-white);
}

.legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 20px;
    margin: 20px 0;
}

.legend span {
    text-align: center;
    display: flex;
    align-items: center;
    font-family: 'Monument Extended Regular', sans-serif;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-black { background-color: var(--color-black); }
.dot-white { background-color: var(--color-white); }
.dot-orange { background-color: #ff6320; }
.dot-blue { background-color: #0e58a7; }

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    height: auto;
    transition: all 0.4s ease;
}

.chart-container {
    width: 60vw;
    max-width: 100%;
    display: flex;
    justify-content: flex-end;
    transition: all 0.4s ease;
}

.desc {
    font-size: 12px;
    color: #bbb;
    margin-top: -8px;
    margin-bottom: 14px;
}

canvas {
    width: 100%;
    height: auto;
    max-height: 75vh;
}

/* Responsive layout for < 1200px */
@media (max-width: 1200px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .chart-container {
        width: 100%;
        justify-content: center !important;
    }

    .desc {
        font-size: 11px;
        margin-top: 2px;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 750px) {
    .legend span {
        font-size: 12px;
    }
}

@media screen and (max-width: 450px) {
    .legend span {
        font-size: 8px;
    }
}