/* Style des blocs de contenu avec alternance gauche/droite */
.content-block {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.content-block.left {
  flex-direction: row;
  margin-left: 2em;
}


/* Boîtes contenant les images */
.image-box {
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 3px 3px 10px rgba(0, 0, 255, 0.3);
  margin-right: 2em;
  margin-left: 2em;
}

.image-box img {
  max-width: 20em;
  max-height: 20em;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease; /* Add a smooth transition */
}

.image-box:hover img {
  transform: scale(1.3);
  box-shadow: 0.5em 0.5em 0.5em 0.5em rgba(0, 0, 255, 0.3);
}

/* Style des paragraphes */

p {
  flex: 1;
  text-align: justify;
  margin: 10px;
  font-size: 1.1em;
  line-height: 1.6;
}

/* Responsive Design : empilement en colonne pour petits écrans */
@media (max-width: 768px) {
  .content-block {
    flex-direction: column !important;
    text-align: center;
  }

  .image-box {
    width: 100%;
    height: auto;
    margin: 10px auto;
  }

  p {
    text-align: center;
  }
}