.head{
    padding: 0 0;
}



.insights-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;

}

.insights-element {
    min-width: 100%;
    background-color: var(--color-surface);
    height: 100%;
    border-radius: 20px;
    /*border: 1px solid var(--color-border);*/

}


/* Default chart container heights */
#portfolioChart,
#profitChart,
#mktcapChart {
    max-height: 400px;
}

/* Make charts taller on smaller devices */
@media (max-width: 900px) {
    #portfolioChart,
    #profitChart,
    #mktcapChart {
        max-height: 500px; /* Adjust this value as needed */
    }
}


.chart-title {
    /*text-align: center;*/
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color);
    padding: 30px 30px 0;

}

.chart-filters {
    /*text-align: center;*/
    font-size: 14px;
    color: var(--color-muted);
    padding: 0 30px;
    font-style: italic;
}

canvas {
    background-color: transparent;
    border-radius: 5px;
    padding: 20px;
}


@media (max-width: 900px) {
    .chart-title {
        font-size: 16px;
        padding: 20px 20px 0;

    }
    .chart-filters {
        padding: 0 20px;
    }
    canvas {
        padding: 10px;
    }
}





