body {
    margin: 0;
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    background-image: url(image/background.jpg);
  
  }
  .search-container {
    display: flex;
    justify-content:flex-end;
    align-items: center;
    gap: 2rem;
  }
  .search-box {
    position: relative;
    width: 100%;
    max-width: 350px;
  }
  .search-box input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    outline: none;
  }
  .search-box button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
  }
  .search-box button img {
    width: 24px;
    height: 24px;
  }
  .search-box input::placeholder {
    color: #999;
    font-style: italic;
  }
  .search-box input:focus {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }
  .submit{
  color: white;
  background-color: black;
  }
  @media (max-width: 400px) {
    .search-box input {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    .search-box button img {
        width: 20px;
        height: 20px;
    }
  }
  a {
    color: rgb(255, 255, 255);
  }
  
a {
    color: rgb(255, 255, 255);
}
  
    .carte {
        width: 33%;
        aspect-ratio: 1 / 0.7;
        border-radius: 8px;
        position: relative;
        cursor: pointer;
        height: 100vh;
    }
    .bigbox {
        display: flex;
        gap: 6px;
    }
    .carte .image-box{
    width: 100%;
    height: 100%;
    border-radius: inherit;
    
    }
    .carte .image-box img {
      width: 100%;
      height: 100%;
      border-radius: inherit;
      object-fit: cover;
      object-position: 50% 90%;
      transition: 0.5s ease-in-out;
    }
    /* .carte::after{
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid white;
    border-radius: inherit;
    opacity: 0;
    transition: 0.4s ease-in-out;
    }  */
    .texte {
     opacity: 0;
    transition: 0.4s ease-in-out;
    }
    .carte:hover .texte {
        opacity: 1;
    }
    
    .carte:hover img {
        filter: grayscale(1) brightness(0.4);
    }
    .carte:hover::after{
        opacity: 1;
        inset: 20px;
    }
    .content {
        width: 70%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: white;
    }
   h2 {
    font-size: 50px;
   }
  footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
  }
  
  .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-section {
    flex: 1;
  }
  
  .footer-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .footer-section p {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .footer-section ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 5px;
  }
  
  .footer-section ul li a {
    color: #fff;
    text-decoration: none;
  }
  
  .footer-section ul li a:hover {
    text-decoration: underline;
  }
  a:hover {
    color: blue;
  }
  .monproduit:hover img {
    filter: grayscale(1) brightness(0.4);
}

@media (width <800px) {
     .bigbox {
        flex-direction:column;
        align-items:center;
        gap: 2rem;
    }
    .carte {
        width:60%;
        height:100%;
    }
}