body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  margin: 0;
  background-color: #001e3b;
  padding: 20px;
}

.container {
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

/* Titres */
h1 {
  font-size: 24px;
}

/* Sélecteur de langue */
.language-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.language-switcher button {
  padding: 5px 10px;
  font-size: 14px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.language-switcher button:hover {
  background-color: #0056b3;
}

/* Boutons d'action */
.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.buttons button {
  padding: 10px 15px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.buttons button:hover {
  background-color: #0056b3;
}

/* Images des coffres */
.coffres {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.coffres img {
  width: 80px;
  height: 60px;
  cursor: pointer;
  transition: transform 0.2s;
}

.coffres img:hover {
  transform: scale(1.1);
}

.coffres img[style*="opacity: 0.5"] {
  filter: grayscale(100%);
}

/* Informations et résultats */
#sequence,
#resultCycle {
  font-size: 18px;
  margin: 10px 0;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#resultCycle {
  max-height: 200px;
  overflow-y: auto;
}

/* Images du coffre */
.coffre-image {
  width: 50px;
  height: auto;
  margin: 5px;
  vertical-align: middle;
}

/* Conteneur et image du cycle complet */
.cycle-container {
  text-align: center;
}

.cycle-image {
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Résultats */
.result-item {
  display: inline-block;
  text-align: center;
  margin: 10px;
}

.result-item p {
  margin-top: 5px;
  font-size: 14px;
  color: #333;
}

/* Pop-up d'aide */
.aide-popup {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.aide-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 560px;
  animation-name: zoom;
  animation-duration: 0.6s;
}

.closes {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.closes:hover,
.closes:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Modal pour l'image en grand */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
}

/* Légende pour l'image du cycle complet */
figure {
  margin: 10px;
  padding: 0;
}

figcaption {
  font-size: 12px;
  font-style: italic;
  color: #555;
  text-align: left;
}

/* Logo Discord */
.logo {
  width: 20px;
  height: 20px;
}

/* textes */
p span {
  font-weight: bold;
  color: red;
}