/* reinitialisation du CSS des navigateurs */
*,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*------------------- BARRE DE NAVIGATION------------------------ */

.en-tete {
  display: flex;
  width: 100%;

  background: linear-gradient(rgba(2, 33, 46, 0.9), rgba(255, 255, 255, 0));
  position: fixed;
  z-index: 999;
  
}

.imglogo {
  max-width: 300px;
  
  
}
.logo{
  min-width: 300px;
  padding-left: 20px;
 
  
  
}
.headernav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: beige;
}

.headernav ul .menu {
  list-style-type: none;
  display: flex;
}
.headernav ul .menu li {
  padding: 10px;
  margin-right: 10px;
  font-size: medium;
}
/* changement d'apparence si hover: */
.headernav ul .menu li:hover {
  background: linear-gradient(rgba(250, 250, 250, 0.3), rgba(0, 0, 0, 0.1));
  border-radius: 10px;
}
/* Enlever le soulignement et la couleur bleue du lien: */
.headernav ul li a {
  text-decoration: none;
  color: inherit;
}

.headernav input[type="checkbox"] {
  display: none;
}

.headernav .hamburger {
  display: none;
  font-size: 24px;
  user-select: none; /*empeche l'element d'etre selectionnable */
}

.menu .fa-brands {
  color : #95B08C;
}

/*------------------- SECTION 1---------------------------------*/
#section1 {
  
  background-image: linear-gradient(rgba(0, 0, 20, 0.4), rgba(0, 0, 0, 0.3)),
    url(../Images/Head/MediterraneanFood.jpg);
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  background-repeat: no-repeat, no-repeat;
}
.cont_titre {
  text-align: center;
  color: beige;
  max-width: 100%;
}
.cont_titre h1 {
  font-family: "Yeseva One", cursive;
  
  letter-spacing: 5px;
  font-weight: lighter;
  font-size: 70px;
  padding-top: 250px;
}
.cont_titre img {
  max-width: 30%;
}


.cont_titre .bouton1 {
  margin: 10px;
  padding: 10px;
  min-height: 30px;
  border: none;
  border-radius: 5px;
  margin-bottom: 50px;
  font-family: "Roboto", sans-serif;
  box-shadow: 0px 3px 19px 6px rgba(0, 0, 0, 0.39);
  background-color: rgba(149, 176, 140, 0.5);
  color: beige;
  transition: all 0.5s;
}
.cont_titre .bouton2 {
  margin: 10px;
  padding: 10px;
  min-height: 30px;
  border: none;
  border-radius: 5px;
  margin-bottom: 50px;
  font-family: "Roboto", sans-serif;
  box-shadow: 0px 3px 19px 6px rgba(0, 0, 0, 0.39);
  background-color: rgba(245, 245, 220, 0.5);
  color: rgb(78, 95, 83);
  transition: all 0.5s;
}
.cont_titre .bouton1:hover {
  box-shadow: 0px 3px 19px 6px rgba(0, 0, 0, 0.39);
  background-color: rgba(245, 245, 220, 0.5);
  color: rgb(78, 95, 83);
  transform: scale(1.2);
  transition: all 0.5s;
}
.cont_titre .bouton2:hover {
  box-shadow: 0px 3px 19px 6px rgba(0, 0, 0, 0.39);
  background-color: rgba(149, 176, 140, 0.5);
  color: rgb(245, 245, 220);
  transform: scale(1.2);
  transition: all 0.5s;
}

/*------------------- SECTION 2---------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
#section2 .card {
  max-width: 600px;  
  padding: 10px;
  
}
.paragraphe {
  font-size: larger;
  line-height: 28px;
  margin: 20px auto;
  padding: 10px;
}
h2 {
  font-size: xx-large;
  margin-top: 50px ;
  color: #4E5F53;
  font-family: "Yeseva One", cursive;
  
}
#section2 .divider{
  max-width: 60%;
}
#section3 h2,#section5 h2{
  color: beige;
  
}
#section2 .image{
  max-width: 100%;
  margin-top: 10%;
  object-fit: contain;
 
}
/*------------------- SECTION 3---------------------------------*/
#section3 {
  background-image: url(../Images/Courses/Basilic.jpg);
  background-size: cover;
  background-attachment: fixed;
  padding: 20px;
}

#section3 .cont_titre {
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  color: beige;
  max-width: 500px;
  margin: 50px auto 50px 60%;
  padding: 20px;
}
#section3 ul {
  background-image: url(../Images/Courses/pain.png),
    url(../Images/Courses/Epices.png),
    url(../Images/Courses/Huile_epicee.png);
  background-repeat: no-repeat, no-repeat, no-repeat;

  background-position: 80%, center, 20%;
  list-style-type: none;
  margin: 50px auto;
  padding: 10px;
}
#section3 li {
  font-size: 20px;
  margin: 15px;
}
/*------------------- SECTION 4--LA CARTE-------------------------------*/
#section4 {
  max-width: 1200px;
  margin: 10px auto;
  text-align: center;
}


