/* Styles généraux */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  line-height: 1.6;
  color: #333;
}

header {
  /* background: linear-gradient(to right, green, yellow, red);  */
  background-color: rgb(115, 84, 145);
  color: #fff;
  padding: 5px;
  text-align: center;
}

header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-style: italic;
}

header p {
  margin: 5px 0 0;
  font-size: 1.1rem;
  font-style: italic;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  border-bottom: 2px solid #a83232;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.content {
  display: flex;
  flex-wrap: wrap; 
  gap: 20px;
  align-items: flex-start;
}

.content .text {
  flex: 1;
}

.content .image {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
  max-width: 300px;
  margin-top: 70px;
}

.content .image img + img {
  margin-top: 100px; /* ⇠ Espace entre la première et la deuxième image uniquement */
}

.content img {
  max-width: 100%;
  height: auto;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: transform 0.3s ease, border 0.3s ease;
}

.content img:hover {
  transform: scale(1.05) rotate(-5deg);
  /* border: 2px solid black;  */
}

a {
  color: #a83232;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
}

@media(max-width: 768px) {
  .content {
    flex-direction: column;
    align-items: center;
  }
  .content .image {
    max-width: 80%;
  }
}
