                                             /*  ========= DEBUT DE PAGE ========= */
/* Styles pour la section de la moto */
.moto-section {
  background-color: #000000; 
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
}

.moto-section video {
  width: 100%;
  max-height: 100%;
  margin-top: 50px;
  animation: opacityAnimation 5s infinite alternate;
}

/* Opacité et animation de la vidéo */
@keyframes opacityAnimation {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.1
  }
}



/* Titre à l'endroit et à l'envers */
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.overlay h1 {
  color: white;
  font-size: 5rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  font-family: "Old Standard TT", serif;
    font-weight: 700;
    font-style: normal;
  margin-right: 50px;
}

.upside {
  color: white;
  font-size: 5rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  font-family: "Old Standard TT", serif;
  font-weight: 700;
  font-style: normal;
  position: absolute;
  top: 120%;
  left: 46%;
  margin-left: 50px;
  transform: translate(-50%, -50%) rotateY(180deg);
}

.overlay h1::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 2px;
  background-color: white;
  top: 50%;
  transform: translateY(-50%);
}

.overlay h1:first-child::after {
  right: -550px;
  top: 40px;
}

.overlay h1:last-child::after {
  left: 530px;
  top: 40px;
}



/* Ligne blanche */
.ligne-blanche {
  width: 100%;
  height: 2px;
  background-color: #ffffff56;
}

                                             /*  ========= EXPLICATION DU SITE ========= */
/* Explication du site web */
.description {
  background: url('Images/fond2.png') no-repeat center center fixed;
  background-size: cover;
}

.description h2 {
  text-align: center;
  color: white;
  font-size: 3rem;
  font-family: "Nokora", sans-serif;
  font-weight: 900;
  font-style: bold;
  margin-bottom: 50px;
  padding-top: 100px;
  padding-bottom: 20px;
}

.description p {
  text-align: center;
  color: white;
  font-size: 1.2rem;
  font-family: "Nokora", sans-serif;
  margin: auto;
  line-height: 2.2rem;
  width: 55%;
}

p {
  margin-bottom: 2px;
}


                                             /*  ========= PREMIER SLIDER : MOTO ========= */

.moto {
  background: url('Images/fond2.png') no-repeat center center fixed;
  background-size: cover;
  padding: 50px;
}

.moto h3 {
  text-align: center;
  color: #ffffff;
  font-size: 3rem;
  font-family: "Nokora", sans-serif;
  font-weight: 900;
  font-style: bold;
  margin-bottom: 100px;
  margin-top: 120px;
}

.moto h5 {
  font-family: "Nokora", sans-serif;
  font-weight: 900;
  font-style: bold;
}

/* Taille des images motos */
.container img {
  width: 300px;
}


                                             /*  ========= DEUXIEME SLIDER : AVIS ========= */
section.comment {
  background: url('Images/fond2.png') no-repeat center center fixed;
  background-size: cover;
}

.comment h3 {
  padding: 100px;
  text-align: center;
  color: #ffffff;
  font-size: 3rem;
  font-family: "Nokora", sans-serif;
  font-weight: 900;
  font-style: bold;
  margin-bottom: 30px;
}

.comment h5 {
  font-family: "Nokora", sans-serif;
  font-weight: 900;
  font-style: bold;
}

.container p {
  font-family: "Nokora", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.avis{
  width: 30%;
  height: 10%;
  background-size: cover;
  padding: 15px;
}

.pp{
  width: 20%;
  height: 20%;
}

.etoiles{
  width: 40%;
}

.personne{
  display: flex;
  gap: 20px;
}

.personne p{
  margin-top: 15px;
}


                                             /*  ========= STYLE MENU RESPONSIVE ========= */
/* Style de base pour le menu */
.menu-icon {
  display: none; /* Cache l'icône hamburger par défaut */
  cursor: pointer;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

/* Media queries pour le menu responsive */
@media screen and (max-width: 768px) {
  .menu-icon {
    display: block; /* Affiche l'icône hamburger pour les appareils mobiles */
  }

  .nav-links {
    display: none; /* Cache la liste de liens par défaut */
    flex-direction: column;
    position: absolute;
    background-color: #333;
    top: 80px;
    width: 100%;
    text-align: center;
    z-index: 1000;
  }

  .nav-links li {
    margin-top: 1rem;
  }

  .nav-links.active {
    display: flex; /* Affiche la liste de liens lorsque le menu est ouvert */
  }
}




