body {
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  color: #333;
}

::selection {
  background-color: #a12222;
  color: rgb(255, 255, 255);
}

::-webkit-scrollbar {
  width: auto;
  background-color: rgb(241, 241, 241);
}

/* Barre de Scroll à droite*/
::-webkit-scrollbar-thumb {
  border: 1px solid rgb(241, 241, 241);
  background-color: var(--mainColor);
}

:root {
  --mainColor: #252428;
  --secondColor: #312f36;
  --textColor: #000000;
  --BackgroundColor: #555555;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
  transition: all 0.3s ease;
}

.navbar.expanded {
  height: 120px;
}

.navbarItem {
  text-align: center;
  color: white;
}

.navbarItem a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
  transition: font-size 0.3s ease;
}

.navbarItem span {
  display: block;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar.expanded .navbarItem span {
  opacity: 1;
  font-size: 1.2rem;
}

.navbarItem a:hover {
  font-size: 2.5rem;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #000;
}

.header video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

.section:nth-child(odd) {
  flex-direction: row;
}

.section:nth-child(even) {
  flex-direction: row-reverse;
}

.section img {
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1.5s ease-in-out forwards;
}

.section .text {
  max-width: 50%;
  padding: 2rem;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1.5s ease-in-out forwards;
  animation-delay: 0.5s;
}

.download {
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
  background: #f4f4f4;
}

.download a {
  padding: 1rem 3rem;
  background: #0071e3;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  transition: 0.3s ease;
}

.download a:hover {
  background: #005bb5;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.header {
  background: linear-gradient(to right, #1d1d1d, #2a2a2a);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.Texteintro h1 {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
  animation: fadeIn 1.5s ease-in-out;
}

.Texteintro p {
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
  animation: fadeIn 1.5s ease-in-out;
}

.Texteintro h4 {
  font-size: 1.2rem;
  font-weight: normal;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 800px;
  opacity: 0.9;
  animation: fadeInUp 2s ease-in-out;
}



.information {
  padding: 4rem 2rem;
  background: #f4f4f4;
  color: #333;
}

#Copyright {
  font-size: 18px;
  padding: 20px 35px;
  margin: auto;
  line-height: 22px;
  color: rgba(12, 12, 12, 0.7);
  text-align: center;
}

.category {
  margin-bottom: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.categoryTitle {
  padding: 1rem;
  font-size: 1.8rem;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.categoryTitle:hover {
  background: #a12222;
}

.categoryContent {
  list-style: none;
  margin: 0;
  padding: 1rem 2rem;
  background: #f4f4f4;
  display: none;
}

.categoryContent hr {
  height: 5px;
  background-color: #722727;
  border: none;
  margin: 10px auto;
  border-radius: 10px;
}

.categoryContent li {
  margin: 0.8rem 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

.categoryContent.active {
  display: block;
}

#category2 .container,
#category3 .container,
#category4 .container {
  text-align: center;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#category2 .button,
#category3 .button,
#category4 .button {
  display: inline-block;
  margin: 10px;
  padding: 15px 25px;
  font-size: 16px;
  background-color: #1d1d1d;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#category2 .button:hover,
#category3 .button:hover,
#category4 .button:hover {
  background-color: #2a2a2a;
  transform: scale(1.1);
  transition: 0.5s;
}

#category4 {
  text-align: justify;
}
