/* === Global === */
body {
  background: url("images/background.webp") no-repeat center center fixed;
  background-size: cover;
  font-family: "Arial", sans-serif;
  color: #ffffff;
  text-align: center;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Empêche le scroll global */
  box-sizing: border-box;
}

/* === Structure === */
.container {
  margin-top: 15%;
}

.centered-container {
  min-height: 100vh;
  height: 100vh;
  width: 100vw;
  overflow: hidden; /* Empêche le scroll dans le conteneur principal */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* === Titres === */
h1 {
  font-size: 2.5em;
  opacity: 0.9;
}

/* === Texte et Liens === */
.floating-text {
  animation: float 5s infinite alternate ease-in-out;
}

.fade-in-text {
  opacity: 0;
  animation: fadeIn 3s forwards;
}

.dream-link {
  display: block;
  margin-top: 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2em;
}

/* === Images === */
.liminal-image {
  width: 80%;
  transition: filter 2s ease-in-out;
}

.liminal-image:hover {
  filter: blur(3px);
}

/* === Formulaire mot de passe === */
.password-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.password-container input,
.password-container button {
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #333;
  background-color: white;
}

.password-container input {
  max-width: 200px;
}

/* === Animations === */
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(10px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

