/*Les var css*/
:root {
--width-slider : 1000px;
--height-slider : 750px;
}

.background {
  /* Fond pour la page d'accueil */
  background-image: url("/public/images/background_test_2.png");
  min-height: 80vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 2;
}

.background h1 {
  font-size: 100px;
  font-weight: bold;
  -webkit-text-stroke: 2px #a29f9f;
  margin-bottom: 100px;
  text-align: center;
}

h1 {
  font-size: 50px;
  font-weight: bold;
  -webkit-text-stroke: 2px #a29f9f;
  margin-bottom: 100px;
  text-align: center;
}

section.partenaire {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	flex-wrap: wrap;
	margin-top: 100px;
}
section.partenaire .cards {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
	margin-top: 100px;
}

section.partenaire .cards>.card {
	width: 300px;
	height: 500px;
	background-color: #fff;
	margin: 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	transition: 0.3s ease-in-out;
	display: flex;
	flex-direction: column;
}

section.partenaire .cards>.card:hover {
	transform: scale(1.05);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

section.partenaire .cards>.card .card__image-container {
	margin: auto;
	width: 50%;
	margin: auto;
	/* do not deform the image */
	overflow: hidden;
  /* center the image */
  display: flex;
  justify-content: center;
  align-items: center;

}
section.partenaire .cards>.card .card__image-container > img {
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.partenaire .cards>.card .card__content {
	margin: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.background_2 {
  background-image: url("/public/images/test_7_2.png");
  min-height: 80vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: -2;
}

@media (max-width: 1000px) {
  body footer {
    position: relative;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.section-slider {
  display: flex;
  justify-content: center;
  margin-top: -100em;
  position: relative;
  z-index: 1;

}

.img-slider {
  position: relative;
  width: var(--width-slider);
  height: var(--height-slider);
  margin: 10px;
  background: #1D212B;
  border-radius: 5%;
  margin-bottom: -15em;
}

.img-slider .slide {
  z-index: 1;
  position: absolute;
  width: 100%;
  clip-path: circle(0% at 0 50%);
}

.img-slider .slide.active {
  clip-path: circle(150% at 0 50%);
  transition: 2s;
  transition-property: clip-path;
}

.img-slider .slide img {
  z-index: 1;
  width: 100%;
  border-radius: 5px;
  border-radius: 5%;
  max-width: var(--width-slider);
  max-height: var(--height-slider);

  /* Empèche l'image de se redimentionner */
  object-fit: cover;
}

.img-slider .slide .info {
  position: absolute;
  top: 0;
  padding: 15px 30px;
}

.img-slider .slide .info h2 {
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  font-size: 45px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 4px;
}

.img-slider .slide .info p {
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  font-size: 16px;
  width: 60%;
  padding: 10px;
  border-radius: 4px;  
}

.img-slider .navigation {
  z-index: 2;
  position: absolute;
  display: flex;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.img-slider .navigation .btn {
  background: rgba(255, 255, 255, 0.5);
  width: 12px;
  height: 12px;
  margin: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.img-slider .navigation .btn.active {
  background: #2696E9;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

@media (max-height: 1280px) {
  .section-slider {
    margin-top: -60em;
  }
}

@media (max-height: 1060px) {

  :root {
    --width-slider : 600px;
    --height-slider : 450px;
  }

  .section-slider {
    margin-top: -57em;
  }

  .img-slider .slide .info {
    padding: 10px 25px;
  }

  .img-slider .slide .info h2 {
    font-size: 35px;
  }

  .img-slider .slide .info p {
    width: 70%;
    font-size: 15px;
  }

  .img-slider .navigation {
    bottom: 25px;
  }

  .img-slider .navigation .btn {
    width: 10px;
    height: 10px;
    margin: 8px;
  }
}

@media (max-height: 1024px) {
  .section-slider {
    margin-top: -44em;
  }
}

@media (max-width: 920px) {

  .section-slider {
    margin-top: -60em;
  }
}

@media (max-width: 820px) {


  .section-slider {
    margin-top: -53em;
  }

  .img-slider .slide .info {
    padding: 10px 25px;
  }

  .img-slider .slide .info h2 {
    font-size: 35px;
  }

  .img-slider .slide .info p {
    width: 70%;
    font-size: 15px;
  }

  .img-slider .navigation {
    bottom: 25px;
  }

  .img-slider .navigation .btn {
    width: 10px;
    height: 10px;
    margin: 8px;
  }
}

@media (max-height: 640px) {

  :root {
    --width-slider : 400px;
    --height-slider : 300px;
  }

  .img-slider .slide .info {
    padding: 10px 20px;
  }

  .img-slider .slide .info h2 {
    font-size: 30px;
  }

  .img-slider .slide .info p {
    width: 80%;
    font-size: 13px;
  }

  .img-slider .navigation {
    bottom: 15px;
  }

  .img-slider .navigation .btn {
    width: 8px;
    height: 8px;
    margin: 6px;
  }
}


@media (max-height: 500px) {
  
  :root {
    --width-slider : 320px;
    --height-slider : 240px;
  }

  .img-slider .slide .info {
    padding: 5px 10px;
  }

  .img-slider .slide .info h2 {
    font-size: 25px;
  }

  .img-slider .slide .info p {
    width: 90%;
    font-size: 11px;
  }

  .img-slider .navigation {
    bottom: 10px;
  }
}

@media (max-width: 620px) {


  .section-slider {
    margin-top: -60em;
  }
  
  .img-slider .slide .info {
    padding: 5px 10px;
  }

  .img-slider .slide .info h2 {
    font-size: 25px;
  }

  .img-slider .slide .info p {
    width: 90%;
    font-size: 11px;
  }

  .img-slider .navigation {
    bottom: 10px;
  }
}

@media (max-width: 375px) {
  .section-slider {
    margin-top: -60em;
  }
}

.facebook {
  display: flex;
  align-items: center;
}

.img_bas {
  background-image: url('/images/test_7.png');
  min-height: 80vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: -2;
  margin-top: -600px;
}

.facebook-section {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  margin-top: 200px;
}

.facebook-section__title {
  font-size: 30px;
  font-weight: bold;
  margin: 0;
  display: inline-block;
  color: #000;
  margin-right: 100px;
  margin-left: 25px;
}

.fb-page {
  margin-right: 25px;
}

@media (max-width: 1260px) {
  .background h1 {
    font-size: 65px;
  }
}

@media (max-width: 820px) {
  .background h1 {
    font-size: 50px;
  }
}

@media (max-width: 640px) {
  .facebook-section__title {
    font-size: 20px;
    margin-right: 50px;
  }
}

@media (max-width: 629px) {
  .facebook-section__title {
    font-size: 18px;
    margin-right: 50px;
  }
}


@media (max-width: 531px) {
  .facebook {
    display: inline-block;
  }

  .facebook-section__title {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  body .fb-page {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0;
  }
}

@media (max-width: 455px) {
  .facebook {
    display: inline-block;
    margin-top: 100px;
    margin-bottom: 5px;
  }

  body {
    margin-right: -3px;
  }
}

@media (max-width: 326px) {
  .facebook-section__title {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: -200px;
  }
}

@media (max-width: 310px) {
  .background h1 {
    font-size: 35px;
  }
}

@media (max-height: 950px) {
  .facebook-section {
    height: 100vh;
  }
}

@media (max-height: 755px) {
  .facebook-section {
    height: 130vh;
  }
}

@media (max-height: 600px) {
  .facebook-section {
    height: 150vh;
  }
}

@media (max-height: 500px) {
  .facebook-section {
    height: 200vh;
  }
}

@media (max-height: 381px) {
  .facebook-section {
    height: 250vh;
  }
}

@media (max-height: 350px) {
  .facebook-section {
    height: 225vh;
  }
}

@media (max-height: 305px) {
  .facebook-section {
    height: 300vh;

  }

  body {
    margin-right: -1px;
  }
}

@media (max-height: 252px) {
  .facebook-section {
    height: 350vh;
  }

  body {
    margin-right: -1px;
  }

}

@media (max-height: 220px) {
  .facebook-section {
    height: 400vh;
  }

  body {
    margin-right: -1px;
  }
}

@media (max-height: 190px) {
  .facebook-section {
    height: 450vh;
  }

  body {
    margin-right: -10px;
  }
}

.hide-on-scroll {
  display: none;
}
@media (max-height: 930px){
  .section-slider {
    margin-top: -50em;
  }
}

@media (max-height: 775px){
  .section-slider {
    margin-top: -45em;
  }
}
@media (max-height: 616px){
  .section-slider {
    margin-top: -35em;
  }
}