/* styles.css */
:root {
    --primary-color: #f8f3d4;
    --secondary-color: #f1e7a8;
}

body {
    margin: 0;
  font-family: Roboto Slab, sans-serif;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox='0 0 42 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Page-1' fill='none' fill-rule='evenodd'%3E%3Cg id='brick-wall' fill='%23f1e7a8' fill-opacity='0.4'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: #333;
}

.header {
  background-color: #f8f3d4;
  background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox='0 0 42 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Page-1' fill='none' fill-rule='evenodd'%3E%3Cg id='brick-wall' fill='%23f1e7a8' fill-opacity='0.4'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding-bottom: 20px;
}
.arrow {
 position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 15px 0;
  border-color: #fff transparent transparent transparent;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.arrow:hover {
  transform: translateX(-50%) scale(1.2); /* Zoom in by 20% on hover */
}

.logo {
  width: 50vw;
  height: 50vw;
  background-image: url('logo2.png');
  background-size: cover;
  background-position: center center;
}

.product-card {
    transition: transform 0.3s;
    margin: 10px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 10px; /* Add border-radius for rounded corners */
} 

.product-card:hover {
    transform: scale(1.05);
}

.featured-products { 
  justify-content: center; /* Centrer horizontalement */
  align-items: center; /* Centrer verticalement */
  display: flex;
  flex-direction: row; /* Afficher les éléments côte à côte */
  text-align: center;
  padding: 20px;
  height: 100vh;
}

.featured-products h2 {
  font-family: Gagalin;
    font-size: 2.5em;
    color: var(--secondary-color);
}
.product-card img {
    max-width: 20em;
    border-radius: 5px; /* Add border-radius for rounded image corners */
}

.product-card h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 10px; /* Adjust spacing */
}

.product-card p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 10px; /* Adjust spacing */
}


/* Styles pour chaque élément du panier */
li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  margin: 0;
}

button {
    padding: 1.3em 3em;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: #000;
    background-color: #f2f2f2;
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
  }

  button:hover {
    background-color: var(--secondary-color);
    box-shadow: 0px 15px 20px rgba(241, 231, 168, 0.4);
    color: #fff;
    transform: translateY(-7px);
  }

  button:active {
    transform: translateY(-1px);
  }

.about-us {
  background-color: #f1e7a8;
  background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox='0 0 42 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Page-1' fill='none' fill-rule='evenodd'%3E%3Cg id='brick-wall' fill='%23f8f3d4' fill-opacity='0.4'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    height: 100vh;
  color: black;
}

.about-us h2 {
   font-family: Gagalin;
    font-size: 1.8em;
}

.topnav {
   font-family: Gagalin;
 background-color: rgba(241, 231, 168, 0.8);
  transition: background-color 0.5s;
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000; /* Set a high z-index */
}
.topnav.hidden {
  display: none;
}

.topnav a {
  display: inline-block;
  background-color: rgba(241, 231, 168, 0.8);
  color: black;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 25px;
  margin: 0;
}

.topnav a:hover,
.topnav a.active {
  background-color: --secondary-color;
  color: black;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav{
    text-align: right;
     overflow: hidden;
     position: fixed;
     top: 0;
    right: 0;
     width: 40%;
    background-color: rgba(241, 231, 168, 0);
  }
  .topnav a{
            display:none;
   background-color: --secondary-color;
}
  .topnav a.icon {
    float: right;
    display: block;
     background-color: --secondary-color;
  }
  .topnav a:hover {
   background-color: --secondary-color;
   color: black;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: fixed;
                      background-color: rgba(241, 231, 168, 0.6);}
  .topnav.responsive .icon {
    transition: transform 0.3s;
    display: block;
      font-size: 24px;
      margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    transform: none;
     background-color: --secondary-color;

  }
  .topnav.responsive.active .icon {
      transform: rotate(90deg);
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    background-color: rgba(241, 231, 168, 0.6);
    color: black;
    border-bottom: 1px solid black ;
  }
  .topnav.responsive a.active {
     background-color: var(--secondary-color);
     color: black;
   }
}
a {
  text-decoration: none;
   color: inherit;
}
