/* Main banner */

.headline {
	height: 450px;
	background-image: url("images/homepage_banner.jpg");
	background-position: center;
	background-size: cover;
	margin-bottom: 100px;
	display: flex;
	align-items: flex-end;
	position: relative;
}

.headline-vert {
	background-color: #5BBE83;
	border-radius: 30px;
	max-width: 500px;
	padding: 30px;
	position: absolute;
	bottom: 7%;
	left: 4.5%;
	box-shadow: inset 10px 0px 120px #11efff60;
}

.headline-vert h1 {
	font-size: 40px;
	color: #000;
}

.headline-vert p {
	margin: 10px 0px;
}

.menu {
	display: flex;
	justify-content: flex-end;
}


/* Partie recettes */

.discover h2, h3{
	text-align: center;
	margin-bottom: 30px;
}

.carte-verte {
	background-color: #5BBE83;
	height: 450px;
	border-radius: 30px;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	box-shadow: inset 0px 0px 50px 20px #11efff40;
}

.carte-recette {
	border-radius: 20px;
	width: 25%;
	background-color: #FFF;
}

.titre-plat {
	font-weight: 600;
}

.description {
	padding: 15px;
}

.carte-recette img {
	max-width: 100%;
	border-radius: 20px 20px 0px 0px;
}


.info-recette {
	display: flex;
	justify-content: space-between;
}


.info-recette img {
	max-width: 28px;
	max-height: 28px;
}

.image-age {
	position: relative;
}

.age {
	color: #5BBE83;
	background-color: #FFF;
	position: absolute;
	right: 0%;
	border-radius: 0px 20px 0px 20px;
	width: 70px;
	height: 130px;
	text-align: center;
}

.age h3 {
	font-size: 64px;
}

.age span {
	font-size: 30px;
	font-weight: 600;
}

.plus {
	display: flex;
	justify-content: center;
	margin-top: 50px;
	margin-bottom: -50px;	
}

/* Partie engagements */

.engagements {
	display: flex;
}

.engagement h2 {
	text-align: center;
}

.click {
	margin: 80px 0px 0px 150px;
	display: inline-block;
}


.round-image {
	width: 300px;
	height: 300px;
	display: inline-block;
	overflow: hidden;
	border-radius: 100%;
	position: relative;
}

.first {
	left: 10%;
	bottom: 10%;
}

.second {
	bottom: 10%;
	right: 40%;
}


.round-image img {
	width: auto; 
	height: 100%; 
	margin-left: -50px;
}

.point {
	display: flex;
	margin: 20px 40px 10px 0px;
}

p.point {
	margin-left: 80px;
	width: 600px;
}

.fa-star {
	color: #5BBE83;
	margin-right: 10px;
	align-items: center;
}

/* Comment ca marche */

.comment-ca-marche {
	text-align: center;
}

.comment-ca-marche h2, p {
	padding-bottom: 20px;
}

.trois-etapes {
	display: flex;
	justify-content: center;
	height: 200px;
	justify-content: space-evenly;
	padding-top: 10px;

}

.carte-etape img {
	max-width: 150px;
}

.carte-etape p {
	margin-top: 10px;
	font-weight: 600;
}

/* Avis clients */

.avis-clients h2 {
	margin-bottom: 30px;
}

.user-id {
	display: flex;
}

.round-user {
	width: 80px;
	height: 80px;
	display: inline-block;
	position: relative;
	overflow: hidden;
	border-radius: 100%;
	left: 2.5%;
	top: 40px;
}

.round-user img {
	width: auto; 
	height: 100%; 	
}

.avis {
	padding: 20px;
	border-radius: 20px;
	border: 2px solid #5BBE83;
	width: 80%;
	margin: 40px auto;
	background-color: #FFF;
	box-shadow: 0px 3px 12px  #D9D9D9;
}


/* MOBILE VERSION */

@media screen and (max-width: 760px) {

	.right {
		display: none;
	}

	h1 {
		font-size: 24px;
	}

	h2 {
		font-size: 20px;
	}

	h3 {
		font-size: 16px;
	}

	p {
		font-size: 14px;
	}

	hr {
		margin: 20px 0px;
	}

	.headline {
		height: 215px;
		background-image: url("images/homepage_banner.jpg");
		background-position: center;
		background-size: cover;
		position: relative;
	}

	.headline-vert {
		background-color: #5BBE83;
		box-shadow: inset 10px 0px 120px #11efff60;
		border-radius: 0;
		padding: 10px;
		width: 100%;
		height: auto;
		bottom: -35%;
		left: 0%;
		margin: 0 auto;
		text-align: center;
	}

	.headline h1 {
		font-size: 18px;

	}
	.headline-vert p {
		margin-bottom: 4px;
	}

	.menu {
		justify-content: center;
	}

	.menu a {
		padding: 5px 30px;
		font-size: 16px;
	}

	.discover h2, h3{
		text-align: left;
		margin-bottom: 10px;
	}

	.carte-verte {
		display: block;
		background-color: #F8F8F8;
		box-shadow: none;
		height: auto;
	}

	.carte-recette {
		display: flex;
		width: 100%;
		height: 100px;
		margin: 20px auto;
		border-radius: 10px;
		border: 2px solid #5BBE83;
	}

	.description {
		padding: 10px;
		width: 100%;
	}

	.description p {
		font-size: 12px;
	}

	.info-recette {
		padding-top: 0px;
		justify-content: space-between;
	}

	.allergenes img {
		width: 16px;
		height: 16px;
	}

	.image-age img {
		width: 100px;
		height: 100px;
		object-fit: cover;
		border-radius: 8px 0px 0px 14px;
	}

	.image-age {
		overflow: hidden;
	}

	.age {
		display: none;
	}

	.plus {
		display: flex;
		justify-content: center;
		margin-top: 0px;
		margin-bottom: 0px;	
	}

	.plus a {
		padding: 5px 30px;
		font-size: 16px;
	}

	.engagements {
		text-align: /*center*/;
		display: block;
	}

	.left h2 {
		text-align: center;
		margin-bottom: 30px;
	}

	.point {
		margin: 10px 0px 0px 0px;
	}

	p.point {
		margin-left: 0px;
		width: 100%;
	}

	.click {
		padding: 5px 30px;
		margin: 10px 60px;
		display: flex;
		justify-content: center;
		font-size: 16px;
	}


	.comment-ca-marche {
		text-align: center;
	}

	.comment-ca-marche h2, p {
		padding-bottom: 20px;
	}

	.trois-etapes {
		display: block;
		justify-content: center;
		height: auto;
	}

	.carte-etape img {
		max-width: 80px;
	}

	.avis-clients h2 {
	margin: 20px 0px;
	}

	.user-id {
		display: flex;
	}

	.round-user {
		width: 40px;
		height: 40px;
		display: inline-block;
		position: relative;
		overflow: hidden;
		border-radius: 100%;
		left: 0%;
		top: 20px;
	}

	.round-user img {
		width: auto; 
		height: 100%; 	
	}

	.avis {
		padding: 15px 10px;
		margin: 10px auto;
	}


}
