@font-face {
  font-family: "Dream";
  src: url("../Fonts/Dreaming-Regular.otf");
}
@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;700&display=swap');

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  
  /* Fond par défaut (PC) */
  background-image: url("../Images/index.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center; /* focus sur droite */
  background-attachment: fixed;
}

.welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: relative;
}

/* Cercle principal */
.enter-button {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #07252d !important;
  position: relative;
  user-select: none;
  overflow: visible; /* Permet aux boutons de dépasser */
}

/* Texte animé */
.enter-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform-origin: center center;
  transform: translate(-50%, -50%) rotateX(90deg);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  font-weight: 500;
  font-size: 0.95rem;
  color: #07252d !important;
  user-select: none;
  pointer-events: none;
  width: 100%;
  text-align: center;
  letter-spacing: 0.12em;
  z-index: 2;
}

/* Texte actif visible */
.enter-text.active {
  opacity: 1;
  transform: translate(-50%, -50%) rotateX(0deg);
  
}



/* Boutons langues */
.lang-button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  position: absolute;
  bottom: -6px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  opacity: 0.7;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: auto;
  z-index: 3;
}

/* Position gauche et droite */
.lang-button.fr {
  left: 10px;
  background-image: url('../Images/fr-flag-icon.png');
}

.lang-button.us {
  right: 10px;
  background-image: url('../Images/us-flag-icon.png');
}

/* Hover effets */
.lang-button:hover {
  transform: scale(1.5);
  opacity: 1;
}

/* Adaptation mobile */
@media (max-width: 600px) {
  html, body {
    background-image: url("../Images/index-mobile.jpg");
    background-size: cover;
    background-position: bottom center;
    background-attachment: scroll;
    overflow: hidden;
  }
}