#section4 .plat {
  margin: 30px;
}

#section4 img{
  max-width: 50%;
}

.nom_plat {
  margin: 10px;
  font-size: x-large;
  color: #4E5F53;
}
.description {
  padding: 5px;
  margin: 10px auto;
  border-top: 1px solid #95B08C;
}
#section4 .cadre {
  border: 1px solid #95B08C;
  padding-bottom: 20px;
  position: relative;
  margin: 15px, auto;
}
#section4 .cadre::before {
  content: "Special";
  max-height: 20px;
  background-color: #95B08C;
  color: beige;
  padding: 5px 10px;
  position: absolute;
  top: -35px;
  left: 300px;
  margin-top: 12px;
}
.demicard {
  max-width: 600px;
}

/*------------------- SECTION 5--reviews-------------------------------*/
#section5 {
  background-image: url(../Images/Courses/burrata-cheese-salad.JPG);
  padding: 100px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#section5 .container {
  max-width: 500px;
  max-height: 1000px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5);
  color: beige;
  padding: 50px;
  line-height: 20px;
}

#section5 h2 {

  
}
#section5 img {
  margin: 20px;
}
/*------------------- SECTION 6 Contact Form-------------------------------*/

#section6 .card {
  margin: 50px auto;
  max-width: 300px;

  overflow: hidden;
}
#section6 .card img {
  object-fit: contain;
}

#section6 .contact_form {
  margin: 50px auto;
  max-width: 380px;
}


#section6 p {
  margin: 10px auto;
}
.coordonnees {
  margin: 30px auto;
  text-align: start;
  color: #95B08C;
}
.form-group {
  margin: 20px 0;
}
.form-group input {
  margin: 0 auto;
  width: 150px;
  height: 25px;
}
.coordonnees button {
  background-color: #95B08C;
  color: beige;
  height: 30px;
  width: 100%;
  border: none;
  padding: 10px;
}
.bouton {
  margin: 0 auto;
  padding-top: 20px;
}
/* ------------Section 7------------ */

#section7{
  text-align: center;
  margin-bottom: 30px;
  
}
#section7 img{

max-width: 30%;
}
/* ------------FOOTER--------------- */
footer .icones{
  display: flex;
 justify-content: space-evenly;
}
footer {
  background-color: #191919;
  color: beige;
  text-align: center;
}
.colfoot{
  max-width: 300px;
  margin: 0 auto;
  padding: 20px 20px;
  /* border: 1px solid greenyellow; */
}
footer span {
  margin: 20px 0 20px 0;
}
footer p{
  margin: 20px auto;
}
.cont_footer{
  margin: 0 auto;
 max-width: 1200px;
  /* border: 1px solid red; */
}
/*---------------- Display Flex et compagnie------------------*/
.d-flex {
  display: flex;
}
.flex_col {
  flex-direction: column;
}
.justify_between {
  justify-content: space-between;
}
.justify_start {
  justify-content: flex-start;
}
.justify_end {
  justify-content: flex-end;
}
.justify_around {
  justify-content: space-around;
}
.justify_evenly {
  justify-content: space-evenly;
}
.justify_center {
  justify-content: center;
}
.align_center {
  align-items: center;
}
.align_end {
  align-items: flex-end;
}
.align_start {
  align-items: flex-start;
}
.align_baseline {
  align-items: baseline;
}
.align_content_center {
  align-content: center;
}
/* MEDIA QUERIES */

@media screen and (max-width: 1000px) {
  .headernav ul .menu {
    display: none;
    transition: all 0.4s ease;
    position: absolute;
    right: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    text-align: end;
    padding: 16px 0;
    background-color: rgba(51, 51, 51, 0.5);
  }
  .headernav ul .menu li:hover {
    background: none;
    border-radius: 0;
  }

  .headernav ul .menu li + li {
    margin-top: 12px;
  }

  .headernav input[type="checkbox"]:checked ~ .menu {
    /*si la checkbox est checkée*/
    display: block;
  }
  .headernav .hamburger {
    display: block;
    margin-right: 10px;
    border: 1px solid #fafafa;
    border-radius: 10px;
    padding: 5px 8px;
  }
 #section3 .cont_titre{
  margin: 10% 10%;
  padding: 5px;
 
 }
 #section3{
   padding: 0;
 }
 #section4 .cadre::before {
  content: "Special";
  max-height: 20px;
  background-color: #95B08C;
  color: beige;
  padding: 5px 10px;
  position: absolute;
  top: -35px;
  left: 100px;
  margin-top: 12px;
}
.d-flex{
 display: flex;
 flex-direction: column;
}
.cont_titre h1 {
  transform: scale(0.5);
}
#section6{
  align-content: center;
}
}