/**Le contenu sur desktop a une largeur maximum de 1400px.
Points de rupture :
- tablette : 780px
- desktop : 980px

Les pictos sont des Font Awesome.

### Couleurs

Marron : #4c4343
Beige : #ebe3db
Rouge : #950000
survol des images des menus, celles-ci s'opacifient progressivement (couleur rgba(76,67,67,.9) )**/

/*************GENERAL******************/
body {
    font-size:18px;
    font-family:"Athiti", sans serif;
    background:linear-gradient(to top, white, white 97%, rgba(208,197,186,1) 100%);
    box-sizing:border-box;
    padding:0;
    margin:0;
}
.container {
    padding:2rem;
}

img {
    width:100%;
    margin-left:auto;
    margin-right:auto;
}

.titrelogo::after, .titrelogo::before, h1::after, h2::after, h3:not(.nostar)::after, h1::before, h2::before, h3:not(.nostar)::before, .lignemenu::before {
    content:"\f005";
    color:#950000;
    font-family: 'Font Awesome 5 Free';
    font-size:0.7rem;
    margin: 0 1em;
    vertical-align: middle;
}

h1 {
    font-size:30px;
    font-family:"Merienda", sans serif;
    text-align:center;
}
h2 {
    font-size:25px;
    font-family:"Merienda", sans serif;
    text-align:center;
}
h3 {
    font-size:20px;
    font-family:"Merienda", sans serif;
    text-align:center;
}

.ss-menus {
    font-size:15px;
}
.titlefooter {
    font-size:18px;
}
.button {
    font-size:16px;
}
footer {
    font-size:16px;
}
.flex {
    display:flex;
}
.grid {
    display:grid;
}
.space-between {
    justify-content:space-between;
}
.italic {
    font-style:italic;
}
a:hover, .button:hover {
    cursor:pointer;
    transition:1s;
    background-color:#950000;
}
a {
   text-decoration:none;
   color:black;
}

/*****************************HEADER***********************************/
header, .logo, header nav {
    flex-direction:column;
    align-items:center;
}

/***LOGO***/

.titrelogo {
    text-transform:uppercase;
    font-weight: 800;
    font-size:30px;
    margin:0;
}
.logo img {
    width:100px;
}
.logo {
    align-items:center;
    justify-content:center;
    margin-bottom:2em;
    margin-top:1em;
}

/***NAV***/
header nav {
    width:100%;
    background-color:#ebe3db;
}
header nav a {
    background-color:#ebe3db;
    border:1px solid black;
    padding:1em 2em;
    width:100%;
    text-align:center;
    font-weight:bold;
    font-size:18px;
}
header nav a:hover, #maincourses .button:hover {
    background-color:#950000;
    transition:1s;
    color:white;
}
.selected {
    background-color:#4c4343;
    color:white;
}

    
/****************************SLIDE**********************************/
.slider img {
    width:100%;
    margin: 2em 0;
}
.slick-next {
    right:0;
}
.slick-prev {
    left:0;
    z-index:9999;
    font-size:20px;
}
.slick-dots {
    color:black;
    font-size:48px;
}

/*****************************SECTION MENUS*****************************/
#menus {
    flex-direction:column;
}
.menu, .course {
    background-color:#ebe3db;
    margin-bottom:2em;
    flex-direction:column;
    box-sizing:border-box;
}
.menu > * {
    margin:0;
}
.menu hr{
    border-bottom:0.5px dashed black;
    border-top:none;
    width:100%;
}
.lignemenu {
    padding-left: 2em;
    margin:0.5em 0;
}
figure {
    position:relative;
    margin:0;
}
figure img {
    display:block;
}
figcaption {
    opacity:0;
    position:absolute;
    text-align:center;
    color:white;
    background-color:rgba(76,67,67,.9);
    top:0;
    bottom:0;
    right:0;
    left:0;
    box-sizing:border-box;
    vertical-align:top;
}
.encadre {
    margin:2em;
    border:5px solid white;
    align-items:center;
    width:100%;
    height:85%;
    text-align:center;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    font-weight:bold;
    box-sizing:border-box;
}
.encadre p {
    margin:0;
}
figure:hover figcaption {
    opacity:1;
    transition:1s;
}
.price {
    font-size:50px;
    margin-bottom:0;
}
.seemore {
    background-color:#4c4343;
    color:white;
    margin: 1.5em 1em 2em 1em;
    font-weight:bold;
    font-size:1rem;
    justify-content:center;
    align-items:center;
}
.forkknife {
    width:2rem;
    margin:0.4em 0;
    padding-right:1em;
}
.price img {
    width:3rem;
    height:4rem;
}

