
/* Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Cormorant Garamond */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap');

/* Playfair Display */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

/* Lora */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
    scroll-behavior: smooth;
}
body{
    margin: 0px;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient();
    background-attachment: fixed;
    height: 100vh;
    transition-duration: 5s;
    scroll-behavior: smooth;


}











/* Style de base de la barre de navigation */
.navbar {
  display: flex;
  justify-content: space-between; /* Espace entre l'image et le nav */
  align-items: center;
  padding: 10px 20px;
  background-color: #6b0a0a;;
  width: 100%;
}

.navbar img {
  height: 50px; /* Hauteur de l'image */
}

.nav-links {
  list-style: none;
  display: flex; /* Affichage en ligne pour les grands écrans */
}

.nav-links li {
  margin: 0 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.burger {
  display: none; /* Masquer le burger par défaut */
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none; /* Masquer les liens de nav par défaut */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px; /* Position du menu */
    left: 0;
    background-color: #333;
  }

  .nav-links.nav-active {
    display: flex; /* Afficher les liens de nav lorsqu'activé */
  }

  .nav-links li {
    margin: 15px 0; /* Espacement vertical */
  }

  .nav-links a {
    font-size: 20px; /* Taille du texte en mobile */
  }

  .burger {
    display: block; /* Afficher le burger en mobile */
  }

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .toggle .line2 {
    opacity: 0;
  }

  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}









 /* HEADER*/

 .header{
   justify-content: center;
   text-align: center;
   padding: 20px;
   border-top: solid 2px #8395a7;
   border-bottom: solid 2px grey;
   background-image: url("image/cova.png");
   background-repeat: no-repeat;
   background-size: cover; /* Assure que l'image couvre toute la div */
   color: white;s
 }


.header h1{
  font-size: 100px;
  font-family: times;
  color: white;
}

.header p{
  color: white;
  line-height: 150%;
}
.header h3{
  color: white;
}


.header button{
  width: 150px;
  padding: 10px;
  font-size: 30px;
  margin-top: 10px;
  background-color: #6b0a0a;
  color: #fff;
  border: #000 solid 1px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: 20px;
}
.header button a{
  text-decoration: none;
  color: white;
}

.header button:hover{
  opacity: 60%;

}











/* Réactivité */
@media (max-width: 768px) {
  .item {
    width: 400px;
  }

  .scroll-container {
    width: 300%; /* Garde la largeur totale */
    animation: scroll 20s linear infinite;
  }


  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  .item img {
    max-width: 350px;
    height: 200px;
    margin-bottom: 10px;
  }


}

/* FIN DE LA PARTIE 4 DEFILEMENT DES DIV POUR LA PRESENTATION DES DIFFERENTE */





/* PARTIE DE LA PRESENTATION EN VERTICAL */


.activity-container{
  width: 100%; /* Prend toute la largeur disponible */
  max-width: 1200px; /* Limite la largeur maximale à 1200px */
  margin: 0 auto; /* Centre le conteneur horizontalement */
  padding: 10px;
}

.activity-inner{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;

}

.activity-inner .activity{
  width: 100%;
  margin: 10px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}


.activity-inner img{
  width: 100%;
}

.activity-inner .activity a{
  text-decoration: none;
  color: black;
}

.activity-inner .activity a h3{
  padding: 5px;
  background-color: grey;
}

.activity-inner .activity p{
  padding: 10px;
  text-align: justify;
}





@media (max-width: 768px){

  .activity-container{
    padding-left: 2px;
    padding-right: 2px;
  }


  .activity-inner .activity{
    width: 340px;
    margin: 10px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
  }

  .activity-inner{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
  }


  .activity-inner img{
    width: 100%;
  }


}















/* FOOTER*/

footer{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 20px;
    padding-left: 30px;
    background-color: #000;
    color: white;
}

footer .left{
    margin-right: 30px;
    margin-left: 30px;
}
footer .left h1{
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: solid white 3px;
}
footer .left #droit{
    margin-top: 35px;
}

