/*#D70A6B violet
#F85201 orange
#F5D406 jaune*/



@font-face
{
	font-family: 'candara';
	src:url('../candara.ttf') format('truetype');
	src:url('candara.otf') format('opentype');
	src:url('candara.woff') format('woff');
}

@font-face
{
	font-family: 'lobster';
	src: url('Lobster-Regular.ttf') format('truetype');
}

@font-face
{
	font-family: 'justink';
	src: url('justink-0wql4.ttf') format('truetype');
}

@font-face
{
	font-family: 'headway';
	src: url('headway.ttf') format('truetype');
}


body
{
	background-color: rgb(255, 185, 151);
	margin: 0;
	padding: 0;
}


a:link
{
	color: white;
}

a:hover
{
	color: grey;
}


#site
{
	max-width: 1200px;
	margin: 0px auto 0px auto;
}


@media only screen and (max-width: 600px) {
	#site{
		display: flex;
		flex-direction: column;
		max-width: 600px;
		margin: 0px auto 0px auto;
	}
}


#ConteneurHeader
{
	display: flex;
	max-width: 1200px;
	max-height: 200px;
	justify-content: space-between;
	align-items: center;
}


@media only screen and (max-width: 600px) {
	#ConteneurHeader{
		display:flex;
		flex-direction: column;
		justify-content: right;
		/*align-items: center;*/
	}
}


#HeaderGauche
{
	display: flex;
	max-width: 400px;
	max-height: 200px;
	justify-content: right;
}

.logo
{
	max-width: 400px;
	max-height: 158px;
}

#HeaderDroite
{
	display: flex;
	max-height: 200px;
	align-items: bottom;
}

@media only screen and (max-width: 600px) {
	#HeaderDroite{
		margin-top: 20px;
		/*align-items: center;*/
	}
}

#Menu
{
	display: flex;
	margin-left:15px;
	margin-right: 15px;
	font-family: 'candara';
	font-size:calc(1rem + 0.75vw);
	color: white;
}

#Menu:hover{
	color: grey;
}


#slider
{
	margin: 100px auto 0px auto;
	border-radius: 20px;
	box-shadow: 50px 100px 200px whitesmoke;
	width: 900px;
	height: 600px;
	overflow: hidden;
}


@media screen and (max-width: 600px) {
    #slider {
    	margin: 100px auto 0px auto;
		border-radius: 20px;
		box-shadow: 50px 100px 200px whitesmoke;
        width: 600px;
        height: 450px;
        overflow: hidden;
    }
}


#ImgAccueil
{
	display: flex;
	margin: auto;
	max-width: 100%;
	max-height: 100%;
	border-radius: 15px;
	animation-name: slideImages;
	animation-duration: 15s;
	animation-iteration-count: infinite;
	animation-timing-function: ease;
}


@media screen and (max-width: 600px) {
    #ImgAccueil {
    	display: flex;
		margin: auto;
		max-width: 100%;
		/*max-height: 100%;*/
		border-radius: 15px;
		animation-name: slideImages;
		animation-duration: 15s;
		animation-iteration-count: infinite;
		animation-timing-function: ease;
    }
}

.ImgSlider{
	max-width: 900px;
}


@media screen and (max-width: 600px) {
    .ImgSlider {
    	max-width: 600px;
    	max-height: 450px;
    }
}


@keyframes slideImages {
	0% {
		transform: translateX(0);
	}

	25%{
		transform: translateX(-900px);
	}

	50% {
		transform: translateX(-1800px);
	}

	75% {
		transform: translateX(-2700px);
	}

	100% {
		transform: translateX(0);
	}
}


@media screen and (max-width: 600px) {
	@keyframes slideImages {
	0% {
		transform: translateX(0);
	}

	25%{
		transform: translateX(-600px);
	}

	50% {
		transform: translateX(-1200px);
	}

	75% {
		transform: translateX(-1800px);
	}

	100% {
		transform: translateX(0);
	}
	}
}


#TitreSection
{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	padding: 150px 0px 50px 0px;
	font-family: 'candara';
	font-size: calc(3rem + 1vw);
	color: white;
}


#domaine
{
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}


