/* ===========================
   RESET CSS
=========================== */
html, body, div, span, h1, h2, h3, p, a { margin:0; padding:0; }
*, *::before, *::after { box-sizing: border-box; }

/* ===========================
   BODY
=========================== */
body {
  background-color: #332C2C;
  color: #f5cb4d;
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ===========================
   HEADERS & TITRES
=========================== */
h1, h2 {
  font-family: 'Lexend Giga', sans-serif;
  color: #ffd966;
}

/* ===========================
   SECTIONS
=========================== */
section {
  min-height: 100vh; /* plein écran */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

/* ===========================
   FLÈCHE DE NAVIGATION
=========================== */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #ffd966;
  text-decoration: none;
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

/* ===========================
   BARRE LATÉRALE (ICÔNES)
=========================== */
.sidebar {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}
.sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffd966;
  color: #d72619;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.sidebar a:hover {
  background-color: #E07979;
  transform: scale(1.1);
}

/* Diaporama en arrière-plan */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
/*  transition: background-image 7s ease-in-out; */
/*  transition: background-image 10s linear; */

}


/* ===========================
   FORMULAIRE
=========================== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
}
input, textarea, button {
  font-family: 'Work Sans', sans-serif;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 2px solid #ffd966;
  background-color: rgba(255,219,219,0.15);
  color: #f5cb4d;
}
input:focus, textarea:focus {
  border-color: #ffd966;
  outline: none;
}
button {
  background-color: #ffd966;
  color: #d72600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
  background-color: #E07979;
  transform: scale(1.05);
}
