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

body{
    background-position: center;
    background-repeat: repeat-y;
    background-size: cover;
    width: 100%;
    margin:auto;
    display: block;
}
#site{
    background-color: #f0ddbf;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header{
    min-width: 320px;
    max-width: 1200px;
    margin: auto;
    display: block;
    width: 100%;
    border: #666666 solid 2px;
    box-shadow: 2px 2px 14px rgba(0,0, 0,0.5);
    margin-bottom: 20px;
    padding: 20px;
}

.navbar a {
    display: none;
}

.logo img{
    margin: auto;
    display: block;
    width: 25%;
}

/* MENU BURGER */
#menuToggle{
  display:block;
  position: fixed;
  top: 22px;
  left: 22px;
  padding: 15px 15px 10px 15px;
  background-color: #f0ddbf;
  border-bottom-right-radius: 70%;
  box-shadow: 2px 2px 14px rgba(0,0, 0,0.5);
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a{
  text-decoration: none;
  color: #f39d6b;
  font-size: 15px;
  transition: color 0.3s ease;
}

#menuToggle a:hover{
  color: #449c4f;
  text-transform: uppercase;
  transition: 1s;
}


#menuToggle input{
  display: block;
  width:40px;
  height: 32px;
  position: absolute;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span{
  display: block; 
  position: relative;
  width: 30px;
  height: 3px;
  margin-bottom: 4px;
  background-color: rgb(235, 153, 40);
  border-radius: 3px;
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child{
  transform-origin: 0% 0%;
}


#menuToggle span:nth-child(3){
    width: 25px;
    background-color: #449c4f;
}

#menuToggle span:nth-last-child(2){
  transform-origin: 0% 100%;
  width: 20px;
  background-color: rgb(231, 168, 7);
}

#menuToggle input:checked ~ span{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #4ab304;
}

#menuToggle input:checked ~ span:nth-last-child(3){
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2){
  transform: rotate(-45deg) translate(0, 1px);
  width: 30px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul{
  transform: none;
}

#menu{
  position: absolute;
  width: 320px;
  height: auto;
  margin: -100px 0 0 -50px;
  padding: 120px;
  padding-top: 120px;
  
  background-color: #f0ddbf;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  border: #2f7401 solid 3px;
  box-shadow: 2px 2px 14px rgba(0,0, 0,0.5);
  text-align: center;
}

#menu li{
  padding: 10px 0;
  font-size: 1.5em;
} 

.header h1{
    width: 70%;
}

/*_______________________________________________****__________________________________________*/
main{
    min-width: 320px;
    max-width: 1200px;
    margin: auto;
    display: block;
    width: 100%;
}

#actualite{
    width: 80%;
    border: #666666 2px solid;
    box-shadow: 2px 2px 14px rgba(0,0, 0,0.5);
    display: block;
    background-color: #eed1a2;
    margin: auto;
    padding: 20px;
}

#actualite h1, h2, p{
    text-align: center;
}

#actualite img{
    margin: auto;
    display: block;
    width: 100%;
}
/*_______________________________________________****__________________________________________*/
#accueil{
   width: 100%;
   border: #666666 2px solid;
   background-color: #f0ddbf;
  box-shadow: 2px 2px 14px rgba(0,0, 0,0.5);
  margin-top: 20px;
  padding: 20px;
}

#accueil img{
    width: 75%;
    margin: auto;
    display: block;
}
#carousel{
    display: flex;
}

#carousel img{
    align-content: space-between;
    width: 25%;
    height: 100px;
}
#carousel img:hover{
    width: 170px;
    height: 125px;
    transition: 2s;
}
#politique{
    background-color: #f0ddbf;
}
#politique p{
    text-align: justify;
    min-width: 320px;
    max-width: 1200px;
    margin: auto;
    display: block;

}
/*_______________________________________________****__________________________________________*/
p{
    color: #666666 ;
}
h2{
    color: #528d6b;
    text-decoration: underline;
}
h1{
    color: #612505;
    text-decoration: underline;
    font-size: 35px;
    text-align: center;
}
/*_______________________________________________****__________________________________________*/

footer{
    min-width: 320px;
    max-width: 1200px;
    margin: auto;
    display: block;
    width: 100%;
    border: #666666 solid 2px;
    padding:20px 20px 10px 20px;
    margin-top: 30px;
    box-shadow: 2px 2px 14px rgba(0,0, 0,0.5);
}

#haut{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#haut img{
    width: 170px;
    height: 150px;
    border-radius: 50%;
}

#aide{
    margin: auto;
    display: block;
}

#aide p{
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
}

#aide a{
    color: #666666;
    text-decoration: none;
    font-size: 12px;
}

#aide h2{

    color: #666666;
    text-decoration: underline;
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
}

#bas{
    width: 100%;
    text-align: center;
    font-size: 10px;
    margin-top: 20px;
    color: #666666;
}

/*_______________________________________________****__________________________________________*/

#main{
    display: flex; 
    flex-direction: column;
    margin-top: 70px;
}
#premiere, #deuxieme, #troisieme{
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

