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

html {
  scroll-behavior: smooth;
}
/* styles.css */
body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #f9f9f9;
  /* Chemin de l'image */
  background-image: url("BG0.png");
  /* background-size: cover; */
  background-position: center center; /* Centrer l'image */
  /* background-attachment: fixed; */
}

/* Navbar styles */
.navbar {
  /* position: sticky; */
  position: fixed;
  /* Fixe le menu au haut à gauche de la page */
  top: 0;
  left: 0;

  width: 100%;
  /* Fond transparent */
  background-color: transparent;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  /* Assure que le menu reste au-dessus des autres éléments */
  z-index: 1000;
  /* Animation fluide */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  /* Devient blanc après scroll */
  /* background-color: white;
  color: black; */
  /* Ajout d'une ombre */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.navbar a {
  color: white;
  text-decoration: none;
  /* margin: 0 15px; */
  font-size: 18px;
}

.navbar a:hover {
  color: #4caf50; /* Change la couleur au survol */
}

.navbar a.active {
  color: #4caf50;
  font-weight: bold;
  border-bottom: 2px solid #4caf50;
}

.logo {
  font-size: 40px;
  font-weight: bold;
  transition: font-size 0.3s ease;
}

.navbar.scrolled .logo {
  font-size: 20px;
}

/* .search-bar {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.navbar.scrolled .search-bar {
  opacity: 1;
  pointer-events: all;
} */

.search-bar input {
  padding: 5px 10px;
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: border 0.3s;
}

.navbar.scrolled .search-bar input {
  /* Ajout d'un bord visible après scroll */
  border: 1px solid #ddd;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh; /* Section takes 100% of the viewport height */
}

.intro {
  /* background-color: #4caf50; */
  color: white;
  flex-direction: column;
}

.intro h1 {
  font-size: 50px;
}

.highlight {
  /* Couleur de surlignage */
  background-color: #ff00c8;
  /* Ajout de marge autour du texte pour l'espacement */
  padding: 0 5px;
}

.second-screen {
  /* Blue */
  /* background-color: #008cba;  */
  color: white;
}

header {
  background-color: red; /*#4caf50;*/
  color: white;
  text-align: center;
  padding: 1rem;
}

main {
  padding: 2rem;
  text-align: center;
}

button {
  background-color: #ff00c8; /*#008cba;*/
  color: white;
  border: none;
  width: 20px;
  height: 40px;
  /* border: 2px solid #4caf50; */
  padding: 3px 0px 0px 0px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 30px;
  font-weight: 800;
  cursor: pointer;
  /* border-radius: 0px; */
  /* transition: all 0.3s ease; */
  /* transform: rotate(90deg); */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Aligner le texte verticalement sans rotation */
  /* Écriture verticale de droite à gauche */
  writing-mode: vertical-rl;
  /* Permet d'afficher le texte correctement */
  text-orientation: mixed;
}

button:hover {
  background-color: black;
  /* padding: 5px 0px 5px 5px; */
}

footer {
  text-align: center;
  /*padding: 20px;*/
  background-color: red;
}

h1 {
  margin-bottom: 20px;
}
