html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #000;
  background-image: url("../img/background-jungle.jpg"); /* à remplacer */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.success-background{
  background-position: center;
  background-image: url("../img/background-completion.png"); /* à remplacer */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.game-over-background{
  background-position: center;
  background-image: url("../img/game-over.jpg"); /* à remplacer */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  height: 100vh;
  overflow: auto;
  padding: 20px;
  box-sizing: border-box;
}

#skip-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s;
}

#skip-btn:hover {
  color: #ddd;
}

.container {
  display: flex;
  align-items: flex-start;
  max-width: 800px;
  margin: 40px auto;
  background-color: rgba(0, 0, 0, 0.9); /*Fond semi-transparent*/
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px #fff;
}
.hint{
  flex-direction: column;
}
.text-center{
  text-align: center;
  justify-content: center;
   align-items: center!important;
}
#character {
  flex: 0 0 150px;
  margin-right: 20px;
}

#character img {
  width: 150px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px #fff;
}

#text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#text-container {
  font-size: 22px;
  font-family: 'Courier New', monospace;
  color: #fff;
  white-space: pre-wrap;
  min-height: 160px;
}

#next-btn {
  margin-top: 5px;
  margin-left: 10px;
  padding: 8px 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: #000;
  cursor: pointer;
  border-radius: 5px;
  font-size: 18px;
  align-self: flex-end;
}
