body {
	text-align: center;
	background: linear-gradient(to bottom, hsl(60, 100%, 97%), hsl(180, 33%, 80%));
	background-attachment: fixed;
	margin: 0 10%;
	font-family: arial;
}

h3 {
	color: blue;
}

h5 {
	margin: 1em 0 0;
}

#aire {
	width: 10em;
	margin: auto;
	font-weight: bold;
	background-color: white;
	border-radius: 5px;
	border: 5px solid red;
	padding: 1em;
}
a {
	color: darkblue;;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

#paste {
	margin: 1em auto;
}

#gest-info {
	text-align: right;
	margin: 1em;
}

#topmsg {
	display: inline-block;
	padding: .5em 1em;
	border: 3px dashed green;
	background-color: lightgreen;
	position: relative;
	top: 1em;
}

main {
	padding: 1em 7% 10em;
}

form {
	width: 100%;
	margin: 0;
	font-weight: bold;
}

form .post {
	width: 100%;
}

form .post-info {
	text-align: left;
}

.post.cut {
	filter: blur(5px);
}

.post {
	display: inline-block;
	flex: 1;
	min-height: 6em;
}

.post-info {
	display: inline-block;
	width: 17em;
	text-align: right;
	word-wrap: break-word;
	color: grey;
}

input, textarea, button {
	border-radius: 8px;
}

.post-container:nth-child(odd) {
	background-color: hsl(210, 100%, 93%);
}
.post-container:nth-child(even) {
	background-color: white;
}

.post-container {
	display: flex;
	align-items: stretch;
	border-radius: 10px;
	padding: 1em .5em;
	text-align: left;
}

div.post.invalid {
	opacity: .5;
}
.post-info.invalid::before {
	content: "En attente de validation... ";
	color: hsl(0, 100%, 67%);
}

.validate {
	background: lightgreen;
}

.delete {
	background: pink;
}

@media screen and (max-width: calc(1280px - 1px - 8px)) {	/* 8px for Edge margins */

	body {
		width: 100%;
		margin: 0;
	}

	h1 {
		font-size: 1.3em;
	}

	main {
		width: 100%;
		padding: 1em 0;
	}

	.post-info {
		width: 7em;
	}

	button {
		font-size: 1.1em;
		margin: .5em 0;
	}

	.post-info a {
		word-wrap: break-word;
	}

}
