body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f1f1f1;
  }

  #container-1 {
    display: flex;
    flex-direction: column;
    padding: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 0px 0px 30px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative; /* Nécessaire pour que le pseudo-élément se positionne correctement */
    background-image: url(images/pizza-background.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden; /* Pour s'assurer que le pseudo-élément reste à l'intérieur */
}

#container-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Superposition noire à 50% */
    z-index: 1;
    border-radius: inherit; /* Applique le même border-radius que le conteneur */
}

#container-1 > * {
    position: relative;
    z-index: 2; /* Pour que le contenu reste au-dessus de la superposition */
}

  h1 {
    color: red;
    text-align: center;
    font-size: 80px;
    text-shadow: 2px 2px 2px black;
    font-weight: 800;
  }

  .titre-header {
    color: white;
    text-shadow: 2px 2px 2px black;
  }

  h2 {
    font-size: 40px;
    margin: 0;
  }

  .navbar {
    background-color: transparent !important;
    justify-content: center;
    font-size: large;
  }

  .nav-link {
    color: white;
  }

  .nav-link.active {
    color: red !important;
    font-weight: bold;
    background-color: #f1f1f1;
    border-radius: 15px;
  }

  .nav-link:hover {
    color: #DC3545;
    transition: color 0.3s ease;
  }

  .container-2 {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid #ddd;
  }

  .pizzas-background {
    margin-top: 50px;
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .pizzas-background:hover {
    background-color: #e4e4e4;
  }

  .container-3 {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid #ddd;
  }

  .avis-content {
    background-color: #f9f9f9;
    margin-top: 50px;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .avis-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
  }

  footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 15px;
  }

  footer a {
    color: #DC3545;
    text-decoration: none;
  }

  footer a:hover {
    text-decoration: underline;
  }

  .container-4 {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: transparent;
    margin-bottom: 30px;
  }

  .menu-pub {
    color: gray;
  }

  .menu-pub a {
    color: red;
  }

  .mb-4 {
    margin-bottom: 10px!important;
  }

  .p-4.bg-light {
    background-color: transparent !important;
    border-radius: 80px;
    padding: 20px;
  }

  #btn-header {
    background-color: red;
    border: transparent;
  }

  #btn-header:hover {
    background-color: red;
    border: transparent;
  }

  .container-pizzas {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid #ddd;
  }

  .price {
    color: gray;
    margin: 0px;
    padding: 0px;
  }

  .bi-telephone {
    margin-right: 5px;
  }

  .btn-primary {
    background-color: green;
    border-color: transparent;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
  }

  .btn-primary:hover {
    background-color: rgb(0, 82, 0);
    border-color: transparent;
  }

  .contact-form {
    max-width: 600px;
    margin: 20px auto;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.contact-form h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}
.contact-form .form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
}
.contact-form .btn-custom {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
}
.contact-form .btn-custom:hover {
    background-color: #0056b3;
}

.custom-footer {
  background-color: #343a40;
  color: white;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.9rem;
}
.container-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-item {
  text-align: left;
  margin: 10px;
}
.footer-item h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: red;
}
.footer-item a {
  color: #ddd;
  text-decoration: none;
}
.footer-item a:hover {
  color: red;
  text-decoration: underline;
}

.navbar {
  padding: 15px 30px; /* Ajoute de l'espace autour du menu */
  background-color: #f8f9fa; /* Couleur de fond */
}

.navbar-nav {
  display: flex; /* Aligne les éléments horizontalement */
  gap: 20px; /* Ajoute un espacement entre chaque lien */
  justify-content: center; /* Centre les éléments */
  align-items: center; /* Centre verticalement */
  margin: 0;
  padding: 0;
  list-style: none; /* Supprime les puces des listes */
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block; /* Permet de contrôler le padding sur tout le conteneur */
  padding: 10px 20px; /* Espace entre le texte et les bords du conteneur */
  border-radius: 5px; /* Coins arrondis pour un effet visuel */
  color: white; /* Couleur du texte */
  text-decoration: none; /* Supprime le soulignement */
  transition: background-color 0.3s ease, color 0.3s ease; /* Animation */
}

.nav-link:hover {
  background-color: white; /* Couleur de fond au survol */
  color: red; /* Texte en blanc au survol */
  border-radius: 5px;
}

.nav-link.active {
  background-color: white; /* Couleur de l'élément actif */
  color: red; /* Texte en blanc */
  border-radius: 5px;
}

#mailto {
  color: red;
}

@media (max-width: 768px) {
  #container-1,
  #container-2,
  #container-3,
  #container-4 {
      margin-left: 15px;
      margin-right: 15px;
  }
}