.carousel-infinite {
  width: 100%;
  height: 40px;
  /* adapte à ta hauteur */
  background-image: url('../images/imageheader.png');
  background-repeat: repeat-x;
  /* ← à remettre impérativement */
  background-size: auto 100%;
  /* pour répéter sans zoom */
  animation: scroll-bg 5s linear infinite;
}

@keyframes scroll-bg {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.semi-transparent-button {
  font-family: "Krona One";
  border: 1px solid white;
  display: block;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 15px;
  width: 25%;
  background: rgb(255 255 255 / 0%);
  color: #fff;
  text-align: center;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease-out;
}



.back-sec1-home {
  height: 100vh;
  padding: 100px 0;
  background-image: url(../images/backroundsec1home.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
}

.back-sec2-home {
  background-image: url(../images/backroundsec2home.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
  background-color: #1E505A;
  color: white;
  max-width: 100%;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: auto;
  margin: 0 auto;
  transition: all 0.35s ease;
}

.navbar {
  background: #ffffff00;
  padding: 30px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Bouton responsive */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
}

.nav-links {

  font-family: "Krona One";
  list-style: none;
  display: flex;
  gap: 50px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

p.text-sec1 {
  color: #FFF;

  font-family: "Krona One";

  text-align: center;
  /* font-family: var(--Heading-1-fontFamily, "Krona One"); */
  font-size: 35px;
  font-style: normal;
  font-weight: var(--Weights-Regular, 400);
  line-height: var(--Heading-1-lineHeight, 59px);
  letter-spacing: var(--Heading-1-letterSpacing, 1px);
  text-transform: uppercase;
}

p.text-sec2 {
  color: #FFF;

  font-family: "Krona One";

  text-align: center;
  /* font-family: var(--Heading-1-fontFamily, "Krona One"); */
  font-size: 35px;
  font-style: normal;
  font-weight: var(--Weights-Regular, 600);
  line-height: var(--Heading-1-lineHeight, 59px);
  letter-spacing: var(--Heading-1-letterSpacing, 1px);
  text-transform: uppercase;
}

h3.number-propos {
  color: #FFC52F;
  text-align: center;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 53.6px;
  letter-spacing: -3.2px;
  text-transform: uppercase;
}

.text-propos {
  color: #FFF;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 38px;
  /* 158.333% */
}

#title-espace {

  color: #11131A;
  font-family: "Krona One";
  font-size: 44.2px;
  font-style: normal;
  font-weight: 400;
  line-height: 53.6px;
  /* 121.267% */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: left;

}

#title-espace-affrique {

  color: #11131A;
  font-family: "Krona One";
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 53.6px;
  /* 121.267% */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: left;

}

#par-espace {
  font-family: "Krona One";
  color: #11131A;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  /* 138.462% */
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-align: left;

}

.text-justify {
  text-align: justify;
}

.owl-carousel .item {}

.owl-carousel img {}

.navbar.scrolled {
  padding: 10px;
  background-color: #1E505A;
  /* Change to your desired color */
  color: black;
  box-shadow: 0px 4px 7px #777;
}

.text-overlay {
  text-align: center;
  color: white;
  padding: 60px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

}

.text-overlay h2 {
  margin: 0;
  padding: 1rem;
  color: white;
  font-size: 2rem;
}

/* Bouton de fermeture dans le menu mobile */
.close-menu {
  font-family: "Krona One";
  background: none;
  border: none;
  font-size: 20px;
  align-self: flex-end;
  margin-bottom: 20px;
  color: #1E505A;
  cursor: pointer;
}

/* Liens du menu mobile dans l'overlay */
.mobile-nav-overlay .nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-overlay.active {
  display: flex;
}

.mobile-nav-overlay .nav-links li a {
  color: #1E505A;
  /* ou blanc si background foncé */
  font-size: 20px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  width: 100%;
  height: 100%;
  z-index: 9999;
  flex-direction: column;
  padding: 20px;
}

img.logo {
  width: 15%;

}

.toptext-sec1 {
  margin-top: 3rem !important;
}

.prog-village {

  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.47) 100%);
  box-shadow: 0px 4px 157.4px 0px rgba(14, 89, 96, 0.15);

}

.text-prog {
  font-size: 20px;
}

#pad-sec {
  padding: 100px 0px 40px 0px;
}

.back-homece5 {


  padding: 100px 0;
  background-image: url(../images/after--rep.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;

}

a.prog-artis-button {
  font-family: "Krona One";
  border: 1px solid white;
  display: block;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 15px;
  width: 45%;
  background: #FF9200;
  /* background: rgb(255 255 255 / 0%); */
  color: #000000;
  text-align: center;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease-out;
}

a.prog-button {
  font-family: "Krona One";
  border: 1px solid white;
  display: block;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 15px;
  width: 25%;
  background: #FF9200;
  /* background: rgb(255 255 255 / 0%); */
  color: #000000;
  text-align: center;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease-out;
}

.prog-village img {
  height: 130px;
  width: 50%;
}

 

.col-12.col-md-6.affic-sec {
  padding-right: unset !important;
  padding-left: unset !important;
}



a.ticket-afrique-button{
    background: #2AD5DE;
    font-family: "Krona One";
    border: 1px solid white;
    display: block;
    box-sizing: border-box;
    padding: 15px;
    width: 60%;
    color: #000000;
    text-align: center;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease-out; 
}

ul.submenu li a {
    color: #ffffff;
}

ul{
 list-style-type: none;
}
a svg {
    margin-left: 10px;
}
/* Pour le sous-menu */

.navbar.scrolled .submenu{
  display: none;
  position: absolute;
  background:#1E505A;
}
.submenu {
  display: none;
  position: absolute;
  background: rgba(255, 255, 255, 0.226);
  padding: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 100;
}
ul.submenu li{
margin: 12px;
}

.has-submenu:hover .submenu {
  display: block;
}
.pd-right {
    padding-right: 200px;
}
/* Mobile version */
.mobile-nav-overlay .submenu {
  display: none;
  position: static;
  background: none;
  box-shadow: none;
  padding-left: 1rem;
}

.mobile-nav-overlay .has-submenu.open .submenu {
  display: block;
}



/* Responsive */
@media (max-width: 768px) {
  
  .col-12.col-md-6.affic-sec {

    margin-top: auto;
    padding-right: unset !important;
    padding-left: unset !important;

  }

  .text-overlay {
    padding: 30px;
  }

  a.prog-button {
    width: 90%;
  }

  a.prog-artis-button {
    width: 90%;
  }

  .toptext-sec1 {
    margin-top: 0rem !important;
  }

  .navbar {
    background: #ffffff00;
    padding: 15px 30px;
  }
.pd-right {
    padding-right: 0px;
}
  .back-sec1-home {
    padding: 20px opx;
    height: 100vh;
  }

  img.logo {

    width: 50%;
    justify-self: anchor-center;
    display: flex;
  }

  .menu-toggle {
    color: white;
    display: block;
  }
a.ticket-afrique-button{
  
    width: 100%;
 
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .semi-transparent-button {

    width: 80%;

  }
 .w-100 {
  height: 350px;
} 
.mobile-img-afri2{
  height: 550px;
}
  #title-espace-affrique {

    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: left;

  }
section.activities-utiles.activities-utiles-village .container-utiles:last-child .utiles--left {
    order: 1;
}

section.activities-utiles.activities-utiles-village .container-utiles:last-child .utiles--right {
  order: 2;
}
}