.logo-navbar {
    width: 55%;
}

.logo-dropdown {
    width: 35%;
}

.logo-footer {
    width: 10%;
}

#div-logo-dropdown {
    bottom: 10px;
}

h1 {
    color: #a5d061 !important;
}

.nav-main::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background-color: #a5d061;
    transition: width 0.6s ease;
}

.nav-main:hover::after {
    width: 100%;
}

.nav-main.page-active::after {
    width: 100%;
}

.fs-6 {
    font-size: 1.65rem !important;
}

.dropdown-menu {
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    min-width: 500px;
    background: linear-gradient(to bottom, #ffffff, #f1f1f1); /* Ajout d'un gradient */
    border: 1px solid #a5d061;
}

.dropdown-item {
    margin: 4px 0;
    padding: 10px 20px;
    transition: background-color 0.5s ease;
}

.dropdown-item:hover {
    background-color: #a5d061;
    color: white;
}

.dropdown-item:hover::before {
    content: "→ ";
    color: #000;
}

.carousel-inner img {
    height: 600px;
    object-fit: cover;
}

.carousel-caption {
    bottom: 20%;
    text-shadow: 0 0 10px #000;
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-with-icon:hover .icon-container i {
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.btn-with-icon:hover {
    background-color: #007bff; /* Ou autre couleur */
    transition: background-color 0.3s ease;
}

@keyframes swingIcon {
    0% {
      transform: rotate(-15deg);
    }
    50% {
      transform: rotate(15deg);
    }
    100% {
      transform: rotate(-15deg);
    }
  }

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    animation: swingIcon 4s infinite ease-in-out;
}

.barre-verte {
    width: 65px; 
    background-color: #a5d061; 
    height: 3px; 
    margin-bottom: 1em;
}

.bg-contact {
    background-color: #7dc1ee;
}

.bg-cepvil {
    background-color: #a5d061;
}

.page-active-dropdown {
    border-bottom: 2px solid #a5d061;
    padding-bottom: 5px;
}

.custom-features {
    border: 2px solid #a5d061;
    border-radius: 10px;
    padding: 20px;
    background-color: #f9f9f9;
  }
  
  .custom-features h3 {
    color: #333;
  }
  
  .custom-features ul {
    list-style: none;
    padding: 0;
  }
  
  .custom-features ul li {
    margin: 10px 0;
    font-size: 1.1em;
  }
  
  .custom-features ul li i {
    color: #a5d061;
    margin-right: 10px;
  }

  .cursor-pointer {
      cursor: pointer;
  }

  .badge.bg-cepvil {
    text-shadow: 1px 1px 1px #000;
  }

  .youtube-player {
    border: 0; 
    width: 100%; 
    height: 400px;
  }

  .mentionslegales-container {
    position: relative;
  }
  
  .mentionslegales-logo-cuma {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
  }

  .w-10 {
    width: 10%;
  }

  .bg-footer {
    background-color: #cccccc;
  }

  .img-index {
    width: 85% !important;
  }

  .btn-vert {
    background-color: #a5d061;
    color: #000000;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    font-size: 1.4rem;
  }

  .btn-vert:hover {
    background-color: #7dc1ee;
    color: #fff;
    transition: background-color 0.3s ease;
  }

  .w-80 {
    width: 80%;
  }

  .carousel-control-prev, .carousel-control-next {
    width: 5%;
  }
  .carousel-control-prev-icon, .carousel-control-next-icon {
    width: 50px;
    height: 50px;
  }

  .rounded-carousel {
    border-radius: 15px;
  }

  .date-position {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

/** MEDIA QUERIES **/
@media (max-width: 767px) {
    .dropdown-menu {
        min-width: 460px;
    }

    .nav-item a.btn {
        width: 100%;
        text-align: center;
    }

    .carousel-img-mobile {
        object-fit: contain !important;
        height: auto !important;
        width: 100% !important;
    }
}

@media (max-width: 499px) {
    .dropdown-menu {
        min-width: 360px;
        overflow-y: auto;
    }
    .dropdown-menu .fs-5 {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 992px) {  /* Ajustez le breakpoint selon vos besoins */
    .navbar-collapse {
      max-height: calc(100vh - 60px);
      overflow-y: auto;
    }
  }

@media (min-width: 992px) and (max-width: 1399px) {
    .navbar-nav.fs-3 {
      font-size: 1.25rem !important;
    }

    .logo-navbar {
        width: 60% !important;
    }
  }
  
@media (min-width: 768px) {  /* Ajustez le breakpoint selon vos besoins */
    #carouselHeader {
        margin-top: 20px;
    }
}

@media (min-width: 575px) and (max-width: 767px) {  /* Ajustez le breakpoint selon vos besoins */
    #carouselHeader {
        margin-top: 35px;
    }
}

@media (min-width: 344px) and (max-width: 574px) {  /* Ajustez le breakpoint selon vos besoins */
    #carouselHeader {
        margin-top: 67px;
    }
}

@media (max-width: 343px) {  /* Ajustez le breakpoint selon vos besoins */
    #carouselHeader {
        margin-top: 107px;
    }
}


@media (min-width: 387px) and (max-width: 574px) {  /* Ajustez le breakpoint selon vos besoins */
    #carouselHeader .carousel-caption h1{
        font-size: 20px;
    }

    #carouselHeader .carousel-caption h3{
        font-size: 18px;
    }
}

@media (min-width: 344px) and (max-width: 386px) {  /* Ajustez le breakpoint selon vos besoins */
    #carouselHeader .carousel-caption h1{
        font-size: 16px;
    }

    #carouselHeader .carousel-caption h3{
        font-size: 14px;
    }
}

@media (max-width: 343px) {  /* Ajustez le breakpoint selon vos besoins */
    #carouselHeader .carousel-caption h1{
        font-size: 14px;
    }

    #carouselHeader .carousel-caption h3{
        font-size: 12px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) { 
  #carouselHeader {
    margin-top: 130px;
  }
}

@media (min-width: 1199px) and (max-width: 1399px) { 
  .navbar ul.navbar-nav {
    font-size: 15px !important;
  }
}

@media (min-width: 992px) and (max-width: 1198px) { 
  .navbar ul.navbar-nav {
    font-size: 12px !important;
  }
}

.card-img-top {
  height: 240px;
}