<style>
    .stat-block-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust the min-width as needed */
        gap: 20px;
        max-width: 100%; /* Prevents overflow */
        margin-top: 20px; /* Adds space between the header and the blocks */
    }
    .stat-block {
        background: #f7f7f7; /* Light background for visibility */
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        text-align: center;
    }
	
	
	.stats-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
        .stats-block {
            flex: 1 1 calc(33.33% - 20px); /* 3 blocs par ligne */
            max-width: calc(33.33% - 20px); /* Limite à trois blocs par ligne */
            background-color: #f9f9f9;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .stats-block h3 {
            font-size: 1.2em;
            margin-bottom: 10px;
            color: #0073aa;
        }
        .stats-block p {
            font-size: 1em;
            color: #333;
        }
        @media (max-width: 768px) {
            .stats-block {
                flex: 1 1 calc(50% - 20px); /* 2 blocs par ligne sur écran moyen */
                max-width: calc(50% - 20px);
            }
        }
        @media (max-width: 480px) {
            .stats-block {
                flex: 1 1 100%; /* 1 bloc par ligne sur petit écran */
                max-width: 100%;
            }
        }
	
</style>