* 
{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body
{
	background-color: white;
	color: black;
	font-family: Verdana;
	font-style: normal;
	font-size: 13px;
	text-align: center;
	padding: 0 2%;	
}

h1, h2, h3
{
	color: #8E2232;
	margin-bottom: 1.5em;
}

a{
	text-decoration: none;
}

p
{
	line-height: 1.4em;
	margin-bottom: 1.2em;
}

img
{
	max-width: 100%;
	max-height: 100%;
}

/*********
	header
*********/

Header{
	margin: auto;
	padding-top: 20px;
}

.LogoHeader
{
	margin: auto;
	width: 100%;
	height: 30%;
}

.TitreHeader{
	margin: auto;
	width: 100%;		
}

.Products
{
	display: flex;
	margin-bottom: 2em;
}

.Product
{
	display: block;
	padding: 2em .5em 1em;
	width: 20%;
	color: black;
	border: white 1px solid;
	text-decoration: none;
	transition: all .5s ease;
	font-size: 1.3em;
}

.Product_detail,
.Product_detail2
{
	display: block;
	padding: 2em .5em 1em;
	width: 50%;
	color: black;
	border: white 1px solid;
	text-decoration: none;
	text-align: justify;
	transition: all .5s ease;
	font-size: 1.3em;
}

.Product > *,
.Product_detail > *,
.Product_detail2 > *
{
	margin-bottom: 1em;
} 

.Product:hover,
.Product_detail2:hover
{
	border-color: #8E2232;
}

.Product:hover .Product_link,
.Product_detail2:hover .Product_link
{
	color: white;
	border-color: #8E2232;
	background-color: #8E2232;
}

.Product_title
{
	color: #8E2232;
	font-size: 1.1em;
}

.Product_title_detail
{
	color: #8E2232;
	font-size: 1.1em;
	font-weight: bold;	
}

.Product_title_detail2
{
	color: #8E2232;
	font-size: 1em;
}

.Product_link
{
	padding: .6em;
	font-size: 1.1em;
	color: #8E2232;
	border: black 1px solid;
	background-color: white;
	text-decoration: none;
	cursor: pointer;
	transition: all .5s ease;
}

.Edito
{
	margin-bottom: 2em;
	font-size: 1.2em;
}

.Edito_title
{
	text-align: center;
}

.Edito_histoire
{
	min-height: 25em;
	text-align: justify;
	padding-right: 50%;
	background: url(http://www.cookimono.com/Images/Histoire.jpg) top right no-repeat;
	background-size: 45%;
}

.List_histoire {
    margin: auto;
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.Div_histoire {
    width: 50%;
    height: auto;
    overflow: hidden;
    text-align: left;
    margin-top: 20px;
}

.Memo_histoire
{
	padding-left: 10px;
	padding-right: 10px;
	height: 70px;
}

.Edito_savoir
{
	min-height: 25em;
	text-align: justify;
	padding-right: 50%;
	background: url(http://www.cookimono.com/Images/Savoir.jpg) top right no-repeat;
	background-size: 45%;
}

footer
{
	float: left;
}

/************
	carrousel
************/

#Carroussel{
	position: relative;
	overflow: hidden;
	width: 90%;
	padding-top: 68%;
	z-index: 1;
	margin-left: 5%;
}

.Slide{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

img.ImgSlide{
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 100%;	
	background: transparent;
}

/********************
	retour vers le haut
********************/

a#cRetour{
	border-radius: 50%;	
	width: 40px;
	padding: 10px;
	font-size: 15px;
	text-align: center;
	color: #fff;
	background: rgba(142, 34, 50, 0.75);	
	position: fixed;
	right: 20px;
	opacity: 1;
	z-index: 99999;
	transition: all ease-in 0.2s;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	text-decoration: none;		
}

a#cRetour:before{ content: "\25b2"; }

a#cRetour:hover{
	background: rgba(254, 204, 43, 0.75);		
	transition: all ease-in 0.2s;
}

a#cRetour.cInvisible{
	bottom: -35px;
	opacity: 0;
	transition: all ease-in 0.5s;
}

a#cRetour.cVisible{
	background: rgba(187, 62, 68, 0.75);
	bottom: 20px;
	opacity: 1;
}

/* test smartphone sur pc */
@media screen and (max-width: 800px) {
.LogoHeader
{
	height: auto;
	margin-bottom: 0; 
}

h1, h2, h3
{
	font-size: 28px;
}

.Products
{
	display: block;
}

.Product
{                				
	width: 100%;
	font-size: 1.3em;
}	

.Product_title
{
	font-size: 24px;
}

.Product_title_detail
{
	font-size: 24px;
}

.Product_caption
{
	font-size: 24px;
}

.Product_detail,
.Product_detail2
{                				
	width: 100%;
	font-size: 24px;
	text-align: center;
}		

.Product_link
{
	font-weight: bold;
	font-size: 24px;
}

.Edito
{
	float: left;
	width: 100%;
	font-size: 20px;
	padding-top: 50px;
}			

.Edito_histoire
{
	padding-right: 0;
	padding-bottom: 80%;
	background: url(http://www.cookimono.com/Images/Histoire.jpg) bottom left no-repeat;
	background-size: 100%;
}		

.Div_histoire{
	width: 100%;
	margin-top: 50px;
}

.Memo_histoire
{
	height: auto;
}

.Edito_savoir
{
	padding-right: 0;
	padding-bottom: 80%;
	background: url(http://www.cookimono.com/Images/Savoir.jpg) bottom left no-repeat;
	background-size: 100%;
}		

footer
{
	font-size: 20px;
}

#Carroussel{
	width: 100%;
	padding-top: 75%;
	margin-left: 0;
}

a#cRetour{
	width: 60px;
	font-size: 30px;
	right: 20px;
}

a#cRetour.cVisible{
	bottom: 40px;
}	

}	

