/* Le code CSS de la démo */

/*mobile first*/

* {
    box-sizing: border-box;
    /* On spécifie que la largeur (width) de chaque boîte comprend le padding et la bordure (par défaut, c'est seulement la largeur du contenu) */
}

:root {
    --MarronColor: #4c4343;
    --BeigeColor: #ebe3db;
    --rougeColor: #950000;
}

html {
    font-size: 62.5%;
    /* 1rem = 10px (la formule est 10/16*100) la taille par défaut étant 16px */
}

body {
    font-size: 1.8rem;
    font-family: 'Athiti', sans-serif;
    margin: 0;
    /*padding: 1rem;*/
    line-height: 1.5;
    color: #555;
    background-color: #fff;
    /*max-width: 1400px;*/
    /*font-family: 'Merienda', cursive;*/
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
    padding: 1em;
    /*border:1px solid black;*/
}

a {
    text-decoration: none;

}

/*header*/

.header {
    /*border:1px solid black;*/
    /*width : 100%;*/
    margin: 2em auto 1em auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    /*background-color:var(--BeigeColor);*/
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header img {
    width: 100px;
}

h1,
h2,
h3 {
    font-family: 'Merienda', cursive;

}

.header h1 {
    text-transform: uppercase;
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    white-space: nowrap
}
h1, h2, .menus h3, .menu li{
    display:flex;
    justify-content:center;
    /*align-items:center*/
}
h1::before,
h2::before,
.menus h3::before,
.menu li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f005";
    padding-right: 0.5em;
    font-size: 0.5em;
 
    color: var(--rougeColor);
    /*width : 2px;*/
}

h1::after,
h2::after,
.menus h3::after {

    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f005";
    font-size: 0.5em;
    padding: 0 1rem;
    color: var(--rougeColor);
    /*display:inline-block;*/
    /*width : 2px;*/
}

.navTop {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-right: 0;

}

.navTop ul {
    list-style: none;
    padding: 0;
    width: 100%;
    margin-bottom: 0;
}

/*.navTop li {*/

/*    padding: 0 2em;*/

/*}*/

.navTop a {
    display: inline-block;
    /*text-decoration: none;*/
    background-color: var(--BeigeColor);
    color: #000;
    font-family: 'Merienda', cursive;

    width: 100%;
    border-bottom: var(--MarronColor) 1px solid;
    transition: all 1s;
}

.navTop .preums {
    border-top: var(--MarronColor) 1px solid;
}

.navTop a:hover {
    color: #fff;
    background-color: var(--rougeColor);
}

.navTop .courant {
    background-color: var(--MarronColor);
    color: #fff;

}

/*section image*/

/*.home{*/

/*    background-image:url("../instructions/ressources/images/star-solid.svg");*/

/*}*/

img {
    width: 100%;
}

/*section welcom*/

.welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome img {
    width: 100%;
    order: 2
}

.welcome h2 {
    order: 1;
}

.welcome article {
    order: 3;
}


/*section menu*/

.menus {
    display: flex;
    flex-direction: column;
    align-items: center;

}



.menu {
    background-color: var(--BeigeColor);
    display: flex;
    flex-direction: column;
    margin: 1em 0;
    padding: 1em 0;

}

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

.menu figure,
.mixmenu figure
{
    position: relative;
    margin: 0;
}


figure figcaption {
    /*display: none;*/
    position: absolute;
    top: 0;
    bottom: 7px;
    right: 0;
    left: 0;
    background-color: rgb(76, 67, 67);
    color: #fff;
    outline-offset: -2em;
    outline: 5px #fff solid;
    /*margin: 3em;*/
    opacity: 0;
    transition: all 1s;
    text-align: center;
}

.menu figure:hover figcaption, 
.mixmenu figure:hover figcaption {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0.9;

}

figcaption>p {
    font-size: 5rem;
    margin: 0;
}

figcaption p+p {
    font-size: 1.6rem;
    margin: 0.5em;
}

.menu ul {
    padding-left: 0;
}

.menu li {
    border-bottom: 1px dashed var(--MarronColor);
    list-style: none;
    width: 100%;
    padding-left: 2em;
    font-size: 1.5rem;
    display:flex;
    justify-content: flex-start;
}

.menu .more {
    margin: 0 1em;
    background-color: var(--MarronColor);
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    padding: 0.5em;
    transition: background-color 5s;
}

.menu .more::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f2e7";
    padding-right: 0.5em;
    color: #fff;
}

.menu .more:hover {
    background-color: var(--rougeColor);
}

/*footer*/

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("../instructions/ressources/images/footer-bg.jpg");
    color: var(--BeigeColor);
    padding: 1em;
    width: 100%;

    /*max-width: 1400px;*/
    margin-left: auto;
    margin-right: auto;


}

.footer article {
    width: 100%;
    text-align: center;
    margin-bottom: 2em;
    font-size: 1.5rem;
    line-height: 1;
}



.foot h3 {
    margin-top: 0;
    border-bottom: 1px dashed var(--BeigeColor);
    padding-bottom: 1em;
    font-size: 1.8rem;

}

.foot p {
    margin: 0.5em 0;
}

.SN {
    display: flex;
    justify-content: center;
}

