.bloc-milieu{
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
	grid-column-end: 3;
	grid-template-columns: 5fr 1fr;

	font-family: 'Annie Use Your Telescope', cursive;
	font-family: 'Indie Flower', cursive;

    background:  linear-gradient(to right ,  rgb(199, 230, 235),rgb(76, 172, 236));

	border-radius: 5px;
	min-height: 400px;
	border: 1px solid #e4e1e1;
}

.full-post-div {
	min-height: 300px;
	padding: 20px;
}

.full-post-div img {
	width: clamp(22rem, 70vw, 45rem);
	box-sizing: border-box;
}


.full-post-div h2.post-title {
	margin: 10px auto 20px;
	word-wrap: break-word;
}

.post-body-div {
	font-family: 'Noto Serif', serif;
	font-size: 1.2em;
	padding: 3%;
}

.full-post-div .post-views {
	font-size: 1rem !important;
}

#image-div {
	position: relative;
}

#post-header {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.separator{
    margin-left: 6rem;
    margin-right: 6rem;
    background: white;
    height: 0.3rem;
    margin-top: 4rem;
    margin-bottom: 1rem;
    border-radius: 100% 1% 50%;
    background: linear-gradient(to right ,  rgb(236, 242, 243),rgb(160, 206, 236));
}

iframe {
	width: clamp(22rem, 85vw, 45rem);
	height: 30rem;
}	

.post-body-div p {
	margin-top: 4rem;
	margin-bottom: 5rem;
	text-align: left;
	overflow: hidden;
	margin: auto;

	width: 90%;
}
.post-body-div div {
	width: 100% !important;
}
.post-sidebar {
	float: left;
	min-height: 400px;
}

.posts .post:first-child {
	margin-top: 6% !important; /* Adjust the margin-top value as needed */
}

.container .post-comments {
	margin-top: 25px;
	border-radius: 2px;
	border-top: 1px solid #e4e1e1;
	padding: 10px;
}
.post-sidebar .card {
	border: 1px solid #e4e1e1;
}

.card-content{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding: 1rem;
}

.card .bouton {
	text-align: center;
	width: clamp(10rem, 15vw, 20rem);
	border: 1px solid white;
	margin: 1rem;
	border-radius: 5px;
	background-color: linear-gradient(to right, rgb(199, 230, 235), rgb(76, 172, 236));
    color: white;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.7);
    text-decoration: none !important;
}

.card {
	margin: 1rem;
	margin: 0 auto !important;
	width: clamp(20rem, 22vw, 35rem)
}

.card, .post-image, .image {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.bloc-milieu .posts {
	border-top: none !important;
}
.post-sidebar .card .card-header {
	padding: 10px;
	text-align: center;
	border-radius: 3px 3px 0px 0px;
	background: #3E606F;
}
.post-sidebar .card .card-header h2 {
	color: white;
}
.post-sidebar .card .card-container a {
	display: block;
	box-sizing: border-box;
	padding: 8px 10px;
	border-bottom: 1px solid #e4e1e1;
	color: #444;
}
.post-sidebar .card .card-container a:hover {
	padding-left: 20px;
	background: #F9F9F9;
	transition: 0.1s;
}

.author{
	font-weight: normal;
}

.bloc-milieu .posts {
	align-items: baseline;
}

@media screen and (max-width: 1260px) {
	.bloc-milieu {
		display: flex;
		flex-direction: column;
	}
	.post-sidebar .posts{
		display: flex;
		flex-wrap: wrap;
		align-content: center;
		justify-content: center;
	}

	.post-sidebar {
		grid-row: 2;
	}

	.post-sidebar .card {
		margin: 3%;
	}

	.posts {
		width: 100%;
		margin: 0 0 3% 0 !important;
	}

	.full-post-div .post-body-div img {
		width: 100% !important;
	}
}

@media screen and (min-width: 1261px) {
	.bloc-milieu {
		display: grid;
		grid-template-columns: 3fr 1fr;
		grid-template-rows: 1fr;
	}
	.post-sidebar {
		padding: 3%;
		margin-top: 2%;
		grid-column: 2;
	}

	.post-wrapper {
		grid-column: 1;
	}

	.container .post-wrapper {
		float: left;
		min-height: 250px;
	}
}