@charset "UTF-8";
/* imports de fichier */
/* On applique des élément sur l'ensemble du code*/
* {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/*CSS MAIN*/
.background_image {
  background-image: url(../Annexe/image_partenaires.png);
  width: 100%;
  height: 375px;
  background-size: cover;
  background-position: center;
}

body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: transparent;
}
body::-webkit-scrollbar-thumb {
  background-color: #b2b2b2;
  border-radius: 20px;
}
body::-webkit-scrollbar-thumb:hover {
  background-color: #9f9f9f;
}

/*partenaires*/
/*display flex pour positionner les cards des partenaires*/
.partenaires {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: stretch;
      align-content: stretch;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 3% auto;
  width: 90%;
}

.card_partenaire {
  width: 300px;
  margin: 1% 3%;
  border-radius: 10px;
  -webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.card_partenaire a {
  color: white;
  padding: 12px 30px;
  background-color: #0b2997;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
}
.card_partenaire a:hover {
  background-color: #ffffff;
  color: #0b2997;
  outline: 1px solid #0b2997;
}

.card_partenaire:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

.logo_partenaire {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card_img_png {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.card_content {
  padding: 20px;
}

h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.description_partenaire {
  font-size: 16px;
  margin-bottom: 20px;
  color: #777;
}

@media screen and (max-width: 700px) {
  .partenaires {
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 275px) {
  .card_partenaire a {
    padding: 12px 4px;
  }
}
/*FIN CSS MAIN*/