.data-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.data-square {
    flex: 0 0 calc(33.33% - 20px);
    background-color: #ffffff; /* Modern green color */
    border-radius: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    color: #000; /* Changed text color to black for better visibility */
    font-size: 18px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column; /* Changed flex-direction to column */
    align-items: center;
    width: 200px; /* You can adjust the width based on your design */
    height: 200px; /* Set the height to half of the width for a 2:1 ratio */
}

.content {
    /* ... (your existing styles for .content) */
    display: flex;
    flex-direction: row;
    align-items: center; /* Center content vertically */
}

.p-container {
    margin-right: 20px; /* Adjust margin as needed */
    display: flex;
    flex-direction: column;
}

p {
    margin: 5px;
}

.canvas-area {
    width: 100px; /* Set the width for your canvas area */
    height: 100px; /* Set the height for your canvas area */
}

.data-square:hover {
    transform: scale(1.05);
}

/* Style for the chart container */
.chart-container {
    max-width: 100%;
    max-height: 100px; /* Adjust the maximum height as needed */
}

@media (max-width: 768px) {
    .data-square {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .data-square {
        flex: 0 0 calc(100% - 20px);
    }
}