

* {
    /* border-box indique au navigateur de
     tenir compte de toute bordure et remplissage 
     dans les valeurs que vous spécifiez pour la largeur 
     et la hauteur d'un élément. */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* ==== Navbar ==== */
body {
    font-family: 'Oswald', sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  header .menu_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;

    position: inherit;
  }
  header {

    height: 100vh;
    width: 100%;
    background-image: url("/image/home/backgroundHomepage2.jpeg");
    background-size: cover;   
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
  }

  #HeaderAccueil::before
  {
      content: '';
      background-color: rgba(0, 0, 0, 0.312);
      width: 100%;
      height: 100vh;

      position: absolute;
  }
  
  .logo {
    cursor: pointer;
  }


  .logo img {
      width: 200px;
  }
  
  .nav__links a,
  .cta,
  .overlay__content a {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #edf0f1;
    text-decoration: none;

  }
  
  .nav__links {
    list-style: none;
    display: flex;
  }
  
  .nav__links li {
    padding: 0px 20px;
  }
  
  .nav__links li a {
    transition: color 0.3s ease 0s;
  }
  
  .nav__links li a:hover {
    color:#c7a17a;
  }
  
  .cta {
    padding: 9px 25px;
    background-color:#C7A17A;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease 0s;
  }
  
  .cta:hover {
    background-color: rgba(0, 136, 169, 0.8);
  }
  
  /* Mobile Nav */
  
  .menu {
    display: none;
  }
  
  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: #24252a;
    overflow-x: hidden;
    transition: width 0.5s ease 0s;
  }
  
  .overlay--active {
    width: 100%;
  }
  
  .overlay__content {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .overlay a {
    padding: 15px;
    font-size: 36px;
    display: block;
    transition: color 0.3s ease 0s;
  }
  
  .overlay a:hover,
  .overlay a:focus {
    color: #0088a9;
  }
  .overlay .close {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: #edf0f1;
  }
  
  @media screen and (max-height: 450px) {
    .overlay a {
      font-size: 20px;
    }
    .overlay .close {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  }
  
  @media only screen and (max-width: 800px) {
    .nav__links,
    .cta {
      display: none;
    }
    .menu {
      display: initial;
    }
  }
  
/* ============================================================ */
.TextHeaderAccueil {
    text-align: center;
      color: #f9f9fb;
      position: absolute;
      top: 50%;
      left: 10%;
      
    transform: translate(-50px, -140px); 
  }
/* ============================== HEADER ======================== */


/* pour monter la couluer du text */

.imagelogo {
    width: 30%;
} 
h1 {
    line-height: 20px;
}
h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    padding-bottom: 30px;
}
h3 {
    font-family: 'Open Sans', sans-serif;
    padding-bottom: 30px;
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
    color: #C7A17A;
}
h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    color: #f9f9fb;
    margin-bottom: 20px;   
    }
h5 {
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    color: #C7A17A;
}

p {
    overflow: hidden;
    text-overflow: ellipsis;
 

    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    white-space: normal;


    margin-top: 20px;
}
/*======== button========= */
button {
  background-color: #C7A17A;
  transition: 0.4s;
  border: #C7A17A 1px solid;
  border-radius: 2px;
  padding: 6px;
}

button:hover {
    background-color: #f9f9fb;
    color: black;
}

.bt-buynow {
  width: 100px;
  cursor: pointer;

}
.bt-addtocart {

  display: flex;
  justify-content: center;
  cursor: pointer;
}

/* ============================== HEADER ======================== */


#favorite  ul {
display: flex;
justify-content: center;

}
#favorite  ul li {
    list-style: none;
    margin-right: 30px;
    
}
/* ============================================================ */
.fa-search,  fa-shopping-cart {
  color: #F5F5F5;
}
.fa-heart-o
{
 color: black;
}
/* .fa-heart-o:hover {
    color: red;
}
 */


/* ============================ */


span {
    margin-right: 10px;
    font-size: 20px; 
}
.cover-shop-cafe {
    display: flex;
    flex-wrap: wrap
    ;
}

img {
    max-width: 100%;
    height: auto;
}
.photo {

    width: 250px;
    height: 250px;
    background-color: #F5F5F5;
    margin: 20px;
    border: 1px solid #F5F5F5 ;
    display: block;
    border: 2px solid #F5F5F5;
    border-radius: 25px;
    
}

/* Animation layer photo------ */
.layerbig{
    width: 100%;
    height: 100%;
    position: relative;
    }
    
.layer {
        width: 100%;
        height:100%; 
    }
 .layer1 {
        width: 250px;
        height:250px;
        background-color: black;
        opacity: 0;
        top: 0;
        left: 0;
        position: absolute;
        transition: 0.4s;
        border: 2px solid rgba(113, 111, 108, 0);
        border-radius: 25px;
    }
    .layerbig:hover .layer1 {
        opacity: 40%;
    }
.Tarif p {
     color: black;
}

.Tarif p:first-child {
    color:black;
}
.Tarif p:nth-child(2) {
    color:#C7A17A;
}



/* =========================================================== */

/* =============================footer  =====================*/

footer {
    background-color: black;
    color: #f9f9fb;
    margin-top: 30px;
    padding-top: 30px;
}

footer img {
    width: 200px;
    
}
/* menu navbar  */


.sectionAddtoCart a span {
    color: black
    !important
    ;

}
.addtocart {
    margin: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;

}
.addtocart a {
    list-style: none;
    text-decoration: none;
  color: #161616;

}
.fa-shopping-cart {
    color: #fefdfd;
}

/* =========== */
.containerAddtocart {
    display: flex;
    justify-content: space-around;
}
 @media screen and (max-width:799px ) {
  .containerAddtocart {
    display: block;
  }

} 

/* =========== */

.add-to-carte-photo img {
  width: 100px;
}
.containerAddtocart .cover-shop-cafe {
    width: 50%;
}
.AddtoCartTotal {
    width: 45%;
    margin-right: 20px;
}
@media screen and (max-width:799px ) {
  .containerAddtocart .cover-shop-cafe {
    width: 100%;
}
.AddtoCartTotal {
   width: 100%;
}
} 
/* ========= */
 .nameOfproduct, .titre-nameOfproduct , .total-nameOfproduct {
   display: flex ;
   justify-content: space-between;
 }
.titre-nameOfproduct  {
  color:black;
  font-size: 25px;
}
aside {
  background-color: #ebe3db;
  padding: 30px;
}

.counter-minus {
  cursor: pointer;
}
.counter-plus {
  cursor: pointer;
}
