/* les polices d'écriture
Google Fonts
- Athiti : par défaut
- Merienda : pour les titres 
font-family: 'Athiti', sans-serif;
font-family: 'Merienda', cursive;*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,body,div,span,applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,
blockquote,pre,a,abbr,acronym,address,big,
cite,code,del,dfn,em,img,ins,kbd,q,s,
samp,small,strike,strong,sub,sup,tt,
var,b,u,i,center,dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,article,aside,
canvas,details,embed,figure,figcaption,
footer,header,hgroup,menu,nav,output,
ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

/*
ol, ul {
	list-style: none;
}
*/

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*Mobile First*/

/*General*/

body * {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

img {
    max-width: 100%;
    width: auto;
    /* pour ie */
    height: auto;
    -ms-interpolation-mode: bicubic;
    /* lissage pour IE */
    image-rendering: -webkit-optimize-contrast;
    /* lissage pour Chrome au redimensionnement*/
}

body {
    font-family: 'Athiti', sans-serif;
    line-height: 1.5;
    font-size: 1.8rem;
    background-color: #fff;
}

/* header*/

header {
    padding: 3rem 0 2rem 0;
    background: linear-gradient( to bottom, rgba(208, 197, 186, 1) 0%, rgba(235, 227, 219, 0.25) 25%, rgba(255, 255, 255, 0)100%);
    /* on de marre du bottom* gradient de haut en bas */
}

/* on se met en displeay flex cologne l'image et le titre h1*/

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
    text-decoration: none;

}

h2 {
    font-size: 2.5rem;
    margin: 4rem 0 2rem 0;
    text-align: center;
}

h1,
h2,
h3,
h4 {
    font-family: 'Merienda', cursive;
    font-weight: bold;
}

.logo strong,
h1,
h2,
h3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* on ajoute les etoile qui encadre les titres et sous titres*/

.logo strong:before,
.logo strong::after,
h1:before,
h1:after,
h2:before,
h2:after,
h3:before,
h3:after {
    font-family: "Font Awesome 5 Free";
    font-size: 3rem;
    content: "\f005";
    /*(est un caractere )*/
    color: red;
    padding: 1rem;
}

.logo strong::before,
h1::before,
h2::before,
h3::before {
    padding-right: 1rem;
}

/*taille de l'image du logo*/

.logo img {
    width: 30%;
    margin: 1rem 0;
    /* margin haut et bas de 1rem et left and right de 0*/
}

.logo strong {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 3rem;
}
/**********/
/* la nav */
/**********/
nav ul {
    list-style-type: none;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid #4c4343;
    background-color: #ebe3db;
}

nav a {
    display: block;
    color: black;
    font-weight: bold;
    padding: 1rem 2rem;
    border-bottom: 1px solid #4c4343;
    text-decoration: none;
}

nav a:hover,
nav a:focus {
    background-color: #950000;
    color: white;
    transition: all 1s linear;
}

nav a.active {
    background-color: #4c4343;
    color: white;
}

/* MAIN */

main.container {
    padding: 2rem
}

/* le Slider*/

.sclick-next::before,
.slick-prev::before {
    font-size: 4rem;
    color: #ebe3db;
}

.sclick-next {
    right: 3rem;
}

.slick-prev {
    left: 1rem;
    z-index: 1;
}

.slick-dots {
    bottom: -3rem;
}

.slick-dots li button::before {
    font-size: 1.5rem;
    color: #4c4343;
    opacity: .5;
}

.slick-dots li.slick-active button::before {
    color: #950000;
}


/*INTRO*/

.intro img {
    margin-bottom: 2rem;
}

/*SECTION MENU*/

.menu article {
    background-color: #ebe3db;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.menu h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: -1rem;
}

.menu figure,
.choice figure {
    position: relative;
}

.menu img ,
.choice img {
    display: block;
    object-fit: cover;
    /*revoir oject-fit*/
}

.menu figcaption,
.choice figcaption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background-color: rgba(76, 67, 67, .9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 5rem;
    font-weight: bold;
    transition: 1s all;
}

.menu figcaption span {
    font-size: 2rem;
    font-style: italic;
}

.menu figcaption:after,
.choice figcaption:after{
    content: "";
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    left: 3rem;
    top: 3rem;
    border: 4px solid #fff;

}

.menu figure:hover figcaption,
.choice figure:hover figcaption{
    opacity: 1;
}

.menu ul {
    list-style-type: none;
}

.menu li {
    padding: 1rem 2rem;
    border-bottom: 1px dashed #4c4343
}

.fa-star {
    margin: 0 1rem;
    color: #ff0000;
    font-size: 1rem;
}

.details {
    display: flex;
    justify-content: center;
    background-color: #4c4343;
    box-shadow: 10px 10px 10px silver;
    padding: 1rem 0;
    text-align: center;
    color: white;
    text-decoration: none;
    margin: 2rem;
    transition: all 1s;
}

.details:hover {
    background-color: #950000;
}

.details img {
    margin-right: 1rem;
    width: 3rem;
    height: 3rem;
}


/***MENU***/
.select,.filter ul, filter p {
    text-align:center;
    margin-top:1rem;
}

.filter li {
    display:flex;
    justify-content:center;
    display:inline-block;
    padding:1em;
    letter-spacing: .5rem;
    font-weight:bold;
    margin-bottom:2rem;
    
}
.filter a {
    background-color:#ebe3db;
    text-decoration:none;
    color:black;
    width:100%;
    padding:0;
    padding:1rem 1rem;
    transition:1s;
}
.filter a:hover {
    background-color:#950000;
    color:#fff;
}