#deux,  #quatre{
    float: right;
    width: 40%;
}

#un, #trois, #cinq{
    float: left;
    width: 40%;
}

#un img, #deux img, #trois img, #quatre img, #cinq img{
    width: 100%;
    border: solid 3px #666666;
    border-radius: 10px;
}

#un button, #deux button, #trois button, #quatre button, #cinq button{
    background-color: #f39d6b;
    border: solid 1px #666666;
    border-radius: 10px;
    width: 100%;
    height: 75px;
    padding: 4px;
    margin-top: 5px;
    margin-bottom: 15px;
}

#un p, #deux p, #trois p, #quatre p, #cinq p{
    text-decoration: none;
    color: #666666;
}

#SucréetGourmand, #Sucrésalé, #remede{
    width: 100%;
    height: 450px;
    text-align: center;
    padding: 0 10px;
}



main h2{
    text-align: center;
    color: #2f7401;
    margin-bottom: 25px;
    margin-top: 70px;
}

#paindepice, #legume, #baume {
    float: left;
    width: 40%;
}

#deuxa, #marinade, #rem{
    float: right;
    width: 40%;
}

#paindepice img, #legume img, #baume img, #deuxa img, #marinade img, #rem img{
    width: 90%;
    height: 200px;
    border: solid 3px #666666;
    border-radius: 10px;
}

#paindepice button, #legume button, #baume button, #deuxa button, #marinade button, #rem button{
    background-color: #f39d6b;
    border: solid 1px #666666;
    border-radius: 10px;
    width: 90%;
    height: 75px;
    padding: 4px;
    margin-top: 5px;
    margin-bottom: 15px;
}

#paindepice p, #legume p, #baume p, #deuxa p, #marinade p, #rem p{
    text-decoration: none;
    color: #666666;
}

#personnel{
    margin-top: 50px;
}

#contact{
    height:800px;
    display: flex;
    align-items: center;
    flex-direction: column;
    border: #666666 solid 2px;
    padding:20px 20px 10px 20px;
    margin-top: 15px;
    box-shadow: 2px 2px 14px rgba(0,0, 0,0.5);
}

#contact h3{
    font-size: 20px;
}

#contact h2{
    font-size: 30px;
    margin-top: 50px;
    color: #2f7401;
    text-decoration: underline;
}

#contact p{
    font-size: 15px;
}

#qrcode{
    border: #666666 solid 2px;
    padding:20px 20px 10px 20px;
    margin: 25px 0;
    box-shadow: 2px 2px 14px rgba(0,0, 0,0.5);
}

#qrcode img{
    width: 100%;
}

#button button{
    background-color: #f0ddbf;
    border-radius: 20px;
    width: 300px;
    padding: 25px;
    border: 2px solid #666666;
}

#button a{
    text-decoration: none;
    color: #2f7401;
}




/*______________________________________________________________________________________________________________________________________*/


@media screen and (min-width:430px){
    #un img, #deux img, #trois img, #quatre img, #cinq img{
        height: 200px;
    }
}

@media screen and (min-width:660px){
    #un img, #deux img, #trois img, #quatre img, #cinq img{
        height: 225px;
    }
    #SucréetGourmand, #Sucrésalé, #remede{
        height: 550px;
    }
    #paindepice img, #legume img, #baume img, #deuxa img, #marinade img, #rem img{
        height: 250px;
    }
}

@media screen and (min-width:765px){
    #actualite{
        float: left;
        width: 35%;
    }
    #actualite img{
        width: 90%;
    }
    #accueil{
        float: right;
        width: 60%;
        margin-top: 0;
    }

}

@media screen and (min-width:1020px){
    .navbar a{
        display: inline-block;
        color: #f39d6b;
        margin-left: 20px;
        
        border: #2f7401 solid 2px;
        text-decoration: none;
        font-size: 25px; 
        padding: 10px;
    }
    .navbar{
        display: block;
        width: 60%;
        height: 150px;
        border-radius: 20px;
        margin:auto;
        text-align: center;
        padding-left: 32px;
        display: flex;
        align-items: center;
    }
    #menuToggle{
        display: none;
    }
    .logo{
        float: left;
    }
    .logo img{
        margin-left: 0;
        width: 150px;
    }
    .navbar a:hover{
        color: #666666;
        background-color: #eed1a2;
        border: #449c4f solid 2px;
        text-transform: uppercase;
        transition: 1s;
    }
    #un img, #deux img, #trois img, #quatre img, #cinq img{
        height: 300px;
    }
    #paindepice img, #legume img, #baume img, #deuxa img, #marinade img, #rem img{
        height: 350px;
    }
    
    
}

@media screen and (min-width:1080px){
    #un img, #deux img, #trois img, #quatre img, #cinq img{
        height: 400px;
    }
    #paindepice img, #legume img, #baume img, #deuxa img, #marinade img, #rem img{
        height: 450px;
    }
    #SucréetGourmand, #Sucrésalé, #remede{
        height: 650px;
    }
}