/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap'); */

/* no spinner on input type="number" */ 
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

@font-face{
	font-family: Rockwell;
	src: url(font/rockwell.eot);
	src: local('Rockwell'),
		url(font/rockwell.eot?#iefix) format("embedded-opentype"),
		url(font/rockwell.ttf) format("true-type"),
		url(font/rockwell.woff) format("woff");
	font-weight: normal; /* 400 */
	font-style: normal; 
}

.text-yellow{
	color: #E6B331;
}
.text-pink{
	color: #EA9191;
}
.text-blue{
	color: #4B4975;
}
.text-grey{
	color: #AFAFAF;
}

.bg-pink{
	background-color: #EA9191;
}

.userAvatar{
	width: 10%;
}

a, a:hover, a:visited{
	color: inherit;
	text-decoration: none;
}

body{
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	max-width: 1060px;
	margin: auto;
}
/* TO BE DELETED
#bestProducts > div{
	height: 350px;
	background-image: linear-gradient(rgba(234, 145, 145, 0.3), rgba(234, 145, 145, 0.3)), url("../img/granola.jpg");
	background-size: cover;
	background-position: center;
}
*/
#carouselControls{
	background: linear-gradient(to right, rgba(234, 145, 145, 0.7), rgba(75, 73, 117, 0.7));
}

#carouselControls img{
	height: 400px;
	object-fit:	cover;
	object-position: center;
	opacity: 0.7;
}

.productBand div{
	background-image: linear-gradient(to right, rgba(0,0,0, 0), rgba(0,0,0, 0.5) 20%, rgba(0,0,0, 0.5) 80%, rgba(0,0,0, 0));
/*	position: relative;
	top: 200px;
	margin: 0 auto;*/
}

#copyright div{
	width: 40%;
	margin: 50px auto 0;
}
#copyright p{
	font-size: 0.6rem;
}

footer{
	background-image: linear-gradient(to top right, rgba(75, 73, 117, 01), rgba(234, 145, 145, 1), rgba(230, 179, 49, 1));
	padding: 40px 80px;
	color: white;
}

footer img{
	width: 30px;
}

footer img.logo{
	width: 20px;
}

footer .horizontalBar{
	height: 10px;
	width: 35px;
	margin: 0 10px;
}

footer #address p{
	font-size: 0.7rem;
}

footer #addressCol div.d-flex{
	margin-left: -25px;
}

footer .verticalBar{
	height: 30px;
	width: 15px;
	margin: 5px 0;
}
img ~ .verticalBar{
	width: 1px;
}

#form{
	font-size: 0.9rem;
}

#form input, #form textarea {
	background: rgba(255, 225, 225, 0.7);
}

#form #message{
	height: 150px;
	border-radius: 1.2rem;
}

#form #submit{
	background:#EA9191;
	margin: -1.4rem auto 0;
	position: relative;
}

h1{
	font-size: 2.8rem;
	font-weight: 900;
}

h2{
	font-family: Rockwell;
	font-size: 1.6rem;
}

h3{
	font-family: Rockwell;
	font-size: 1.2rem;
}

/*
degradé sur le header :
départ : haut droite
couleur 1 : rose à 70% d’opacité
couleur 2 : #4B4975 à 70% d’opacité
*/
header{
	background-image: linear-gradient(to top right, rgba(234, 145, 145, 0.7), rgba(75, 73, 117, 0.7)), url(../img/photo.jpeg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	color: white;
	padding-bottom: 50px;
}

header p{
	font-family: 'Rockwell';
}

header section{
	padding: 0 20px;
}

header section a{
	background-color: white;
	font-size: 0.9rem;
	padding: 8px 16px;
}

header #logo{
	width: 150px;
}

header nav{
	font-weight: 900;
}

header nav i{
	display: none !important;
	font-size: 3rem;
}

header nav ul li{
	display: block;
	margin: 0 20px;
}

header #triangle{
	background-color: white;
	height: 50px;
	width: 50px;
	position: relative;
	bottom: -75px;
	margin: 0 auto;
	transform: rotate(45deg);
}

#gouterArticles{
	padding-top: 80px;
	padding-bottom: 80px;
}
#gouterArticles p{
	font-size: 0.9rem;
}
#gouterArticles img{
	max-width: 63px;
}

main{
	padding: 0 50px 50px;
	background: white;
}

#naturel div{
	display: block;
	width: 135px;
	height: 110px;
	background: url("../img/grain.png") no-repeat #E6B331;
	background-size: cover;
	margin: 40px 0;
}	
#naturel h2{
	position: relative;
	top: 50px;
	left: 35px;
}


#produits{
	margin-bottom: 60px;
}

#produits div{
	border-radius: 20px;
	padding-bottom: 10px;
}

#produits img, #otherProducts img{
	width: 60%;
	max-width: 160px;
	margin: auto;
}

#produits p{
	font-size: 0.8rem;
}

ul{
	list-style: none;
	padding: 0;
}


/* mobile */
@media only screen and (max-width: 768px) {
	footer{
		padding: 40px 20px;
	}
	footer img.logo{
		width: 30px;
	}
	header nav i{
		display: block !important;
	}
	header nav ul li{
		display: none !important;
	}
	
	#naturel div{
		display: block;
		width: 180px;
		height: 155px;
		background: url("../img/grain.png") no-repeat #E6B331;
		background-size: cover;
		margin: 40px auto;
	}	
	#naturel h2{
		position: relative;
		top: 80px;
		left: 50px;
	}
	#address > div{
		max-width: 180px;
		margin: 0 auto 40px;
	}
	#price{
		margin-top: 20px;
	}
	nav[aria-label="breadcrumb"]{
		margin: 40px 0 0;
		padding:0;
	}
	main{
		padding: 0 20px 40px;
	}
}