  .flex-grid-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0 auto;
        max-width: 1200px; /* Adjust max-width as needed */
    }

    .flex-grid-item {
        flex: 0 1 310px; /* Adjust flex properties as needed */
        
        margin: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        line-height: 20px;
	
	}

	.flex-grid-item h3{
		margin-top: 20px;
	}
    
.card-container {
    perspective: 1000px;
}

.card {
    width: 310px;
    height: 551px;
    transform-style: preserve-3d;
    transition: transform 0.5s; 
}

.card:hover {
    transform: rotateY(180deg);
}

.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.back {
    transform: rotateY(180deg);
}

.inner-text {
	height:100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Horizontally center the child */
    align-items: center;
}