/* iphone */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px),
(min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2),
(min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2),
(min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3),
(min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3),
(min-device-width: 414px) and (min-device-height: 896px) and (-webkit-device-pixel-ratio: 2),
(min-device-width: 414px) and (min-device-height: 896px) and (-webkit-device-pixel-ratio: 3),
/* samsung galaxy */
(device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 2),
(device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3),
(device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 4),
(device-width: 360px) and (device-height: 720px) and (-webkit-device-pixel-ratio: 3),
(device-width: 360px) and (device-height: 740px) and (-webkit-device-pixel-ratio: 2),
(device-width: 360px) and (device-height: 740px) and (-webkit-device-pixel-ratio: 4),
(device-width: 360px) and (device-height: 760px) and (-webkit-device-pixel-ratio: 4),
(device-width: 412px) and (device-height: 732869px) and (-webkit-device-pixel-ratio: 2.625),
(device-width: 412px) and (device-height: 869px) and (-webkit-device-pixel-ratio: 2.625),
(device-width: 412px) and (device-height: 869px) and (-webkit-device-pixel-ratio: 3.5),
(device-width: 412px) and (device-height: 892px) and (-webkit-device-pixel-ratio: 2.625),
(device-width: 412px) and (device-height: 914px) and (-webkit-device-pixel-ratio: 2.625),
(device-width: 414px) and (device-height: 846px) and (-webkit-device-pixel-ratio: 3.5),
/* Huawei */
(device-width: 360px) and (device-height: 720px) and (-webkit-device-pixel-ratio: 3),
(device-width: 360px) and (device-height: 770px) and (-webkit-device-pixel-ratio: 3),
(device-width: 360px) and (device-height: 780px) and (-webkit-device-pixel-ratio: 3),
(device-width: 360px) and (device-height: 780px) and (-webkit-device-pixel-ratio: 4),
(device-width: 392px) and (device-height: 800px) and (-webkit-device-pixel-ratio: 3),
/* Redmi */
(device-width: 393px) and (device-height: 873px) and (-webkit-device-pixel-ratio: 2.75),
/* OnePlus */
(device-width: 412px) and (device-height: 869px) and (-webkit-device-pixel-ratio: 2.625),
(device-width: 412px) and (device-height: 892px) and (-webkit-device-pixel-ratio: 2.625),
(device-width: 412px) and (device-height: 892px) and (-webkit-device-pixel-ratio: 3.5),
/* Google */
(device-width: 411px) and (device-height: 731px) and (-webkit-device-pixel-ratio: 2.6),
(device-width: 411px) and (device-height: 731px) and (-webkit-device-pixel-ratio: 3.5),
(device-width: 411px) and (device-height: 823px) and (-webkit-device-pixel-ratio: 2.625),
(device-width: 411px) and (device-height: 823px) and (-webkit-device-pixel-ratio: 3.5),
(device-width: 411px) and (device-height: 846px) and (-webkit-device-pixel-ratio: 2.625),
(device-width: 411px) and (device-height: 846px) and (-webkit-device-pixel-ratio: 3.5),
(device-width: 411px) and (device-height: 869px) and (-webkit-device-pixel-ratio: 3.5),
(device-width: 411px) and (device-height: 869px) and (-webkit-device-pixel-ratio: 2.625),
/* Xiaomi */
(device-width: 393px) and (device-height: 851px) and (-webkit-device-pixel-ratio: 2.75){
.LogoHeader
{
	height: auto;
	margin-bottom: 0; 
}

h1, h2, h3
{
	font-size: 28px;
}

.Products
{
	display: block;
}

.Product
{                				
	width: 100%;
	font-size: 1.3em;
}	

.Product_title
{
	font-size: 24px;
}

.Product_title_detail
{
	font-size: 24px;
}

.Product_caption
{
	font-size: 24px;
}

.Product_detail,
.Product_detail2
{                				
	width: 100%;
	font-size: 24px;
	text-align: center;
}		

.Product_link
{
	font-weight: bold;
	font-size: 24px;
}

.Edito
{
	float: left;
	width: 100%;
	font-size: 20px;
	padding-top: 50px;
}			

.Edito_histoire
{
	padding-right: 0;
	padding-bottom: 80%;
	background: url(http://www.cookimono.com/Images/Histoire.jpg) bottom left no-repeat;
	background-size: 100%;
}		

.Div_histoire{
	width: 100%;
	margin-top: 50px;
}

.Memo_histoire
{
	height: auto;
}

.Edito_savoir
{
	padding-right: 0;
	padding-bottom: 80%;
	background: url(http://www.cookimono.com/Images/Savoir.jpg) bottom left no-repeat;
	background-size: 100%;
}		

footer
{
	font-size: 20px;
}

#Carroussel{
	width: 100%;
	padding-top: 75%;
	margin-left: 0;
}

a#cRetour{
	width: 60px;
	font-size: 30px;
	right: 20px;
}

a#cRetour.cVisible{
	bottom: 40px;
}	

}				