.page-partenaire {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.page-partenaire .container_img {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.cover_bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
  background-image: url("/images/index-header-r.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 33%;
  transition: background-position 1s ease-in-out;
}
.cover_bg_white {
  position: absolute;
  width: 66%;
  height: 13%;
  bottom: 0;
  z-index: 3;
  background-color: white;
}
.header_text {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  top: 50%;
  color: var(--white);
  z-index: 2;
  transform: translateY(-50%);
  text-transform: uppercase;
  font-style: italic;
  padding: 5%;
}
h1 span {
  font-size: 3rem;
  display: block;
}
h2 {
  text-transform: none;
  color: var(--gold);
}
.header_text .a_button {
  margin-top: 5%;
}
.section-1 {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 45%;
  min-width: 500px;
  margin: 5% 5% 0 5%;
}
h2 {
  font-weight: bolder;
  font-style: italic;
  font-size: 1.8em;
}
.section-logos {
  margin-top: 160px;
  margin-bottom: 80px;
  overflow: hidden;
  width: 100%;
  /* Take full width of parent */
}
.carousel-wrapper {
  overflow: hidden;
  width: 90%;
  margin: auto;
  position: relative;
}
.carousel {
  display: flex;
  gap: 0;
  position: relative;
}
.carousel img {
  flex-shrink: 0;
  width: auto;
  height: auto;
  max-width: 250px;
  position: absolute;
  top: 0;
}
.page-partenaire > .a_button {
  align-self: center;
}
.section-pourquoi .row-3 h2 {
  text-align: center;
}
@media only screen and (min-width: 2000px) {
  .page-partenaire .container_img img {
    max-width: unset;
    height: 900px;
    object-fit: cover;
  }
  .section-1 {
    margin: 2% 5% 90px 13%;
  }
}
@media only screen and (max-width: 1499px) {
  h1 span {
    font-size: 2.5rem;
  }
  .cover_bg.active {
    background-position: right -500%;
  }
  .wrapper-text {
    padding: 1% 5%;
  }
}
@media only screen and (max-width: 1250px) {
  .wrapper-text {
    padding: 5%;
  }
  .page-partenaire .flex_reverse {
    flex-direction: column;
  }
}
@media only screen and (max-width: 1023px) {
  h1 span {
    font-size: 2rem;
  }
  .section-logos {
    margin-top: 50px;
    margin-bottom: 0px;
  }
  .section-logos img {
    max-width: unset;
  }
  .carousel img {
    width: 50%;
  }
}
@media only screen and (max-width: 767px) {
  h2 {
    font-size: 1.5rem;
  }
  .header_text .a_button {
    margin-top: 0;
    font-size: 0.8rem;
    padding: 5px 30px;
    border-width: 3px;
    border-radius: 13px;
  }
  .header_text {
    top: 35%;
  }
  .page-partenaire .header_text .a_button {
    background-color: red;
    display: none;
  }
}
@media only screen and (max-width: 600px) {
  .section-1 {
    width: 100%;
    margin: 0;
    margin-top: 50px;
    padding: 5%;
    min-width: auto;
  }
  p {
    font-size: 0.9rem;
  }
}
@media only screen and (max-width: 500px) {
  h1 span {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 1rem;
  }
}
