/*Page css pour la NAVBAR et le FOOTER*/

@import url("https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&display=swap");

/* NAVBAR */ /*partie Gabriel_le_goat (aussi)*/

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f5efff;
  font-family: "Arial";
}

.navbar {
  width: 100vw - 40px;
  background: rgba(6, 88, 182, 0.5) url("img/3920.jpg");
  background-size: cover;
  color: #f5efff;
  font-family: "Goldman";
  align-items: center;
  background-blend-mode: darken;
}

.navContent {
  width: 100vw - 40px;
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
}

.heure-et-chrono {
  display: flex;
  justify-content: space-between;
  backdrop-filter: blur(2px);
  padding: 0px 20px;
  align-items: center;
  gap: 10px;
}

nav ul:not(.liensTel) {
  font-size: 20px;
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

nav .commander {
  color: #357294;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 3px 5px;
  display: flex;
}

.liensTel {
  display: flex;
  flex-direction: column;
  list-style: none;
  font-size: 20px;
  font-family: "Goldman";
  overflow: hidden;
  margin: 10px 0;
  padding-left: calc(10% + 5px);
}

.liensTel li {
  align-content: center;
}

.liensTel a {
  color: #000000;
  text-decoration: none;
  display: inline-block;
  position: relative;
  margin-bottom: 5px;
}

.liensTel .commanderTel {
  background-color: #357294;
  border-radius: 8px;
  color: #ffffff;
  padding: 5px 5px;
  left: -5px;
  display: inline-flex;
}

/* gestion des animations menu */

.menu-inactif {
  height: 0;
  overflow: hidden;
  transition: height 0.5s ease-in-out;
}

.menu-actif {
  height: 110px;
  transition: height 0.5s ease-in-out;
}

.produits-actif {
  height: 100px;
  overflow: hidden;
  transition: height 0.5s ease-in-out;
}

/* reste de la navbar */

.prod {
  cursor: default;
}



.titre {
  font-size: 30px;
  font-style: italic;
}

.produits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  margin: 0;
  list-style: inside;
  transition: height 0.5s ease-in-out;
  overflow: hidden;
}

#liste-produits-tel {
  width: 80%;
}

.produit {
  min-width: 192px;
  max-width: 250px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.produit a {
  color: #000000;
  text-decoration: none;
}

.produit h3 {
  margin: 0;
  text-align: center;
}

.produit img {
  width: 100%;
  height: auto;
  max-width: 200px;
  min-width: none;
  max-height: 200px;
  min-height: none;
  object-fit: cover;
}

ul {
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
}

@media (max-width: 1000px) {
  .card {
    flex-direction: column;
  }

  .card img {
    width: 100%;
  }
}

@media (max-width: 930px) {
  .ordi {
    display: none;
  }
  .tel {
    display: flex;
  }
}

@media (min-width: 931px) {
  .tel {
    display: none;
  }
  .ordi {
    display: flex;
  }
  .liensTel {
    display: none;
  }
}

/*FOOTER*/ /*partie JC_le_goat*/ /*Don't touch*/

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #222;
  color: #fff;
  text-align: center;
  margin-top: 20px;
}

.footer-column {
  flex: 1 1 300px;
  margin: 5px;
  padding: 5px;
  box-sizing: border-box;
}

/* style liens */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column a {
  color: #0dcaf0;
  text-decoration: none;
}

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

.footer-bottom {
  background-color: #111; /* Couleur de fond pour contraste */
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box; /* Inclut le padding dans la largeur totale */
}

.footer-bottom p {
  margin: 0; /* Supprime les marges par défaut */
}

.phone-number {
  cursor: pointer;
  color: #0dcaf0;
}

.phone-number-456 {
  cursor: pointer;
  color: #2b2bf1;
  text-decoration: underline;
}

.phone-number:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    justify-content: center;
  }

  .footer-column {
    max-width: 100%;
    text-align: center;
  }
}

/* ANIMATION LOADER */

@keyframes rotation {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}