* {
  font-weight: 700;
}

body {
  background: #5a5a5a;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 10;
  padding: 0.8rem 1.5rem;
  transition: background 0.4s ease;
}

.etoile-svg {
  width: 80px;
  height: 80px;
  fill: #ffffff;
  transition: fill 0.3s ease;
  transform-origin: center;
}
.etoile-svg.tourne {
  animation: rotation 1.5s linear infinite;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#titre {
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 27px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.ligne2::before {
  content: none;
}
@media (max-width: 700px) {
  .ligne2::before {
    content: "\A";
    white-space: pre;
  }
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 10;
}

.tunnel-wrap {
  width: 280px;
  cursor: pointer;
}

.etoile2,
.etoile3 {
  display: none;
}
@media (min-width: 600px) {
  .etoile2 {
    display: block;
  }
}
@media (min-width: 1024px) {
  .etoile3 {
    display: block;
  }
}

.tunnel-svg {
  width: 100%;
  stroke: none;
  transition: fill 0.3s ease;
}

#bg-hover {
  position: fixed;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(20px);
  transform: scale(1.05);
  transition:
    opacity 1.4s ease,
    filter 1.4s ease,
    transform 1.4s ease;
  pointer-events: none;
}
#bg-hover.visible {
  opacity: 0.7;
  filter: blur(0px);
  transform: scale(1);
}
