*,
*::before,
*::after {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

header {
  background-color: WHITE;
  height: 130px; /* Réduction de la hauteur du header */
  position: relative;
  top: 0;
  margin: 0; /* Suppression de la marge */
  padding: 10px 20px; /* Ajouter un peu de padding interne pour le logo et le texte */
}

/* Ajustement de la position du logo et du texte */
header > a {
  top: 0;
  float: left;
}

header>a>img {
  margin-left: 60px;
  margin-top: 10px;
  width: 90%;
}

header > p {
  font-size: 18px; /* Réduction de la taille de la police */
  font-weight: 550;
  margin-left: 460px; /* Réduction de la marge gauche */
  position: absolute;
  top: 40%; /* Réduction de l'espace vertical */
  color: #2A1163;
}

div>ul {
  text-decoration: none !important;
  padding: 0;
  margin: 20px;
}

div>ul li {
  margin: 20px;
  font-weight: 400;
  display: inline-block;
  list-style: none;
  color: white;
  text-decoration: none !important;
  padding: 5px;
}

div>ul li a{
  text-decoration: none;
  color: #2A1163;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

div>ul li:hover{
  background-color: #F0F0AF;
  border-radius: 20px;
  box-shadow: 0 0 10px 10px #F0F0AF;
}

.page-main {
  margin: 20px auto;
  width: 90%;
}

.bienvenue {
  position: relative;
  height: 400px;
  margin-bottom: 0;
  top: 0;
}

.bienvenue>img {
  width: 75%;
  margin-left: 150px;
  margin-right: auto;
  display: block;
  margin-top: 60px;
  margin-bottom: 0;
}

.separator {
  box-sizing: border-box;
  height: 1.2px;
  background-color: #2A1163;
  width: 100%;
  margin: 20px auto;
}

footer {
  height: 80px;
  position: relative;
  background-color: #2A1163;
}

footer h2 {
  position: absolute;
  height: 20%;
  font-weight: 200;
  font-size: 15px;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.contact>img {
  width: 78%;
  margin-left: 70px;
  margin-right: auto;
  display: block;
  margin-top: 40px;
  margin-bottom: 40px;
}

.outils>img {
  width: 80%;
  margin-top: 30px;
  margin-left: 80px;
}

.outils_2>img {
  width: 60%;
  margin-left: 200px;
  margin-top: 30px;
}

.outils_3>img {
  width: 80%;
  margin-top: 30px;
  margin-left: 80px;
}

.outils_4>img {
  width: 80%;
  margin-top: 30px;
  margin-left: 80px;
}

.outils_5>img {
  width: 80%;
  margin-top: 30px;
  margin-left: 80px;
}

.analyse>img {
  width: 70%;
  margin-top: 30px;
  margin-left: 80px;
}

.nuage_points>img {
  width: 70%;
  margin-top: 30px;
  margin-left: 80px;
}

.boite_moustache>img {
  width: 40%;
  margin-top: 30px;
  margin-left: 250px;
}

.analyse_2>img {
  width: 70%;
  margin-top: 30px;
  margin-left: 80px;
}

.histogramme>img {
  width: 60%;
  margin-top: 30px;
  margin-left: 80px;
}

.analyse_3>img {
  width: 70%;
  margin-top: 30px;
  margin-left: 80px;
}

.heatmap>img {
  width: 65%;
  margin-top: 30px;
  margin-left: 80px;
}

.analyse_4>img {
  width: 70%;
  margin-top: 30px;
  margin-left: 80px;
}

.cartopy>img {
  width: 65%;
  margin-top: 30px;
  margin-left: 80px;
}

.parcours>img {
  width: 75%;
  margin-left: 100px;
  margin-right: auto;
  display: block;
  margin-top: 50px;
}

@media screen and (max-width: 1024px) {
  header > a> img {
    width: 60%;
    margin-top: 35px; /* Ajuste la position du texte dans l'en-tête pour une tablette */
  }

  header > p {
    font-size: 14px;
    margin-left: 300px; /* Ajuste la position du texte dans l'en-tête pour une tablette */
  }

  .page-main {
    width: 95%;
  }

  .bienvenue {
    margin-bottom: 50px;
    height: 300px;
  }

  .bienvenue > img {
    width: 90%; /* Permet à l'image de s'ajuster à la largeur de l'écran */
    margin-top: 30px; /* Un peu moins d'espace en haut */
    margin-bottom: 0;
  }

  div > ul li {
    margin: 10px; /* Réduire l'espace entre les éléments du menu */
    font-size: 14px; /* Réduire la taille de la police */
  }

  footer {
    margin-top: -20px;
  }

  footer h2 {
    font-size: 14px; /* Réduire la taille du texte du footer */
  }

  .separator {
    width: 100%; /* S'assurer que le séparateur occupe toute la largeur de l'écran */
  }
}

@media screen and (max-width: 768px) {
  header > a> img {
    width: 50%;
    margin-top: 34px; /* Ajuste la position du texte dans l'en-tête pour une tablette */
  }

  header > p {
    font-size: 12px;
    margin-left: 230px; /* Ajuste le texte pour les petites tablettes */
  }

  .page-main {
    width: 100%; /* Remplir la largeur de l'écran */
  }

  .bienvenue {
      height: 300px;
      margin-bottom: 20px;
  }

  .bienvenue > img {
    width: 100%; /* L'image prend toute la largeur de l'écran */
    margin-top: 20px;
    margin-bottom: 0;
  }

  div > ul li {
    font-size: 12px; /* Réduire encore plus la taille de la police sur les petits écrans */
    text-align: center; /* Centrer le texte */
  }

  .separator {
    width: 100%; /* S'assurer que le séparateur occupe toute la largeur de l'écran */
  }

  footer {
    margin-top: -10px;
  }

  footer h2 {
    font-size: 12px;
  }
}
