@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-img {
      width: 130% !important;
      max-width: 600px;
    }
   
    .scroll-marginc { scroll-margin-top: 60px; }
  }
   @media (max-width: 991px) {
    .top-60 { top: 90px !important; }
    h1 { font-size: 2.8rem !important; }
    h2 { font-size: 1.7rem !important; }
    h3 { font-size: 1.15rem !important; font-weight: bold; }
    h5 { font-size: 1.1rem !important; }
    p { font-size: 1.1rem !important; }
    .scroll-margin {
      scroll-margin-top: 90px !important;
    }
    .navbar-logo {
      height: 80px !important;
    }
  
    .navbar-nav .nav-link {
      font-size: 1rem !important;
      
    }
    #about p{
      font-size: 0.875rem !important;
    }
    .btn-lg {
    font-size: 1rem !important;
  
  }
  .btn-pizza {
    font-size: 1rem !important;
  }
   }
  
  @media  (max-width: 767.98px) {
    .scroll-margin {
      scroll-margin-top: 170px !important;
    }
    h1 { font-size: 2.3rem !important; }
    h2 { font-size: 1.6rem !important; }
     h5 { font-size: 1rem !important; }
    p { font-size: 1rem !important; }
    li { font-size: 1rem !important; }
    
    .navbar-logo {
      height: 75px !important;
    }
    .navbar-nav .nav-link {
      font-size: 0.9rem !important;
    }
    .hero-section p {
      text-align: center !important;}
  
      .scroll-marginc { scroll-margin-top: 70px; }
      .scroll-margin2 {  scroll-margin-top: 150px }
  }
  responsive-location-btn {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.875rem !important;
  }
  
  
  /*----------- Media Query pour les petits écrans -------*/
  @media (max-width: 575.98px) {
   
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1rem !important; }
    
    p { font-size: 0.9rem !important; }
    li{ font-size: 0.98rem !important; }
    .navbar-logo {height: 70px !important;}
    #about p{
      font-size: 0.875rem !important;
    }
  
    .btn-pizza {
     font-size: 0.9rem !important;
  }
  .carousel-img {
      width: 100% !important;
      
    }
  .btn-lg {
    font-size: 0.9rem !important;
  
  }
  
  .pizza-colors {
      background-color: rgba(0, 0, 0, 1) !important; /* opacité 100% */
    }
    .responsive-location-btn {
      padding: 0.3rem 0.6rem !important;
      font-size: 0.875rem !important;
  }
   
  }
  
  
  /* Styles pour très petits écrans (≤ 367.98px) */
  @media (max-width: 367.98px) {
    .produit .btn { font-size: 0.9rem; }
    .credits {
      padding: 15px 0;
    }
    .credits .container > div {
      flex-direction: column;
      gap: 10px;
    }
    img[alt="Logo du créateur"] {
      height: 20px !important;
      vertical-align: middle;
    }
    .container {
      padding-left: 15px;
      padding-right: 15px;
    }
  }
  
  
/* -------------Style du pied de page------------------------------- */
.contact {
  background: url('../images/aboutus.png') center / cover no-repeat fixed;
  min-height: auto;
}

.btn-localisation {
  background-color:#198754;
  transition: background-color 0.3s ease;
}

.btn-localisation:hover {
  background-color: #272b28!important;
}

/*----------------- Credits Section ------------------------------*/
.credits {
  background-color: black;
}

.credits img {
  height: 30px;
  width: auto;
}

.credits a {
  transition: opacity 0.3s ease;
}

.credits a:hover {
  opacity: 0.8;
}