html {
  height: 100%; /* Permet de remplir toute la hauteur de l'écran */
  display: flex;
  flex-direction: column;

}
body {
  background-image: none;
  background-color: white; /* Filtre blanc semi-transparent */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  position: relative;
  height: 100%; /* Permet de remplir toute la hauteur de l'écran */
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 2.5em; /* Taille du titre pour grands écrans */
  line-height: 1.3;
}

h2 {
  font-size: 2.5em; /* Taille du titre pour grands écrans */
  line-height: 1.3;
}

p {
  font-size: 1.2em; /* Taille des paragraphes pour grands écrans */
  line-height: 1.5;
}

header, footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 20px;
  position: relative;
}

header h1, footer p {
  margin: 0;
  text-align: center;
    align-items: center; /* Aligne le texte et l'image verticalement */
  justify-content: center; /* Centre horizontalement */
}

footer a {
  color: white; /* Change la couleur du texte */
  text-decoration: none; /* Supprime le soulignement */
  font-weight: bold; /* Rend le texte plus lisible */
  transition: color 0.3s ease; /* Animation fluide au survol */
}
header h1 .logo {
  height: 60px; /* Ajuste la taille du logo */
  width: auto;
    vertical-align: middle; /* Assure que l'image reste bien alignée */
}
footer a:hover {
  color: #f0e6e6; /* Change légèrement la couleur au survol */
  text-decoration: underline; /* Ajoute un soulignement au survol */
}

main {
	flex: 1;
  padding-top: 20px;
  max-width: 1000px; /* Largeur maximale du contenu */
  margin: 0 auto; /* Centre le contenu horizontalement */
}


  .split-screen:first-of-type {
    margin-bottom: 105px; /* Espace entre .text-side et .image-side */
  }

.split-screen {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0; /* Ajoute de l'espace vertical et centre horizontalement */
  max-width: 1000px; /* Largeur maximale de la section */
}

.text-side {
  flex: 1;
  padding: 0px;
  text-align: left;
}

.image-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-side img {
  max-width: 65%; /* Taille maximale de l'image */
  height: auto; /* Maintient le ratio de l'image */
  border-radius: 10px;
}

.download-buttons {
    display: flex; /* Utilise Flexbox pour aligner les icônes horizontalement */
    justify-content: center; /* Centre les icônes horizontalement */
    margin-top: 40px;
}

.download-buttons a {
  display: flex;
  align-items: center; /* Centre l'image verticalement */
  justify-content: center; /* Centre l'image horizontalement */
  margin: 10px;
  width: 150px;
  height: 40px;
  border-radius: 5px;
  /*border: 2px solid red; /* Définit une bordure rouge de 2px */;
  transition: background-color 0.3s;
  padding: 0; /* Enlever le padding pour éviter de fausser la taille */
}

.download-buttons a img {
    width: 100%; /* Ajuste la largeur à celle du parent */
    height: 100%; /* Ajuste la hauteur */
    object-fit: cover; /* Garde le ratio sans couper */
}

.language-selector {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
}

.language-selector .flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 2px;
}


.contact-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  color: #d39e9e;
  text-align: center;
}

.contact-section p {
  font-size: 1.2em;
  line-height: 1.6;
  text-align: center;
}

.contact-section a {
  color: #d39e9e;
  font-weight: bold;
}


/* Justifie les paragraphes et les listes */
p, li {
  text-align: justify; /* Justifie le texte */
}

/* Media queries pour mobile */
@media (max-width: 768px) {
  /* Appliquer un gap de 50px dans la première section */
  .split-screen:first-of-type {
    display: flex;
    flex-direction: column;
    gap: 50px; /* Espace entre .text-side et .image-side */
  }

  /* Appliquer un gap de 10px dans la deuxième section */
  .split-screen:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espace entre .text-side et .image-side */
  }

  .split-screen img {
    max-width: 100%; /* S'adapte à la largeur de l'écran */
    height: auto; /* Conserve le ratio d'aspect */
  }

  .download-buttons {
    display: flex; /* Utilise Flexbox pour aligner les icônes horizontalement */
    justify-content: center; /* Centre les icônes horizontalement */
    margin-top: 0px;
  }

  .download-buttons a {
  display: flex;
  margin: 1px;
  width: 145px;
  height: 45px;
  border-radius: 5px;
  transition: background-color 0.3s;
  padding: 0;
  align-items: center;
  justify-content: center;
}


  .download-buttons a img {
    height: 100%; /* Ajuste la hauteur pour les petits écrans */
    width: 100%;
    object-fit: cover;
  }

  .image-side {
    max-width: 40% !important; /* Réduit la taille du conteneur */
  }

  main {
  padding-top: 10px;
  padding-left : 20px;
  padding-right : 20px;
}

  header{
  }

  footer{
    padding: 5;
    text-align: center;
  }

  h1, h2 {
    font-size: 1.7em; /* Réduit la taille des titres */
}

  p, li {
    font-size: 1em; /* Ajuste la taille du texte pour plus de lisibilité */
    text-align: justify; /* Justifie le texte */
  }
  header h1 .logo {
    height: 40px; /* Réduit la taille du logo sur les petits écrans */
  }
}

