body {
  margin: 0;
  background-color: black;
}

/*----------------------------------------------- style d'image ---------------------------------------------------------*/



.image_fond1 {
  background-image: url('assets/istockphoto-1398137064-612x612.jpg');
  top: 0;
  left: 0;
  background-repeat: repeat;
  object-fit: cover;
}


@keyframes app {
  0% {
    transform: translateX(510px);
  }

  100% {
    transform: translateX(0);
  }
}

/*------------------------------------------------- style de titre et animation ----------------------------------------------------------------------*/

.titre1 {
  color: rgb(90, 56, 29);
  text-shadow: 2px 5px 2px beige;
  font-size: 6vw;
  text-align: center;
  padding: 25px;
  animation: spe_titre1 3s ease forwards;
}

.titre2 {
  color: rgb(90, 56, 29);
  text-shadow: 2px 5px 2px beige;
  font-size: 6vw;
  text-align: center;
  padding: 25px;
  animation: spe_titre2 3s ease forwards;
}

.titren {
  color: rgb(90, 56, 29);
  text-shadow: 2px 5px 2px beige;
  font-size: 6vw;
  text-align: center;
  padding: 25px;
}

@keyframes spe_titre1 {
  0% {
    opacity: 0;
    transform: translateX(-400px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spe_titre2 {
  0% {
    opacity: 0;
    transform: translateX(400px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/*-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/



.alignement_centre {

  display: flex;
  justify-content: center;
  /* Centrer les éléments à l'intérieur */
  align-items: center;
  /* Centrer verticalement */
  flex-grow: 0.70;
  /* Prendre tout l'espace restant pour centrer le menu */
  text-align: center;
  /* Centrer les éléments de texte à l'intérieur */
}

/*------------------------------------------------------------------ Barre de navigation sur toutes les pages ---------------------------------------------------------------------------*/



.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

/*-------------------------------------------------------------------------------- style de texte -----------------------------------------------------------------------------------------*/

.text-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  min-height: 250px;
  width: 45%;
  background-color: rgba(0, 0, 0, 0.808);
  border-radius: 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 2 colonnes */
  grid-template-rows: 1fr 1fr;
  /* 2 lignes */
  gap: 20px;
  justify-items: center;
  align-items: center;
  margin-bottom: 20px;
}


.text-container1 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: auto;
  min-height: 250px;
  background-color: rgba(0, 0, 0, 0.808);
  border-radius: 20px;
  padding: 20px;
}



.text_descriptif {
  color: white;
  font-size: 25px;
  margin: 30px;
  text-shadow: 2px 2px 2px black;
  padding: 10px;
}

/*-------------------------------------------------------------------------- style de caroussel --------------------------------------------------------------------------------------- */

/* Pour l'image dans le carousel */
.img_carousel {
  position: relative;
  height: 80%;
  /* Réduit la hauteur de l'image */
  width: auto;
  /* S'assure que l'image couvre toute la largeur de son conteneur */
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.703);
}

/* Zone de texte en dessous de chaque image */
.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  /* Fond semi-transparent pour le texte */
  padding: 10px;
  border-radius: 10px;

}

/* Titre */
.carousel-title {
  font-size: 1.5rem;
  /* Plus petit que précédemment */
  font-weight: bold;
  margin-bottom: 5px;
}

/* Texte de description */
.carousel-text {
  font-size: 1rem;
  /* Taille de texte plus petite */
  margin: 0;

}

.carousel-inner {
  width: 80%;
  /* Réduit la largeur totale du carousel */
  margin: 0 auto;
  /* Centre le carousel */
  transition: 0.5s ease-in-out;

}

.carousel-inner:hover {
  filter: brightness(0.5);
}

/*----------------------------------------------------------------------- story style ------------------------------------------------------------------------------------*/

.hist {
  color: white;
  text-shadow: 2px 2px 6px black;
  font-size: 25px;
  display: flex;
  justify-content: center;
  align-items: center;

}

.vids {
  width: 700px;
  border: 2px solid white;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.808);
}

.diago_rd {
  animation: rd 2s ease forwards;
}

.diago_ru {
  animation: ru 2s ease forwards;
}

.diago_ld {
  animation: ld 2s ease forwards;
}

.diago_lu {
  animation: lu 2s ease forwards;
}

