*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100vw;
  height: 100vh;
}

body {
  position: relative;
}

section#accueil {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 0;
}

video.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
  z-index: 0;
  margin: 0;
  padding: 0;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

.relative.z-10.flex {
  z-index: 10;
  width: 100%;
  max-width: 100%;
  padding: 1.5rem;
  word-break: break-word;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.relative.z-10.flex h1 {
  font-size: 4rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1rem;
  word-break: break-word;
  padding: 0 1rem;
}

.relative.z-10.flex p {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
  word-break: break-word;
}

@media (max-width: 768px) {
  .relative.z-10.flex h1 {
    font-size: 2rem;
  }
  .relative.z-10.flex p {
    font-size: 1.25rem;
  }
}

.wave-motion {
  animation: waveMove 6s ease-in-out infinite alternate;
}

@keyframes waveMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(8px); }
}

nav a:hover {
  color: #FF4C00 !important;
}
