html {
  height: 100%;
  width: 100%;
  background:#fff;
  font-family: "Arial", sans-serif;
}

body{
  margin: 0;
}

nav{
  background:#f9f9fb;
  height:45px;
  margin-bottom:15px;
  position: fixed;
  top: 0;
  left:0;
  width: 100%;
  z-index: 1;
  text-align: center;
}

main{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-top: 40px; /* Ajoutez une marge en haut pour déplacer vers le bas */
}

footer {
  background: #f5f5f7;
  color: #7A7A7A;
  margin-top: auto; 
  width: 100%;
  text-align: center;
  font-size: 12px;
}

h1 {
  text-align:center;
  font-size:50px;
}

ul {
  display: inline-block;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li{
  float:left;
  list-style:none;
}
nav ul li a{
  line-height:40px;
  display: inline-block;
  padding:0 50px;
  text-decoration: none;
  color: #7A7A7A;
  font-size:14px;
}

nav ul li a:hover{
  color:black;
}

nav ul li a img{
  height:35px;
  width:60px;
}

.bas{
  width:80%;
  margin-left:7.5%;
  padding:10px;
}

/* vidéo fond */

#background-video {
  position: block;
  width:100%;
  height: auto;
  z-index: -1;
  margin: 0;
  padding: 0;
  max-width: 100%;
  margin-bottom:7.5px;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.content h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.content p {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.content a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  margin-right: 10px;
}

.content a:hover {
  background-color: #555;
}

/* vidéo fond */
/* img fond */

.img-container {
  display: flex;
  flex-direction: column; /* Alignement vertical du contenu */
  align-items: center; /* Centre le contenu horizontalement */
  width: 50%; /* Largeur des img-container */
}

.content_img {
  position: relative; /* Position relative */
  text-align: center; /* Centre le texte horizontalement */
  margin-top: -300px; /* Ajustez la marge pour placer le texte au-dessus de l'image */
  color: white;
}

.content_img h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.content_img p {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.content_img a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  margin-right: 10px;
}

.content_img a:hover {
  background-color: #555;
}

.a_cotee{
  display: inline flex;
}

#img1, #img2 {
  position: relative; /* Position relative pour les images */
  width: 580px;
  height: 580px;
  background: #f5f5f7;
  margin-right: 10px; /* Marge entre les images */
}
/* img fond */
/* footer */
.phrases{
  border-bottom:solid 1.5px #D9D9D9;
  width:100%;
  margin:20px;
  padding:0 0 10px;
}
.réseaux{
  border-bottom:solid 1.5px #D9D9D9;
  width:100%;
  margin:20px;
  padding:0 0 20px;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.Copyright{
  display:flex;
  justify-content: space-between;
  align-items: center;
}
#lieu{
  text-align:end;
}
#Copyright{
  text-align:start;
}
/* footer */
/*bouton*/
.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 10px;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.social-button:hover {
  transform: translateY(-2px);
}

.instagram {
  background-color: #e1306c;
}

.facebook {
  background-color: #3b5998;
}

.linkedin {
  background-color: #0077b5;
}
/*bouton*/

.centrer{
  text-align:center;
}

.espace{
  display:block;
  justify-content:center;
  align-items:center;
  width:80%;
  padding:11% 0 11% 0;
}

.questionnaire{
}

.commander {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.vue{
  display: grid;
  justify-items: center; /* Centre les éléments horizontalement */
  align-items: center; /* Centre les éléments verticalement */
}

.image-principale{
  width:80%;
  height:auto;
  margin-bottom: 0;
  padding:0;
}

.image-principale img{
  width:90%;
  height:auto;
}

.petites-images {
  display: flex;
  justify-content: center;
  gap: 20px; /* Espace entre les petites images */
}

.petites-images img {
  width: 20%;
  height: auto;
  border: 1px black solid;
  border-radius: 20px;
}

.petites-images img:hover {
  box-shadow: 0 0 15px blue; /* Ajoute une ombre bleue autour de l'image */
}

.checkbox-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80%; 
}

.checkbox-container div {
  text-align: center; /* Centre les éléments horizontalement */
  margin-right: 20px; /* Espacement entre les cases à cocher */
}

.checkbox-container img {
  max-width: 100%; /* Largeur maximale des images */
  height: auto; /* Hauteur automatique pour conserver les proportions */
  margin: 0;
}

/* Masquer les cases à cocher */
input[type="checkbox"] {
  display: none;
}

/* Appliquer un style au label (contenant l'image) lorsqu'il est sélectionné */
input[type="checkbox"]:checked + label {
  background-color: blue; /* Fond bleu */
}

.présentation{
  display: inline-block;
  vertical-align: top; /* Pour aligner les images par le haut */
  margin-right: 10px; /* Espacement entre les images */
}

#imgG{
  float: left;
  margin-right: 10px; /* Espacement entre les images */
}

@media (max-width: 760px) {
  nav{
    background:#f9f9fb;
    height:55px;
    margin-bottom:15px;
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    z-index: 1;
    text-align: center;
  }
  main {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 55px; /* Ajoutez une marge en haut pour déplacer vers le bas */
  }
  footer {
    background: #f5f5f7;
    color: #7A7A7A;
    margin-top: auto; 
    max-width: 100%;
    text-align: center;
    font-size: 10px;
  }
  .bas{
    width:80%;
    margin-left:2.5%;
    padding:10px;
  }
  .onglet{
    display: none;
  }
  nav ul li a img{
    max-height:100%;
    max-width:100%;
  }
  nav ul li a{
    line-height:40px;
    display: inline-block;
    padding:0;
    text-decoration: none;
    color: #7A7A7A;
    font-size:14px;
  }
  #img1,
  #img2 {
    position: relative; /* Position relative pour les images */
    width: auto; /* Largeur souhaitée */
    height: auto; /* Hauteur automatique pour maintenir les proportions de l'image */
    max-width:95%; /* Empêche les images de déborder de leur conteneur */
    max-height: 95%;
    background: #f5f5f7;
    margin-bottom: 10px; /* Marge entre les images */
  }
  .img-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Alignement vertical du contenu */
    width: 50%;
    overflow: hidden; 
  }
  .a_cotee {
    display: flex;
    justify-content: center; /* Centre les éléments horizontalement */
    align-items: center; /* Centre les éléments verticalement */
    flex-direction: column; /* Empile les éléments verticalement */
    max-width:100%;
  }
}