@keyframes rd {
  0% {
    opacity: 0;
    transform: translateX(-200px) translateY(-200px);
  }

  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes ru {
  0% {
    opacity: 0;
    transform: translateX(-200px) translateY(200px);
  }

  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes ld {
  0% {
    opacity: 0;
    transform: translateX(200px) translateY(-200px);
  }

  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes lu {
  0% {
    opacity: 0;
    transform: translateX(200px) translateY(200px);
  }

  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}



/*------------------------------------------------------------------------------------ footer -------------------------------------------------------------------------------------------------*/

footer {
  width: 100%;
  padding: 20px 0;
  margin-top: 100px;
  background-color: rgba(128, 128, 128, 0.769);

}


/*---------------------------------------------------- Shop Style --------------------------------------------------------*/


/* Hero Section */
.hero {
  /*background-image: url('assets/chapeau-hero.jpg');*/
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
}

.hero h2 {
  color: rgb(90, 56, 29);
  text-shadow: 2px 5px 2px beige;
  font-size: 90px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 2rem;
  color: rgb(90, 56, 29);
  text-shadow: 2px 2px 2px beige;
}

/* Products Section */
.products {
  padding: 2rem 10%;
  text-align: center;
}

.section-title {
  color: rgb(90, 56, 29);
  text-shadow: 2px 5px 2px beige;
  font-size: 90px;
  margin-bottom: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: 15px;
}

.product-info h3 {
  font-size: 1.5rem;
  margin: 10px 0;
}

.product-info p {
  font-size: 1.2rem;
  color: #28a745;
  margin-bottom: 20px;
}

.btn-buy {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-buy:hover {
  background-color: #218838;
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/*------------------------------------------------------------------------------- style de menu de contact -----------------------------------------------------------------*/


.sidebar {
  position: fixed;
  left: -426px;
  width: 430px;
  height: 85%;
  top: 125px;
  background-color: rgb(128, 128, 128);
  color: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 0 15px 15px 0;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: 0 4px 12px rgb(255, 255, 255);
  border: 1px solid gray
}

.sidebar_open {
  position: fixed;
  left: 0px;
  width: 430px;
  height: 85%;
  top: 125px;
  background-color: rgb(128, 128, 128);
  color: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 0 15px 15px 0;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: 0 4px 12px rgb(255, 255, 255);
  border: 1px solid gray
}


.box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-button {
  position: fixed;
  align-items: center;
  left: 0;
  top: 450px;
  padding: 20px 5px;
  background-color: gray;
  color: rgb(255, 255, 255);
  text-shadow: 4px 3px 3px #000000;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  transition: left 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgb(255, 255, 255);
  border: 1px solid rgb(81, 77, 77);
  z-index: 999;
}

.toggle-button-open {
  position: fixed;
  align-items: center;
  left: 430px;
  top: 450px;
  padding: 20px 5px;
  background-color: gray;
  color: rgb(255, 255, 255);
  text-shadow: 4px 3px 3px #000000;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  transition: left 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgb(255, 255, 255);
  border: 1px solid rgb(81, 77, 77);
  z-index: 999;
}


@media screen and (max-width: 1000px) {
  .sidebar{
    width: 400px;
    left: -396px;
  }
  .sidebar_open{
    width: 400px;
  }
  .toggle-button-open {
    left: 400px;
  }
}

.toggle-button:hover {
  background-color: #3a3a3ac0;
  color: rgb(255, 255, 159);
  text-shadow: 4px 3px 3px #000000;
}

.toggle-button-open:hover {
  background-color: #3a3a3ac0;
  color: rgb(255, 255, 159);
  text-shadow: 4px 3px 3px #000000;
}

.contact {
  color: white;
  font-size: 20px;
  text-decoration-line: underline;
  text-underline-offset: 0.3em;
  text-decoration-color: rgb(182, 1, 1);
  text-decoration-style: solid;
  text-decoration-thickness: 1px;
  text-shadow: 2px 2px 3px #000000;
}

.contact:hover {
  color: rgb(255, 255, 159);
}

/*------------------------------------------- style page faq ---------------------------------------------------------------*/

.faq-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  
}

.faq-subcontainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  width: 900px;
  border: 2px solid rgb(164, 124, 57);
  background-color: rgb(168, 149, 99);
  border-radius: 25px;
  transition: 0.5s ease-in-out;
}

.faq-txt {
  flex: 1;
  color: white;
  font-size: 20px;
  margin: 0;
  margin-left: 25px;
}

.faq-ico {
  color: white;
  font-size: 20px;
  margin: 0;
  text-align: right;
}

.faq-subcontainer:hover {
  transform: scale(1.2);
}


/*  ---------------------------- faq submit style --------------------------------------    */

form {
  background-color: rgba(128, 128, 128, 0.71);
  border-radius: 20px;
  padding: 60px;
}

.txt_id {
  color: white;
  text-shadow: 2px 2px 3px black;
}

.input_style {
  border-radius: 20px;
  height: 50px;
  width: 200px;
}

.submit_style {
  color: darkred;
  background-color: gray;
  cursor: pointer;
  height: 50px;
  width: 100px;
  font-size: 15px;
  border-radius: 5px;
  border: 2px solid white;
  text-shadow: 1px 1px 1px black;
  font-size: 25px;
}

.submit_style:hover {
  box-shadow: 1px 1px 25px white;
  transform: scale(1.2);
  transition: 0.2s ease-in-out;
}


/*------------------------------------------------------------------ Media - Responsive --------------------------------------------------------------------------------------------------- */


@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 1000px) {
  .hist {
    font-size: 17px;
  }
  .vids {
    width: 400px;
  }
  .text-container1 {
    width: auto;
    padding: 5px;
    height: auto;
    max-width: 400px;
    overflow-x: hidden;
  }
  .body {
    overflow-x: hidden;
  }
}


@media screen and (max-width: 1000px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
  }

  .text-container1 {
    min-height: 100px;
    width: auto;
  }
  
  .titren{
    font-size: 26px;
    padding: 7px;
  }
  .titre1{
    font-size: 26px;
    padding: 7px;
  }
  .titre2 {
    font-size: 26px;
    padding: 7px;
  }
  .hero h2 {
    color: rgb(90, 56, 29);
    text-shadow: 2px 5px 2px beige;
    font-size: 50px;
    margin-bottom: 10px;
  }
}