@media screen and (max-width: 600px) {
    #domaine {
    	display: flex;   	
    }
}


#TextDomaine
{
	display: flex;
	text-align: justify;
	margin: 0px 20px 0px 20px;
	max-width: 100%;
	font-family: 'candara';
	font-size: calc(1rem + 1vw);
	color: white;
}


#vins
{
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
}


/* entire container, keeps perspective */
.flip-containerSecret {
	perspective: 1000px;
	margin: 30px 30px 70px 30px;
	border: thick ridge lightslategrey;
}

/* flip the pane when hovered */
.flip-containerSecret:hover .flipper, .flip-containerSecret.hover .flipper {
	transform: translateZ(300px) rotateY(180deg);
}


.flip-containerSecret, .front, .back {
	width: 300px;
	height: 300px;
	z-index: 1;	
}

.flip-containerRacines {
	perspective: 1000px;
	margin: 30px 30px 70px 30px;
	border: thick ridge lightslategrey;

}
	/* flip the pane when hovered */
	.flip-containerRacines:hover .flipper, .flip-containerRacines.hover .flipper {
		transform: translateZ(300px) rotateY(180deg);
	}

.flip-containerRacines, .front, .back {
	width: 300px;
	height: 300px;
	z-index: 2;
}


.flip-containerFdL {
	perspective: 1000px;
	margin: 30px 30px 70px 30px;
	border: thick ridge lightslategrey;

}
	/* flip the pane when hovered */
	.flip-containerFdL:hover .flipper, .flip-containerFdL.hover .flipper {
		transform: translateZ(300px) rotateY(180deg);
	}

.flip-containerFdL, .front, .back {
	width: 300px;
	height: 300px;
	z-index: 3;
	
}

/*.flip-containerInsolent {
	perspective: 1000px;
	margin-top: 50px;
	border: solid 1px blue;

}
	flip the pane when hovered
	.flip-containerInsolent:hover .flipper, .flip-containerInsolent.hover .flipper {
		transform: translateZ(300px) rotateY(180deg);
	}

.flip-containerInsolent, .front, .back {
	width: 320px;
	height: 320px;
	z-index: 4;
	
}*/


.flip-containerEtincelle {
	perspective: 1000px;
	margin: 30px 30px 70px 30px;
	border: thick ridge lightslategrey;

}
	/* flip the pane when hovered */
	.flip-containerEtincelle:hover .flipper, .flip-containerEtincelle.hover .flipper {
		transform: translateZ(300px) rotateY(180deg);
	}

.flip-containerEtincelle, .front, .back {
	width: 300px;
	height: 300px;
	z-index: 4;
	
}

.flip-containerLongoMai {
	perspective: 1000px;
	margin: 30px 30px 70px 30px;
	border: thick ridge lightslategrey;

}
	/* flip the pane when hovered */
	.flip-containerLongoMai:hover .flipper, .flip-containerLongoMai.hover .flipper {
		transform: translateZ(300px) rotateY(180deg);
	}

.flip-containerLongoMai, .front, .back {
	width: 300px;
	height: 300px;
	z-index: 6;
	
}
/* flip speed goes here */



.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;
	position: relative;
}



