@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;

}

/*FLECHE SCROLL*/

	.scroll-haut{
		position: fixed;
		bottom: 20px;
		right: 20px;
		padding: 10px;
		background-color: white;
		color: black;
		border-radius: 15px;
		font-size: 30px;
		border: thin solid black;
/*animation fade doit être avant animation timeline*/
		animation: fade;
		animation-timeline: scroll(y root);
}

@keyframes fade{
	0%{opacity:0;}
	25%{opacity: 1;}
}


/*DEBUT MENU BURGER*/
#burger{
	position: absolute;
	width: 100%;
	font-size: 20px;
	right: 0;
	top: 0;
	display: none;
}

#burger .nav{
	background: lightgrey;
	width: 100%;
	text-align: center;
	padding: 20px 0;
	transition: transform 1s;
}

#open, #close{
	position: absolute;
	height: 44px;
	font-size: 50px;
	right: 20px;
	z-index: 1;
}

#burger a{
	text-decoration: none;
	display: block;
	padding: 10px;
}

/*fait disparaître ou apparaître le bouton*/

#burger:target #open, #burger:not(:target) #close{
	display: none;
}

#burger:not(:target) .nav{
/*	translate: x, y, z;*/
	transform: translate3d(0, -240px, 0);
}

#burger:target .nav{
/*	translate: x, y, z;*/
	transform: translate3d(0, 0, 0);
}

/*FIN MENU BURGER*/


header{
	background-color: rgb(228, 227, 225);
	padding: 30px;
}

.container{
	width: 1000px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 50px;
}

header nav a{
	color: black;
	font-size: 18px;
	text-decoration: none;
	padding: 20px;
	transition: 0.4s;
}

header nav a:hover{
	color: rgb(220, 127, 83);
}

.menu-actif{
	color: rgb(220, 127, 83);
}

#banniere{
	background: url(images/fond.jpg) center/cover;
	/*background-position: center;
	background-size: cover;*/
	height: 90vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

#banniere h1{
	font-size: 72px;
	font-weight: 600;
	text-align: center;
}

h2{
	font-size: 50px;
	font-weight: 400;
	/*margin-top: 40px;
	margin-bottom: 40px;*/
	margin: 40px 0;
}

h3{
	font-size: 28px;
	font-weight: 400;
	margin: 40px 0;
}

#produits h2, #nouveautes h3{
	text-align: center;
}

.bttn{
	border: thin solid black;
	text-decoration: none; 
	color: black;
	padding: 15px;
}

#produits{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.col{
	text-align: center;
}

.col-img{
	height: 330px;
	border-radius: 15px;
	margin-bottom: 20px;
}

.img1{
	background: url(images/bloc1.jpg) center/cover;
}

.img2{
	background: url(images/bloc2.jpg) center/cover;
}

.img3{
	background: url(images/bloc3.jpg) center/cover;
}

#mission{
	margin-top: 40px;
}

#mission article{
	display: flex;
	flex-direction: column;
	align-items: start;
	width: 45%;
}

#mission p{
	margin-bottom: 40px;
}

#mission img{
	border-radius: 50%;
	height: 450px;
	width: 450px;
}

#contact{
	background-color: rgb(220, 127, 83);
	padding: 50px;
	margin-top: 80px;
}

h4{
	font-size: 48px;
	color: white;
	font-weight: 400;
}

.bttn-blanc{
	color: white;
	border-color: white;
	width: 220px;
	height: 50px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bttn-blanc:hover{
	font-size: 18px;
}

footer{
	background-color: rgb(228, 227, 225);
	padding: 50px;
}

footer a{
	color: black;
	text-decoration: none;
	display: block;
	padding: 10px 20px;
	font-size: 17px;
}

address{
	font-style: normal;
	text-align: right;
}

.picto{
	text-align: right;
}

address img{
	width: 30px;
	margin-left: 6px;
}

address a{
	display: inline;
	padding: 0;
}

/*page à propos*/

.banniere{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50vh;
}

#banniere-propos{
	background: url(images/fond-propos.jpg) center/cover;
}

#banniere-produits{
	background: url(images/fond-produit.jpg) center/cover;
}

#banniere-contact{
	background: url(images/fond-contact.jpg) center/cover;
}

.banniere h1{
	color: white;
	font-size: 72px;
	font-weight: 400;	
}

/*pseudo-élément*/
.banniere h1::first-letter{
	text-transform: capitalize;
}

.txt-center{
	text-align: center;
}

#propos p{
	margin-bottom: 30px;
}

/*toujours utiliser flex-basis avant flex-grow*/
#propos article{
	flex-basis: 0;
	flex-grow: 1;
}

.align-haut{
	align-items: start;
}

.img-pdt{
	width: 450px;
	height: 400px;
	border-radius: 15px;
}

.img-pdt1{
	background: url(images/produit1.jpg) center/cover;
}

.img-pdt2{
	background: url(images/produit2.jpg) center/cover;
/*	pour inverser le côté de l'image (ne fonctionne que dans une div utilisant le display flex*/
	order: -1;
}

.img-pdt3{
	background: url(images/produit3.jpg) center/cover;
}

.img-pdt4{
	background: url(images/produit4.jpg) center/cover;
	order: -1;
}

.txt-pdt{
	width: 45%;
}

.fond-gris{
	background-color: rgb(228, 227, 225);
}


.section-pdt{
	padding: 30px;
}

.contact-col{
	flex-basis: 0;
	flex-grow: 1;
}

a{
	color: black;
	text-decoration: none;
}

iframe{
	margin: 40px 0;
	border-radius: 15px;
}

input{
	width: 100%;
	margin-bottom: 20px;
	height: 30px;
}

textarea{
	width: 100%;
	margin-bottom: 20px;
}

.bttn-envoi{
	width: 150px;
	height: 50px;
	background-color: rgb(220, 127, 83);
	color: white;
	border: none;
	font-size: 16px;
	cursor: pointer;
}

.img-contact{
	border-radius: 15px;
}

hr{
	margin: 10px 0;
}

.no-gouttiere{
	gap:0;
	margin-bottom: 40px;
}

.horaires{
	flex-basis: 0;
	flex-grow: 1;
}




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

	#burger{
		display: block;
	}

	header nav{
		display:none;
	}

	.container{
		width: 100%;
		flex-direction: column;
		padding: 20px;
	}

	#banniere{
		background-size: 270%;
		background-repeat: no-repeat;
		height: 450px;
	}

	#banniere h1{
		font-size: 40px;
	}

	#mission article{
		width: 100%;
		align-items: center;
	}

	#mission img{
		width: 350px;
		height: 350px;
	}

	h4{
		font-size: 35px;
		text-align: center;
	}

	footer{
		text-align: center;
	}

	footer a{
		padding: 10px ;
	}

	address{
		text-align: center;
	}

	.banniere{
		text-align: center;
	}

	.banniere h1{
		font-size: 50px;
	}

	h2{
		font-size: 35px;
	}

	#propos .container{
		gap: 0;
	}

	.txt-pdt{
		width: 100%;
		text-align: center;
	}

	.img-pdt{
		width: 300px;
		height: 250px;
		order: 0;
	}

	h3{
		margin: 20px 0;
	}

	.img-contact{
		width: 100%;
	}

	#ouverture .container{
		flex-direction: row;
		flex-wrap: wrap;
		gap: 20px;
	}

}