
.post-wrap {
    min-width: 160px;
    max-width: 160px;
    height: 160px;
    perspective: 1000px;
    flex: 1;
    margin: 30px 10px 0px 0px;
}
.post {
    position: relative; /* Required to absolutely position the faces */
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
}
.post-front, .post-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.post-back {
    transform: rotateY(180deg);
}
.post-wrap:hover .post {
    transform: rotateY(180deg);
}
.post-img {
	
    background-size: cover;
    background-position: center;
    height: 160px;
    border-radius: 10px;
}
.post-info {
    padding: 20px 30px 30px;
}
.post-back {
	box-sizing: border-box;
    background-color: #ffffff;
    padding: 3px;
    display: block;
    flex-direction: column;
    #justify-content: space-between; /* To push the read more button to bottom */
    align-items: flex-start; /* To position the read more button at the left */
}
.post-back .title {
	color: #5A89F8;
    font-weight: bold;
    font-size: 15px;
	margin-bottom: 5px;
	margin-top: 10px;
	text-align: center;
}
.post-back .desc {
	font-size: 16px;
    margin-top: 10px;
	margin-bottom: 0px;
	text-align: center;
	padding-bottom:10px;
}

.card-container {
	box-sizing: border-box;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Required to position the posts one below the other on smaller devices */
}