/* hide back of pane during swap */
.front, .back {
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front {
	/*z-index: 1;*/
	/* for firefox 31 */
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
	display: flex;
	transform: rotateY(180deg);
	margin: auto;
	padding: 0px 5px 0px 5px;
	background-color: black;
}

.back p{
	color: rgb(255, 185, 151);
	text-align: center;
	font-weight: bold;
	font-size: 12px;
	font-family: candara;
	margin: auto;
}


#contact
{
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	margin-top: -70px;
}


#TextContact
{
	display: flex;
	justify-content: space-around;
	margin: 0px auto 0px auto;
	max-width: 100%;
	font-family: 'candara';
	font-size: calc(1rem + 1vw);
	color: white;
}


footer
{
	display: flex;
	justify-content: center;
	padding: 100px 0px 0px 0px;
	font-family: 'candara';
	font-size: calc(1rem + 0.5vw);
	color: white;
}


/* code pour vignettes vins zoomées
.ConteneurImgVinsRouges
{
	background-color: transparent;
	width: 100%;
	height: 100vh;
	display: flex;
	/*flex-direction: column;

	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	/*margin-left: 20px;*/
	/*padding: 50px 0px 0px 0px ;
	max-width: 2000px;
	max-height: 2000px;
	perspective: 1000px;
	z-index: 1;
}

#autowidth
{
	list-style-type: none;
}

.carte{
	width: 350px ;
	height: 500px;
	background-color: purple;
	border-radius: 10px;
	box-shadow: 2px 10px 12px rgba(0,0,0,0.5);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	margin: 20px 10px;
}

.carte:hover{
	background: #7272b7;
	transform-style: preserve-3d;
	transform: scale(1.02);
	transition: all-ease 0.3s;
}

.vins_rouges{
	color:green;
}

.carte:hover h1{
	color: snow;
	transition:0.5s;
}

.modele{
	height:250px;
	max-height:100%;
	max-width: 100%;
}

.description{
	display:flex;
	flex-direction: column;
	align-items: center;
	width: 200px;

}

.description p{
	color: snow;
	text-align: center;
	margin-top: 20px;
}

.description h2{
	color:#eb2294;

}


.ImgVinssecret
{
	position: absolute;
	padding: 10px;
	top:0;
	left:0;
	transition : all 2s ease;
}

.ImgVinsSecretVerso
{
	position: relative;
	padding: 10px;
	transition : all 2s ease;
}


.ImgVinsSecret:hover {

	opacity: 0;
	z-index: 1;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);

}

.ImgVinsSecretVerso:hover {

	/*animation: changeopacity 2s ease-in;

	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);
	z-index: 1;

}


.ImgVinsRacines
{
	position: absolute;
	padding: 10px;
	top:0;
	left:0;
	transition : all 2s ease;
}

.ImgVinsRacinesVerso
{
	position: relative;
	padding: 10px;
	transition : all 2s ease;
}


.ImgVinsRacines:hover {

	opacity: 0;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);

}

.ImgVinsRacinesVerso:hover {

	/*animation: changeopacity 2s ease-in;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);
	z-index: 2;

}

.ImgVinsFdL
{
	position: absolute;
	padding: 10px;
	top:0;
	left:0;
	transition : all 2s ease;
}

.ImgVinsFdLVerso
{
	position: relative;
	padding: 10px;
	transition : all 2s ease;
}


.ImgVinsFdL:hover {

	opacity: 0;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);

}

.ImgVinsFdLVerso:hover {

	/*animation: changeopacity 2s ease-in;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);
	z-index: 3;

}

.ImgVins4
{
	position: absolute;
	padding: 10px;
	top:0;
	left:0;
	transition : all 2s ease;
}

.ImgVins4Verso
{
	position: relative;
	padding: 10px;
	transition : all 2s ease;
}


.ImgVins4:hover {

	opacity: 0;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);

}

.ImgVins4Verso:hover {

	/*animation: changeopacity 2s ease-in;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);
	z-index: 4;

}


.ImgVins5
{
	position: absolute;
	padding: 10px;
	top:0;
	left:0;
	transition : all 2s ease;
}

.ImgVins5Verso
{
	position: relative;
	padding: 10px;
	transition : all 2s ease;
}


.ImgVins5:hover {

	opacity: 0;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);

}

.ImgVins5Verso:hover {

	/*animation: changeopacity 2s ease-in;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);
	z-index: 5;

}


.ImgVins6
{
	position: absolute;
	padding: 10px;
	top:0;
	left:0;
	transition : all 2s ease;
}

.ImgVins6Verso
{
	position: relative;
	padding: 10px;
	transition : all 2s ease;
}


.ImgVins6:hover {

	opacity: 0;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);

}

.ImgVins6Verso:hover {

	/*animation: changeopacity 2s ease-in;
	border: 10px solid lightslategrey;
	border-radius: 20px;
	box-shadow: 50px 100px 200px lightgrey;
	transform: scale(1.5);
	z-index: 6;

}



@keyframes changeopacity{
	0%{
		opacity: 1;
	}

	100%{
		opacity: 0;
	}
}

*/