body {
  background-color: black;
}
body {
  color: white;
}
body {
  background-image: url("crampons4.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #0f1613;
}
/* Styles pour le Header - à mettre dans style.css */
header {
  width: 100%;
  background-color: black;
  z-index: 1000;
}

.menu {
  display: flex;
  align-items: center; /* Aligne verticalement le logo et le texte */
  justify-content: flex-start;
  padding: 10px 20px;
  height: 80px; /* Force une hauteur raisonnable */
}

.menu img {
  height: 60px; /* Réduit la taille du logo si c'est trop gros */
  width: auto;
}

.menu p {
  margin: 0;
  color: white;
  font-size: 18px;
  margin-left: 20px; /* Plus propre que le "right: -300px" */
}

.titre {
  display: flex;
  justify-content: center;
}

.foot {
  display: flex;
  justify-content: center;
}
.conins {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.inscription {
  width: 100px;
  background-color: rgb(78, 163, 78);
  display: flex;
  justify-content: center;
  color: white;
  text-decoration: none;
  padding: 10px 40px;
  border-radius: 10px;
  border-bottom: 5px solid rgb(235, 240, 235);
}
.connexion {
  width: 100px;
  background-color: white;
  display: flex;
  justify-content: center;
  color: black;
  text-decoration: none;
  padding: 10px 40px;
  border-radius: 10px;
  border-bottom: 5px solid rgb(78, 163, 78);
}
.phrase {
  display: flex;
  justify-content: center;
}

.presentation {
  display: flex;
  justify-content: center;
}

.first {
  display: flex;
  justify-content: center;
}
.second {
  display: flex;
  justify-content: center;
}

.annonce {
  display: flex;
  justify-content: space-around;
}

.logo {
  display: flex;
  justify-content: space-around;
  height: 50px;
}

.logo img {
  height: 90px;
  margin-left: 50px;
}
.analyse {
  font-size: 25px;
}
.valorise {
  position: relative;
  right: 70px;
  font-size: 25px;
}

.reperer {
  position: relative;
  right: 110px;
  font-size: 25px;
}

.taches {
  position: relative;
  right: 30px;
  top: -50px;
}
.taches img {
  height: 170px;
}

.bonhomme {
  position: relative;
  right: -10px;
  top: -20px;
}
.bonhomme img {
  height: 100px;
}

.loupe {
  position: relative;
  right: 70px;
  top: -60px;
}
.loupe img {
  height: 200px;
}

.connaisances {
  display: flex;
  justify-content: center;
  position: relative;
  top: 70px;
  font-size: 25px;
  right: -20px;
}

.journal {
  display: flex;
  justify-content: center;
  height: 30px;
  position: relative;
  top: 50px;
  right: -20px;
}

.journal img {
  width: 200px;
  height: 100px;
}

.ligne {
  display: flex;
  justify-content: center;
}

.club {
  display: flex;
  justify-content: space-around;
  height: 200px;
}

.opportunité {
  display: flex;
  justify-content: center;
}

.acceder {
  display: flex;
  justify-content: center;
}

.nextgoal {
  display: flex;
  justify-content: center;
  font-size: 50px;
}
.chance {
  display: flex;
  justify-content: center;
  font-size: 20px;
}
.reve {
  display: flex;
  justify-content: center;
  font-size: 20px;
}
.connaisances img {
  width: 25px;
  height: 100px;
}

/*@font-face {
  font-family: "Chango";
  src: url(Chango-Regular.ttf);
}
body {
  font-family: "Chango";
}*/

@font-face {
  font-family: "Wallpoet";
  src: url(Wallpoet-Regular.ttf);
}
.nextgoal {
  font-family: "Wallpoet";
}

@font-face {
  font-family: "PermanentMarker";
  src: url(PermanentMarker-Regular.ttf);
}
body {
  font-family: "PermanentMarker";
}

footer {
  background-color: black;
  height: 350px;
}

.em {
  display: flex;
  justify-content: flex-start;
}
.em img {
  height: 100px;
}

.socialmedia {
  display: flex;
  justify-content: flex-end;
  color: white;
  height: 200px;
  gap: 50px;
}
ion-icon[name="logo-linkedin"] {
  font-size: 64px;
}
ion-icon[name="logo-instagram"] {
  font-size: 64px;
}
ion-icon[name="logo-facebook"] {
  font-size: 64px;
}

.socialmedia a {
  color: white;
}

.chance {
  display: flex;
  justify-content: center;
  font-size: 2rem;
}
.copyright {
  display: flex;
  justify-content: center;
}

/* Partie responsive pour mobile*/

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* --- Partie responsive optimisée --- */

@media screen and (max-width: 768px) {
  .menu,
  .annonce,
  .logo,
  .club,
  .socialmedia,
  .em {
    flex-direction: column !important;
    align-items: center !important;
    height: auto !important;
    gap: 20px;
    padding: 20px 0;
  }

  .valorise,
  .reperer,
  .connaisances,
  .journal,
  .taches,
  .bonhomme,
  .loupe {
    position: static !important;
    inset: auto !important;
    text-align: center;
    margin: 10px auto;
    width: 100%;
  }

  .menu img,
  .logo img,
  .taches img,
  .loupe img,
  .journal img,
  .bonhomme img,
  .club img {
    max-width: 80% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block;
  }

  .conins {
    flex-direction: column !important;
    width: 100%;
    align-items: center;
  }

  .inscription,
  .connexion {
    width: 80% !important;
    box-sizing: border-box;
    text-align: center;
  }

  .nextgoal {
    font-size: 28px !important;
    text-align: center;
    padding: 0 10px;
  }

  .chance,
  .reve,
  .analyse,
  .valorise,
  .reperer {
    font-size: 18px !important;
    text-align: center;
  }

  .first,
  .second,
  .phrase,
  .opportunité,
  .acceder,
  .ligne {
    text-align: center;
    padding: 0 15px;
  }

  footer {
    height: auto !important;
    padding-bottom: 40px;
  }

  .socialmedia {
    justify-content: center !important;
    flex-wrap: wrap;
    height: auto !important;
  }

  .col-md-4 {
    margin-bottom: 30px;
  }

  img[style*="right"],
  img[style*="height"] {
    max-width: 80% !important;
    height: auto !important;
  }
}
