@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
.image_chess {
  background-image: url('../images/chess1.png'); /* ou un autre fond */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #30243A;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  margin-top: 100px;
   height: 100%;
}

.image_chess h1,
.image_chess h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: bold;
}

.image_chess h1 {
  font-size: 48px;
  text-transform: uppercase;
  line-height: 1.2;
}

.image_chess h2 {
  font-style: italic;
  font-size: 24px;
  margin-top: 12px;
}

.image_chess::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

.chess-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  align-items: center;
}

.left-title {
  flex: 1 1 40%;
  text-align: left;
}

.left-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #30243A;
  line-height: 1.2;
}

.right-info {
  flex: 1 1 55%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.info-card {
  flex: 1 1 calc(33% - 20px);
  background-color: #DB8D77;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h3 {
  color: #30243A;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .chess-layout {
    flex-direction: column;
    text-align: center;
  }

  .left-title {
    flex: 1 1 100%;
  }

  .right-info {
    flex: 1 1 100%;
    flex-direction: column;
  }

  .info-card {
    flex: 1 1 100%;
  }

  .left-title h1 {
    font-size: 36px;
  }
}
