* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Georgia', serif;
  background: black;
  color: white;
  overflow: hidden;
}


#intro-screen {
  position: fixed;
  z-index: 20;
  background: black;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#intro-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro-title {
  white-space: nowrap;
  overflow: hidden;
  font-size: clamp(1.2rem, 2.5vw, 2.5rem);
  letter-spacing: 3px;
  color: white;
  /*animation: fadeOut 1s ease-in-out forwards;
  animation-delay: 1.8s;*/
}

.date-title {
  font-size: clamp(0.8rem, 2vw, 1.5rem);
  letter-spacing: 1.5px;
  color: white;
  /*animation: fadeOut 1s ease-in-out forwards;
  animation-delay: 1.8s;*/
}

#enter-here {
  visibility: visible;
  position: absolute;
  bottom: 40px;
  padding: 10px 20px;
  font-size: 0.9em;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid white;
  border-radius: 30px;
  cursor: pointer;
  z-index: 25;
  transition: background 0.3s ease;
}

#enter-here:hover {
  background: gold;
  color: black;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

#toggle-video-sound {
  position: absolute;
  bottom: 40px;
  right: 30px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid white;
  padding: 10px 15px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.2em;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

#toggle-video-sound:hover {
  background: gold;
  color: black;
}

#skip-intro {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  bottom: 40px;
  padding: 10px 20px;
  font-size: 0.9em;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid white;
  border-radius: 30px;
  cursor: pointer;
  z-index: 25;
  transition: background 0.3s ease;
}

#skip-intro.visible {
  opacity: 1;
  visibility: visible;
  animation: fadeIn 2s forwards;
}

#skip-intro:hover {
  background: gold;
  color: black;
}

#main-content {
  position: relative;
  z-index: 30;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

#main-content .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: 2rem;
}

h1 {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem);
  letter-spacing: 3px;
  margin-bottom: 0.5em;
}

h2 {
  font-family: "Italianno", cursive;
  font-size: clamp(2rem, 3.5vw + 1.8rem, 3rem);
  letter-spacing: 2.5px;
  margin-bottom: 0.5em;
}

.remerciement p {
  max-width: 700px;
  font-size: clamp(rem, 1.2vw + 0.45rem, 1.5rem);
  letter-spacing: 0.8px;
  line-height: 1.6;
  margin-bottom: 1.3em;
}

.btn-galerie {
  text-decoration: none;
  background-color: white;
  color: black;
  padding: 0.8em 1.5em;
  border-radius: 40px;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn-galerie:hover {
  background-color: gold;
  color: white;
}

#toggle-music {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 40;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid white;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9em;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

#toggle-music:hover {
  background: gold;
  color: black;
}

.fade-out {
  animation: fadeOut 1s forwards;
}

.fade-in {
  animation: fadeIn 2s forwards;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}