* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  background-color: #e0a391;
  font-family: 'Georgia', serif;
  position: relative;
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.image-container img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Bouton Français */
.lang-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-250%, -50%);
  z-index: 10;
}

.lang-button img {
  width: 80px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.lang-button img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* Bouton Anglais */
.lang-button-right {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(0%, -50%);
  margin-left: 130px;
  z-index: 10;
}

.lang-button-right img {
  width: 80px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.lang-button-right img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* ----------------------------- */
/* 🎯 Responsive version mobile  */
/* ----------------------------- */

@media (max-width: 768px) {
  .lang-button,
  .lang-button-right {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }

  .lang-button {
    transform: translate(-220%, -50%); /* était -110% → plus à gauche */
  }
  
  .lang-button-right {
    transform: translate(120%, -50%);   /* était 10% → plus à droite */
  }
  

  .lang-button img,
  .lang-button-right img {
    width: 60px;
  }
}