/***************************FOOTER*******************************/
footer {
    background-image:url("images/footer-bg.jpg");
}

/****Prefooter*******/
.prefooter {
    flex-direction:column;
    color:white;
    margin:0;
}
.prefooter i {
    color:white;
    font-size:1.7em;
}
.prefooter ul {
    width:120px;
    list-style:none;
    margin:auto;
    padding:0;
    justify-content:space-between;
}
.colprefoot {
    text-align:center;
}
.titreprefoot {
    font-family:"Merienda", sans serif;
    font-size:20px;
    font-weight:bold;
    margin-top:2em;
    margin-bottom:0.5em;
}
.prefooter hr{
    border-bottom:0.5px dashed white;
    border-top:none;
    margin:1em;
}

/****Footer 3wa********/
.footer {
	padding: 2em;
	text-align: center;
	color: #fff;
	background-color: #444;
	margin-top:3em;
}
.footer a {
    text-decoration:none;
    color:#DD5735;
}
.footer a:hover {
	text-decoration: underline;
	color: #000;
}
.footer img {
    width:60px;
}

/******************************************************PAGE MENUS**************************************************/
#maincourses {
    justify-content:center;
    flex-direction:column;
    align-items:center;
}
.controls {
    width:450px;
    justify-content:space-between;
}
#maincourses .button {
    text-transform:uppercase;
    font-weight:900;
    background-color:#ebe3db;
    text-align:center;
    font-weight:bold;
    flex-basis:15%;
    padding:0.5em 0.3em;
    cursor:pointer;
    letter-spacing:3px;
    border:none;
    padding:0.5em 1em;
}

.selectedmaincourses {
    background-color:#950000;
    color:white;
}
.grid {
    display:grid;
    background-color:#ebe3db;
    gap:1em;
    margin: 2rem 0;
}
#choose {
    color:black;
}
#gridmaincourses {
    grid-template-areas:
        "fis1 veg1"
        "mea1 fis2"
        "mea2 veg2"
        "mea2 fis3"
        "veg3";
    grid-template-columns:1fr 1fr;
}
#fish1 {
    grid-area:fis1;
}
#fish2 {
    grid-area:fis2;
}
#fish3 {
    grid-area:fis3;
}
#meat1 {
    grid-area:mea1;
}
#meat2 {
    grid-area:mea2;
}
#meat3 {
    grid-area:mea3;
}
#vegan1 {
    grid-area:veg1;
}
#vegan2 {
    grid-area:veg2;
}
#vegan3 {
    grid-area:veg3;
}
#gridmaincourses figure:hover {
    transform:scale(1.1);
    transition:1s;
}
.legendmenus {
    font-family:"Merienda", sans serif;
    font-size:20px;
}
/***********************************************************media queries**********************************************************/
@media screen and (min-width:980px) {
    .container {
        max-width:1300px;
        margin:auto;
    }
}
@media screen and (min-width:780px) and (max-width:1100px) {
    header nav {
    flex-direction:row;
    justify-content:space-around;
    }
    header nav a {
        width:auto;
        padding:0.5em 1em;
        border:none;
    }
}
@media screen and (min-width:1100px) {
    header, .logo, header nav {
    flex-direction:row;
    }
    header, header nav {
        justify-content:space-between;
    }
    header nav {
        background-color:white;
        width:450px;
        padding-right:2em;
    }
    header nav a {
        flex-basis:15%;
        border:none;
        padding:0.5em 0.3em;
    }
    .logo {
        padding:1em;
        margin-bottom:0;
    }
    .logo > * {
        margin:0.5em;
    }
    .logo img {
        width:150px;
    }
    #welcome img {
        float:right;
        width:500px;
        margin-left:2em;
    }
    #menus {
        flex-direction:row;
        justify-content:space-between;
    }
    .menu{
        width:32%;
    }
    #gridmaincourses {
        grid-template-columns:repeat(3, 1fr);
        grid-template-areas:
            "fis1 veg1 mea1"
            "fis2 mea2 veg2"
            "mea2 fis3 veg3";
    }
}
@media screen and (min-width:760px) {
    .prefooter {
        flex-direction:row;
        justify-content:space-around;
    }
    .colprefoot {
        width:30%;
    }
}