@font-face {
  font-family: 'SH Pinscher';
  src: url('Fonts/SHPinscher-Regular.otf');
}

* {
  font-family: 'SH Pinscher', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: url('image/willyfond.png') center/cover no-repeat fixed;
  padding-top: 80px;
  scroll-behavior: smooth;
}

a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: yellow;
}

header.top-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  padding: 10px 20px;
}

.top-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  width: clamp(200px, 25vw, 350px);
  opacity: 0.9;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.top-logo:hover {
  opacity: 1;
}

#nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 10px;
}

#nav li {
  font-size: clamp(1.2em, 2vw, 1.8em);
}

#nav li:not(:last-child)::after {
  content: "★";
  margin: 0 10px;
}
.bande-passante-top {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  z-index: 998;
  background: linear-gradient(270deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
  background-size: 600% 600%;
  animation: raveGradient 10s ease infinite;
  color: #000;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  padding: 0.7rem 0;
  text-align: center;
  text-shadow: 1px 1px 4px white;
  letter-spacing: 1px;
  box-shadow: 0px 0px 10px rgba(255,255,255,0.5);
}

.marquee-top {
  display: inline-block;
  padding-left: 100%;
  animation: marquee-top 30s linear infinite;
}
@keyframes marquee-top {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

@keyframes raveGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.photo-carousel {
  padding: 2rem 1rem;
  background: #f5f2eb;
  border: 2px dashed #bbb;
  overflow-x: auto;
}

.carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.photo-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-align: center;
}

.photo-item img {
  max-height: 70vh;
  max-width: 90vw;
  border: 1px solid #333;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.3s ease;
}

.photo-item img:hover {
  transform: rotate(-1deg) scale(1.01);
  box-shadow: 6px 6px 0 #e1c4a1;
}

.caption {
  font-size: 0.85rem;
  color: #333;
  background: #fff8;
  padding: 0.3rem 0.5rem;
  border-left: 2px solid #aaa;
  max-width: 80vw;
}

.description-section {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.8);
  border: 2px dashed #FFFF00;
  color: white;
  font-size: 1.2rem;
  font-family: 'SH Pinscher', monospace;
  position: relative;
}

.description-section::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 100%;
  height: 100%;
  border: 2px solid #FFFF00;
  transform: rotate(-1.5deg);
  mix-blend-mode: difference;
  pointer-events: none;
}