footer .center{
    margin-right: 30px;
    margin-left: 30px;
}
footer .center h1{
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: solid white 3px;

}


footer .center ul li{
  text-decoration: none;
  color: white;
}
footer .center ul li a{
  text-decoration: none;
  color: white;
}

footer .center ul li a:hover{
  text-decoration: none;
  color: #007bff;
}



footer .right{
    margin-right: 10px;
    margin-left: 30px;
}
footer .right h1{
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: solid white 3px;

}
footer .right ul li{
    display: inline-block;
    margin-left: 20px;
}

footer .right ul li a{
    display: inline-block;
    text-decoration: none;
    color: white;
}

footer .right ul li i{
  color: white;

}

footer .right ul li i:hover{
  color: #007bff;

}

















/* GENERER PAR GPT*/


@media screen and (max-width: 768px) {
  body {
    font-size: 16px; /* Réduire la taille de la police pour les appareils mobiles */
  }

  /* Ajustement de la navigation */
  .navbar {
    justify-content: center;
    background-color: black;
    color: #10ac84;
    padding: 10px;
  }

  .navbar img {
    width: 50px;
    height: 50px;
  }

  nav {
    margin-left: 0;
    margin-top: 20px;
  }


  nav ul li {
    display: block;
    margin: 10px 0;
    text-align: center;
  }

  nav ul li a {
    display: inline-block;
    padding: 10px;
    color: #10ac84;
    text-decoration: none;
  }







  /* Ajustement de l'en-tête */
  .header {
    text-align: center;
    padding: 20px;
    border-top: solid 2px #8395a7;
    border-bottom: solid 2px grey;
    background-image: url("image/cova.png");
    background-repeat: no-repeat;
    background-size: cover; /* Assure que l'image couvre toute la div */
    color: white;
  }

  .header h1 {
    font-size: 50px; /* Réduire la taille du titre h1 pour les appareils mobiles */
  }

  .header h3{
    font-family: 'Source Code Pro', monospace
    color: #2f6b0a;
  }

  .header button {
    font-size: 20px; /* Réduire la taille du bouton pour les appareils mobiles */
    padding: 10px;
    margin-top: 20px;
  }



  /* Ajustement de la partie 1 */
  .partie1 {
    flex-direction: column; /* Affichage en colonne pour les appareils mobiles */
    align-items: center; /* Centrer les éléments pour les appareils mobiles */
    margin-top: 20px;
    padding: 10px;
  }

  .partie1 .gauche img {
    width: 340px;; /* Réduire la largeur de l'image pour les appareils mobiles */
    height: auto; /* Hauteur automatique pour conserver les proportions */
    border-radius: 10px 10px 0 0;
  }

  .partie1 .droit {
    width: 90%; /* Réduire la largeur du côté droit pour les appareils mobiles */
    height: auto; /* Hauteur automatique pour conserver les proportions */
    padding: 8px; /* Réduire le padding pour les appareils mobiles */
  }

  .partie1 .droit p {
    font-size: 16px; /* Réduire la taille de la police pour les appareils mobiles */
    line-height: 150%;
    text-align: left;
  }












  /* Ajustement du pied de page */
  footer {
    flex-direction: column; /* Affichage en colonne pour les appareils mobiles */
    align-items: center; /* Centrer les éléments pour les appareils mobiles */
    padding: 20px;
    background-color: #000;
    color: white;
  }

  footer .left,
  footer .center,
  footer .right {
    margin: 10px 0; /* Espacement entre les sections du pied de page */
    text-align: center; /* Centrer le contenu des sections */
  }

  footer .left h1,
  footer .center h1,
  footer .right h1 {
    font-size: 24px; /* Réduire la taille des titres h1 pour les appareils mobiles */
  }

  footer .right ul li {
    display: block; /* Affichage en bloc pour les liens sociaux */
    margin: 10px 0; /* Espacement entre les liens sociaux */
  }


}