.foot a {
    color: var(--BeigeColor);
    font-size: 2rem;
    padding: 0 2em;
}


/*responsive tablette*/

@media screen and (min-width: 780px) {

    .navTop ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;

    }
    .navTop li {
        width: 25%;
        background-color: var(--BeigeColor);
    }
    .navTop a {
        border: none;
        width: 50%;


    }
    .navTop .preums {
        border-top: none
    }
    .footer {
        flex-direction: row;
        align-items: baseline;
        /*white-space:nowrap;*/
        font-size: 1rem;

    }
    .foot {
        margin: 0 1em;
        /*width : 25%;*/
        /*font-size:0.5rem;*/
    }


    .foot a {
        padding: 0 1em;
    }
    .SN {
        justify-content: center;
    }
}

/*responsive PC*/

@media screen and (min-width: 980px) {
    .body {
        max-width: 1400px;
        margin-right: auto;
        margin-left: auto;

    }
    .header {
        flex-direction: row;
        margin-left: auto;
        margin-right: auto;
        max-width: 1400px;
        justify-content: space-between;
        padding: 1em;
    }
    .header h1 {
        white-space: nowrap;
    }
    .logo {

        flex-direction: row;
        align-items: center;
    }

    .navTop {
        display: flex;
        justify-content: flex-end;
        width: 50%;

    }

    .navTop ul {
        margin-bottom: 1em;
        justify-content: flex-end;
    }
    .navTop li {
        padding-left: 1em;
        background-color: #fff;
    }

    .navTop a {
        border: none;
        padding: 0.5em 1em;
        width: 100%;
    }
    .container {
        max-width: 1400px;
    }

    /*section welcome*/
    .welcome img {
        float: right;
        width: 40%;
        order: 4;
        padding-left: 1em;
    }

    /*section menus*/
    .menus {
        flex-direction: row;
        justify-content: space-around;
    }
    .menu {
        width: 32%;
    }
    
    /*.menu li{*/
    /*    justify-content:flex-start;*/
    /*}*/


}

/******************************************/

/*Page MENU**********************************/

/************************************************/

.details h2 {
    margin-top: 0;
}

.pageMenu p {
    text-align: center;
}

.details nav {
    text-align: center;
    margin-bottom: 1em;
}

.details .button {
    border: none;
    padding: 0.5em 1em;
    background-color: var(--BeigeColor);
    font-weight: bold;
}

:focus-visible {
    outline: none
}

.details .button:focus {
    background-color: var(--rougeColor);
    color: #fff;

}

.meatB:focus img {
    display: none;

}
/*.mixmenu figure*/
/*{*/
/*    width : 48%;*/
/*}*/
    
.pageMenu article {
    background-color: var(--BeigeColor);
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

    /*grid-template-columns:  minmax(100px, 50%)*/
    /*                        repeat (3, auto) 25% ;*/
    gap: 1em;
}

.pageMenu img {
    margin: 0.5em 0;
    transition: transform .5s;

}

.pageMenu img:hover
{
    transform : scale(1.5);
}
/*responsive tablette*/

@media screen and (min-width: 780px) {

   .mixmenu figure
{
    width : 48%;
}





}

/******************************************/

/*Page Contact**********************************/

/************************************************/

.pageContact p{
    text-align:center;
}

.pageContact p+p{
    font-size : 1rem
}

.pageContact form {
    background-color:var(--BeigeColor);
        font-family: 'Athiti', sans-serif;
    padding : 2em;
    display:flex;
    flex-wrap: wrap;
    justify-content:space-between;
    align-items:center;
}

.pageContact legend{
        font-family: 'Merienda', cursive;
        font-weight:bold;

}
.pageContact .Fdetail,
.pageContact .Freserv{
    width : 40%;
    display:flex;
    flex-direction:column;
    
}
.Request{
    width : 100%;
    margin-top:1em;
    /*text-align:center;*/
}
.Request textarea{
    width : 100%;
}
.pageContact label::before,
.pageContact span::before
{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f005";
    padding-right: 0.5em;
    font-size: 0.5em;

    color: var(--rougeColor);
}
.toolbar{
    text-align:center;
    width : 100%;
    margin-top:2em;
}
.toolbar button{
    background-color:var(--MarronColor);
    color:#fff;
    border-radius:0.5em;
    padding : 0.5em 6em;
    
}

.pageContact .map{
    width : 100%;
    border : 1px solid var(--MarronColor);
}

.pageContact iframe{
    width : 100%;
}



/*responsive tablette*/

@media screen and (min-width: 400px) {

 
    .toolbar button
    {
        padding : 0.5em 8em;
    }
}

/******************************************************/
/*ABOUT*/
/******************************************************/


.video{
    display:flex;
    justify-content: center;
}

.pageAbout video{
    width : 50%;
}

.pageAbout article {
    background-color: var(--BeigeColor);
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

    /*grid-template-columns:  minmax(100px, 50%)*/
    /*                        repeat (3, auto) 25% ;*/
    /*gap: 1em;*/
}

.pageAbout article div{
    width : 100%;
    margin : 0.5em;
}

.pageAbout article div p{
    text-align:center;
    margin-top: 0;
}

/*responsive tablette*/

@media screen and (min-width: 780px) {
.pageAbout article div{
    width : 45%;
}
}