.carousel-wrapper {
  overflow-x: hidden;
  overflow-y: hidden;
  max-width: 100%;
  position: relative;
  display: grid;
  align-items: stretch;
  justify-content: center;
  
  height: calc(100vh - (8vh)); /* fenêtre - hauteur du header */
}

.carousel-track {
  display: flex;
  transition: transform 0.9s ease;
  height: 100%;
  width: 150%;
}

.carousel-item {
  flex: 0 0 100%;
  box-sizing: border-box;
  
  color: white;
  display: flex;
  gap: 150px;
  align-items: start;

}

.carousel-item-container {
  height: 100%;
  padding: 50px 100px 100px 100px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
  width: 66.66%;
}

.carousel-item-infos {
  justify-content: center;
  width: 40%;
  height: 100%;
}

.carousel-hbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75vh;
}

.carousel-nav {
  position: fixed;       /* fixé par rapport à la fenêtre */
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 60px;          /* distance du bas */
  left: 50%;             /* centre horizontal */
  transform: translateX(-50%);
  text-align: center;
  z-index: 1000;         /* reste au-dessus du contenu */
  
  margin: 0;
  padding: 0;
}

.carousel-nav button {
  margin: 5px 0px;
  padding: 10px 23px;
  border-radius: 50%;
  border: black 2px solid;
  background-color: white;
  cursor: pointer;
  font-size: 25px;
  font-weight: bold;
}

.carousel-nav button.active {
  background-color: #d8a34f;
  color: rgb(0, 0, 0);
}

.carousel-nav button.active:hover {
  background-color: #d8a34f;
  color: rgb(0, 0, 0);
}

.carousel-nav button:hover {
  background-color: #d8a34fc9;
  color: rgb(0, 0, 0);
}
    
.carousel-nav-line {
    width: 50px;
    height: 5px;
    background-color: #000000;
    border: #000000 0px solid;
}



.video_presentation {
  position: relative;
  width: 45%;
  aspect-ratio: 16/9;  /* ou 4/3, 1/1 ... selon ton besoin */
}


.video_carousel {
  width:  100%;
  height: 100%;
  object-fit: cover;
  position: center;
  border-radius: 50px;
  top: 0;
  left: 0;
}

.over_image {
  position: absolute;
  z-index: 2; /* Assurez-vous que la superposition est au-dessus de la vidéo */
  /* scale: 1.8; */
  left: 20%;
  bottom: -90%;
}
.over_image img {
  object-fit: contain;
  width: 75vh;
  aspect-ratio: 4/3;  /* ou 4/3, 1/1 ... selon ton besoin */
}


.carousel-title {
  font-size: 65px;
  font-weight: 1000;
  margin-bottom: 10px;
}
.carousel-title p {
  line-height: 100%;
}

.carousel-date {
  font-size: 55px;
  font-weight: 1000;
  color: #8f8f8f;
  margin-bottom: 10px;
}
.carousel-date p {
  line-height: 100%;
}

.carousel-description {
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
  background-color: rgba(0, 0, 0, 0.742);
  border-radius: 30px;
  padding: 15px;
  margin-top: 15px;
  margin-bottom: 5px;
}
.carousel-description-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.carousel-button {
  all: unset; 
  cursor: pointer;
  align-self: center;
  border-radius: 50px;
  background-color: #f2c066;
  
  color: black;
  font-size: 20px;
  font-weight: bold;
  padding: 16px 36px;
  
  margin-top: 70px;
}


.carousel-button:hover {

}

.carousel-job-btn-container {
  gap: 10px;
  width: 100%;
}

.carousel-job-btn {
  all: unset; 
  width: 100%;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 900;
  border: rgba(0, 0, 0, 0.75) 3px solid;
  text-align:center;
  vertical-align:middle;
  pointer-events: none;
}

.btn_green {
  background-color: #4bb6156f;
  color: rgb(0, 0, 0);
}

.btn_orange {
  background-color: #b782076f;
  color: rgb(0, 0, 0);
}

.btn_red {
  background-color: #8a040476;
  color: rgb(0, 0, 0);
}

.btn_blue {
  background-color: #1b8fac6f;
  color: rgb(0, 0, 0);
}

.btn_pink {
  background-color: #8509497a;
  color: rgb(0, 0, 0);
}