/*-----------------------MISE EN PAGE ELEMENTS-----------------------*/

body{
	background: linear-gradient(#b4aa76, 60%, #258300);
	background-size: cover;
}


/*-----------------------MISE EN FORME BOUTONS-----------------------*/

.bouton-connexion{
	margin-right: 10px;
	background-color: black;
	color: white;
	font-weight: bold;
	font-size: 16px;
	border-radius: 20px;
	transition-duration: 0.5s;
	border: 0;
	width: 100px;
	height: 25px;
}


.bouton-connexion:hover{
	cursor: pointer;
	opacity: 0.5;
}


.bouton-inscription{
	margin-left: 10px;
	background-color: black;
	color: white;
	font-weight: bold;
	font-size: 16px;
	border-radius: 20px;
	transition-duration: 0.5s;
	border: 0;
	width: 100px;
	height: 25px;
}


.bouton-inscription:hover{
	cursor: pointer;
	opacity: 0.5;
}


.bouton-valider{
	margin-left: 10px;
	background-color: black;
	color: white;
	font-weight: bold;
	font-size: 16px;
	border-radius: 20px;
	transition-duration: 0.5s;
	border: 0;
	width: 100px;
	height: 25px;
}


.bouton-valider:hover{
	cursor: pointer;
	opacity: 0.5;
}


.bouton-annuler{
	margin-left: 10px;
	background-color: black;
	color: white;
	font-weight: bold;
	font-size: 16px;
	border-radius: 20px;
	transition-duration: 0.5s;
	border: 0;
	width: 100px;
	height: 25px;
}


.bouton-annuler:hover{
	cursor: pointer;
	opacity: 0.5;
}


.bouton-mdp-oublie{
	margin-top: 5px;
	font-size: 18px;
	color: blue;
	text-decoration: underline;
	background: transparent;
	border: 0;
}


.bouton-mdp-oublie:hover{
	cursor: pointer;
}


/*-----------------------MENU POUR CREER UN POST-----------------------*/

#demande-post{
	text-align: left;
	font-size: 24px;
	width: 30%;
	padding-top: 5px;
	padding-bottom: 30px;
	margin: auto;
	margin-top: 130px;
	background-color: grey;
	border-radius: 20px;
	border: 2px solid;
	animation: fadeIn ease 4s;
	-webkit-animation: fadeIn ease 4s;
	-moz-animation: fadeIn ease 4s;
	-o-animation: fadeIn ease 4s;
	-ms-animation: fadeIn ease 4s;
}


#demande-post a{
	text-decoration: none;
	margin-left: 10px;
	color: white;
	transition-duration: 0.5s;
}


#demande-post a:hover{
	opacity: 0.5;
	color: yellow;
}


#creer-post{
	text-align: center;
	font-size: 24px;
	width: 60%;
	padding-top: 5px;
	padding-bottom: 30px;
	margin: auto;
	margin-top: 130px;
	background-color: grey;
	border-radius: 20px;
	border: 2px solid;
	animation: fadeIn ease 4s;
	-webkit-animation: fadeIn ease 4s;
	-moz-animation: fadeIn ease 4s;
	-o-animation: fadeIn ease 4s;
	-ms-animation: fadeIn ease 4s;
}


#creer-post h1{
	color: white;
	font-size: 16px;
	margin-left: 10px;
}


#creer-post label{
	color: white;
	font-size: 15px;
	margin-left: 5px;
}


#creer-post .separation{
	background-color: white;
	margin-bottom: 5px;
	height: 1px;
	width: 100%;
}


#creer-post .message-box{
	width: 95%;
	height: 200px;
	background: grey;
	color: white;
	margin-left: 5px;
	font-size: 15px;
	font-family: Arial;
	resize: none;
}


#separation{
	margin: auto;
	background-color: white;
	margin-top: 50px;
	margin-bottom: 50px;
	height: 2px;
	width: 40%;
}


/*-----------------------MENU POUR AFFICHER LES POSTS DE PUIS LA BDD-----------------------*/

#afficher-post{
	text-align: left;
	font-size: 24px;
	width: 60%;
	padding-top: 5px;
	padding-bottom: 5px;
	margin: auto;
	margin-top: 50px;
	background: linear-gradient(#5a8659, 60%, #258300);
	border-radius: 20px;
	border: 2px solid;
}


#conteneur-images-infos{
	display: flex;
}


#afficher-post h1{
	font-size: 14px;
	color: white;
	margin-left: 2px;
}


#afficher-post h2{
	font-size: 14px;
	color: white;
	margin-left: 5px;
}


#afficher-post .reaction-image{
	transition-duration: 0.2s;
	margin-left: 10px;
	width: 30px;
	height: 35px;
}


#afficher-post .reaction-image:hover{
	opacity: 0.5;
}


#afficher-post .separation{
	background-color: white;
	margin-top: 20px;
	margin-bottom: 20px;
	height: 2px;
	width: 40%;
}


#afficher-post .message-box{
	width: 95%;
	height: 150px;
	background: transparent;
	color: white;
	margin-left: 5px;
	font-size: 15px;
	font-family: Arial;
	resize: none;
}


#afficher-post a{
	margin-left: 5px;
	font-size: 22px;
	text-decoration: none;
	color: orange;
}


#afficher-post img{
	margin-left: 5px;
	max-width: 50%;
	border-radius: 10px;
}


#ajouter-commentaire{
	text-align: center;
	height: 125px;
	font-size: 24px;
	width: 55%;
	margin: auto;
	padding-left: 10px;
	padding-bottom: 3px;
	background: linear-gradient(#5a8659, 60%, #258300);
	border-radius: 20px;
	border: 1px solid;
	border-top: 0px;
	border-bottom: 0px;
}


#ajouter-commentaire h1{
	font-size: 16px;
	color: white;
	margin-bottom: 3px;
}


#ajouter-commentaire .box{
	width: 95%;
	height: 60px;
	border-radius: 20px;
	padding-left: 5px;
	padding-top: 5px;
	background: linear-gradient(#5a8659, 60%, #258300);
	color: white;
	font-size: 15px;
	font-family: Arial;
	resize: none;
}


#afficher-commentaires{
	text-align: left;
	height: 125px;
	font-size: 24px;
	width: 55%;
	margin: auto;
	padding-left: 10px;
	padding-bottom: 3px;
	background: linear-gradient(#5a8659, 60%, #258300);
	border-radius: 20px;
	border: 1px solid;
}


#afficher-commentaires h1{
	margin-top: 2px;
	font-size: 12px;
	color: white;
	margin-left: 5px;
}


#afficher-commentaires h2{
	font-size: 12px;
	color: white;
	margin-left: 1px;
}


#afficher-commentaires img{
	margin-top: 2px;
	margin-left: 1px;
	max-width: 50%;
	border-radius: 10px;
}


#afficher-commentaires .separation{
	background-color: white;
	margin-top: 3px;
	margin-bottom: 2px;
	height: 1px;
	width: 20%;
}


#afficher-commentaires .message-box{
	width: 98%;
	height: 60px;
	background: transparent;
	color: white;
	margin-left: 1px;
	font-size: 15px;
	font-family: Arial;
	resize: none;
}


#div-fin{
	margin-bottom: 200px;
}