.choice {
    display:flex;
    justify-content:space-evenly;
    flex-wrap:wrap;
    background-color:#ebe3db;
    padding-top:4rem;
}

.choice div,
.choice figure {
    flex-basis: calc(50% - 2rem);
    margin-bottom:3rem;
}

.choice figure,
.galery img {
    
    box-shadow: 10px 10px 10px rgba(76,67,67,0.8);
    transition :transform 1s;
}

.choice figure:hover
.galery img:hover{
    transform:scale(1.3);
}

.choice figcaption h3 {
    font-size:2rem;
}
.choice figcaption h3::before, 
.choice figcaption h3::after {
	content:"";
}


figcaption .forkanfknife {
    margin-right: 1rem;
    width: 4rem;
    height: 4rem;
}

/********/
/*Contact*/
/*******/
form {
    background-color:#ebe3db;
    padding:2rem 5rem;
    margin:auto;
}
 form div {
    display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
 }
.mandatory {
	text-align: center;
	font-size: 1.6rem;
	font-style: italic;
}
.mandatory abbr, 
label abbr {
	color: #950000;
	font-size: 1.8rem;
	font-weight: bold;
}
label abbr {
	position: absolute;
	left: -1.5rem;
}

.mandatory abbr {
	margin: 0;
	vertical-align: middle;
}
fieldset {
	flex-basis: 48%;
}

legend, 
.request {
	font-family: 'Merienda', cursive;
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 1.5rem;
}
.request {
	margin-top: 2rem;
}
input, 
textarea {
	border: 1px solid #4c4343;
	border-radius: 5px;
	padding: 1rem;
	margin-bottom: 2rem;
}
label, 
input {
	display: block;
	position: relative;
}
input {
	width: 100%;
}
textarea {
	width: 100%;
	height: 130px;
}
input[type="submit"] {
	width: 50%;
	margin: 3rem auto 0 auto;
	border: none;
	background-color: #4c4343;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.6rem;
	letter-spacing: .3rem;
	padding: 1rem 3rem;
}
input[type="submit"]:hover {
	background-color: #950000;
}
iframe {
	width: 100%;
	height: 350px;
	border: 1px solid #4c4343;
}
/********/
/*About Us*/
/*******/
 
.container h1 {
    font-size:30px;
    padding: 3rem 2rem 0 2rem;
}
.pmenu {
    padding-top:1rem;
    font-weight:bold;
}

.galery {
    background-color:#ebe3db;
    padding: 3rem 2rem 0 2rem;
}

.galery figure {
    margin-bottom:3rem;
}

.galery figure:last-of-type{
    padding-bottom:2rem;
}
.galery figcaption{
    text-align:center;
    font-weight: bold;
}

video {
    display:block;
    width:90%;
    margin:5rem auto;
}


/**********FOOTER*********/

footer {
    background: url(../instructions/ressources/images/footer-bg.jpg);
    background-color: cover;
    color: white;
    font-size: 2rem;
    text-align: center;
}

footer .flex {
    padding: 2rem 0;

}

h4 {
    font-size: 1.8rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    border-bottom: 1px dashed #ebe3db;
    margin: 1rem ;
}

footer li {
    list-style-type: none;
}

aisde {
    padding: 2rem;
    text-align: center;
}

.reseaux a {
    color: white;
    text-decoration: none;
    font-size: 2.5rem;
    margin: 1rem;
    transition: 1s;

}

.reseaux a:hover {
    color: purple;
}

.footer {
    padding: 2em;
    text-align: center;
    color: #fff;
    background-color: #444;
}

.footer img {
    width: 10%;
}

.footer a {
    color: white;
}

/****** TaBLETTE ******/

@media screen and (min-width: 760px) {
    nav ul {
        display: flex;
		justify-content: space-around;
        border-top: none;
        background-color: #ebe3db;
    }
    
    nav li a {
        border-bottom: none;
    }
    
    .flex {
        padding:2em;
        display:flex;
        justify-content:space-between;
        
    }
    
    .flex aside {
        width:calc(100% /3 - 2rem);
    }
    
    .choice div, 
	.choice figure {
		flex-basis: calc(100% / 3 - 2rem);	
	}
	
	.galery {
	    display:flex;
	    justify-content: space-between;
	    flex-wrap:wrap;
	}
	
    .galery figure {
        flex-basis:calc(50% - 2rem);
    }
    video{
        width:80%;
    }
    
}
/*** desktop*****/
@media screen and (min-width: 1100px) {
    .container {
        max-width:1400px;
        margin:auto;
    }
    header .container, main.container, footer .flex {
        padding:2rem 5rem;
    } 
    
    header .container {
        display:flex;
        justify-content:space-between;
        align-items:center;
    }
    .logo{
        display:flex;
        flex-direction:row;
        margin-left:2rem;
    }
    .logo img {
        margin-right:1rem;
    }
    nav ul {
        background-color:transparent;
        margin-top:0;
    }
    nav li {
        margin:0 2rem;
    }
    .intro img {
        width:40%;
        float: right;
        margin: 0 0 1rem 2rem;
    }
    .menu {
		clear: both;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.menu h2 {
		flex : 1 0 100%;
	}

	.menu article {
		flex-basis: calc(100% / 3 - 2rem);
	}
	video,form {
	    width:70%;
	}
}