* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Candara', sans-serif;
  background-color: #C1E2FF;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  margin-top: 80px;
  padding: 20px;
}

h1, h2, h3 {
  color: #00008B;
  text-align: center;
  font-family: 'Candara', sans-serif;
}

.enveloppe {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.la-boite-gallerie {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 600px;
}

.la-boite {
  width: 600px;
  height: 600px;
  background-color: #F0F8FF;
  border: 1px solid #00008B;
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.la-boite img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-choix {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background-color: #F0F8FF;
  border-radius: 10px;
}

.choix-titre, .choix-peintre {
  text-align: center;
}

.liste-choix {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.liste-choix li {
  color: #00008B;
  padding: 10px;
  background-color: #F0F8FF;
  border: 1px solid #00008B;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.liste-choix li:hover {
  background-color: #C1E2FF;
}

.liste-choix li.selected {
  background-color: #00008B;
  color: #F0F8FF;
}

.bouton-valider {
  text-align: center;
  margin: 20px 0;
}

.bouton-valider button {
  padding: 10px 30px;
  background-color: #00008B;
  color: #F0F8FF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.bouton-valider button:hover {
  background-color: green;
}

.resultat {
  text-align: center;
  margin: 20px 0;
  font-size: 1.5rem;
}

.resultat button {
  padding: 10px 30px;
  background-color: #00008B;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 20px;
}
