:root {
  --orange: #FF8000;
  --blue: #2128BF;
  --green: #28a745;
  --white: #ffffff;
}

.navbar {
  background: linear-gradient(90deg, rgba(255,128,0,1) 15%, rgba(33,40,191,1) 62%);
  height: 80px;
  margin: 5px;
  padding: 0.2rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-weight: 500;
  color: rgb(255, 111, 1);
  font-size: 15px;
  transition: 0.3s;
}

.logo {
  width: 60px;
  height: 60px;
  clip-path: circle(50%);
}

.login-button {
  background-color: rgb(0, 0, 0);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s background-color;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
}

.login-button i {
  margin-right: 10px; /* Ajustez cette valeur pour plus ou moins d'espace */
}

.login-button:last-child {
  margin-right: 0;
}

.login-button:hover {
  background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 100%);
}

.nav-item .fa-globe {
  font-size: 1.5rem;
}

.language-selector:hover .language-dropdown {
  display: block;
}

.navbar-toggler {
  border: none;
  font-size: 1.25rem;
}

.navbar-toggler:focus, .btn-close:focus {
  box-shadow: none;
  outline: none;
}

.nav-link {
  color: rgb(12, 4, 4);
  font-weight: 600;
  position: relative;
}

.nav-link:hover, .nav-link:active {
  color: black;
}

@media(min-width:991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--blue);
    visibility: hidden;
    transition: 0.3s ease-in-out;
  }
  .nav-link:hover::before, .nav-link.active::before {
    width: 100%;
    visibility: visible;
  }             
}

@media(max-width:768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }
  
  .navbar-brand {
    font-size: 14px;
  }

  .login-button, .language-button {
    font-size: 10px;
    padding: 6px 12px;
  }
}

@media(max-width:500px) {
  .login-button {
    font-size: 10px;
    padding: 6px 12px;
  }
  
  .language-button {
    font-size: 10px;
    padding: 6px 12px;
  }
}

.fixed-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 10px;
  width: 80%;
  border-radius: 10px;
}

.image-text {
  font-weight: bold;
}

.image-textapropos {
  font-weight: bold;
  color: #3a3939;
}

.carousel-item img {
  filter: brightness(0.5);
  max-height: 500px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .image-text {
    font-size: 2rem;
  }
  
  .image-textapropos {
    font-size: 4rem;
  }
}

@media (max-width: 576px) {
  .image-text {
    font-size: 1rem;
  }
}

.background-image {
  background: url('../immmmage/sos1.jpeg') no-repeat center center fixed;
  background-size: cover;
  width: 100vw;
  height: 70vh;
  display: inline-block;
  position: relative;
  text-align: center;
  color: white;
  font-size: 18px;
}

/* Pour les petits appareils (téléphones) */
@media (max-width: 600px) {
  .background-image {
    height: 50vh;
    font-size: 14px;
  }
}

/* Pour les appareils de taille moyenne (tablettes) */
@media (min-width: 601px) and (max-width: 1024px) {
  .background-image {
    height: 60vh;
    font-size: 16px;
  }
}

/* Pour les grands écrans (ordinateurs de bureau) */
@media (min-width: 1025px) {
  .background-image {
    height: 70vh;
    font-size: 18px;
  }
}
.background-image2 {
  background: url('../immmmage/germination-.jpg') no-repeat center center fixed;
  background-size: cover;
  width: 100vw;
  height: 70vh;
  display: inline-block;
  position: relative;
  text-align: center;
  color: rgb(0, 0, 0);
  font-size: 18px;
  filter: brightness(0.8);
}

.background-produits {
  background: url('../immmmage/background_produit.jpg') no-repeat center center fixed;
  background-size: cover;
  width: 100vw;
  height: 63vh;
  display: inline-block;
  position: relative;
  text-align: center;
  color: rgb(0, 0, 0);
  font-size: 18px;
  filter: brightness(50%);
}

.text-overlay {
  position: absolute;
  bottom: 10rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 10px;
}

.text-overlay h2 {
  color: #2128BF;
  font-size: 3rem;
}

/* Pour les petits appareils (téléphones) */
@media (max-width: 600px) {
  .text-overlay h2 {
    font-size: 2rem;
  }
}

/* Pour les appareils de taille moyenne (tablettes) */
@media (min-width: 601px) and (max-width: 1024px) {
  .text-overlay h2 {
    font-size: 2.5rem;
  }
}

/* Pour les grands écrans (ordinateurs de bureau) */
@media (min-width: 1025px) {
  .text-overlay h2 {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .text-overlay {
    position: relative;
    font-size: xx-small;
    bottom: 10rem;
  }
  
  .background-image img {
    width: 100%;
    height: 20rem;
  }
}

@media (min-width: 992px) {
  .text-overlay {
    display: block;
    position: relative;
    bottom: 20rem;
    font-size: 40rem;
  }
  
  .background-image img {
    width: 100%;
    height: 90rem;
  }
}

@media (min-width: 481px) {
  .text-overlay {
    display: block;
    position: relative;
    bottom: 22rem;
    font-size: larger;
  }
  
  .background-image img {
    width: 100%;
    height: 40rem;
  }
}

.Drop-produit {
  background-image: url(https://www.transparenttextures.com/patterns/asfalt-dark.png);
  opacity: 1;
  justify-items: center;
}

.dropdown-item {
  background-image: url(https://www.transparenttextures.com/patterns/asfalt-dark.png);
    opacity: 1;
    justify-items: center;
  padding: 10px 50px;
  display: flex;
  justify-items: center;
}

.Drop-produit i {
  margin-right: 8px;
  font-size: 1.4rem;
  color: blue;
}

.main-category-text {
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #000000;
  display: inline-block;
  line-height: 1rem;
}

.breadcrumb-text {
  position: relative;
  right: 30rem;
  top: 10rem;
  font-size: 1.2em;
}

voir-plus{
  color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
  text-decoration: underline;
}