/* Importation des classes de polices */
@import url('./font.css');

/* Style global pour le corps */
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Conteneur principal */
.container {
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: rgb(255, 255, 255);
}

/* Styles pour les différentes sections */
.row {
  display: flex;
  width: 100%;
  background-color: #ffffff;
  justify-content: space-between; /* Sépare les colonnes au milieu */
}

.col-left, .col-right {
  flex: 1;
  background-color: #ffffff;
  display: flex;
}

.col-left {
  background-color: #ffffff;
  margin-top: 20px;
  height: 50px;
  margin-left: 0;
}

.col-right {
  background-color: #ffffff;
  margin-top: 10px;
  flex-direction: column;
  margin-left: 0;
  justify-content: center;
  align-items: center;
}

/* Styles pour la navigation */
nav {
  position: relative;
}

nav ul {
  margin-top: 20px;
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 40px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: black;
}

/* Styles pour les sous-menus */
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  list-style-type: none;
  padding: 10px 0;
  margin: 0;
  background-color: transparent;
  flex-direction: column;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Afficher les sous-menus au survol */
nav ul li:hover ul, nav ul li:focus-within ul {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Ligne horizontale de séparation dans la navigation */
.horizontal-line {
  margin-top: 7px;
  transition: margin-top 0.5s ease;
  width: 100%;
}

.horizontal-line line {
  stroke-width: 5;
}

/* Styles pour le contenu principal */
main {
  display: flex;
  text-align: center;
  flex: 1;
  padding: 15px;
  background-color: rgb(255, 255, 255);
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

main img {
  max-width: 100%;
  max-height: 100vh;  /* Limite la hauteur maximale de l'image à 100% de la hauteur de la fenêtre */
  object-fit: contain;  /* L'image s'adapte au conteneur sans être coupée */
  margin-left: auto; /* Centre l'image horizontalement */
  margin-right: auto; /* Centre l'image horizontalement */
  height: auto;
}


.main-col img {
  max-width: 100%;
  max-height: 100vh;  /* Limite la hauteur maximale de l'image à 100% de la hauteur de la fenêtre */
  object-fit: contain;  /* L'image s'adapte au conteneur sans être coupée */
  margin-left: auto; /* Centre l'image horizontalement */
  margin-right: auto; /* Centre l'image horizontalement */
  height: auto;
}

.main-col {
  flex: 1;
  background-color: #ffffff;
  padding: 50px;
  text-align: center;
  margin: 0;
  align-items: center;
}

/* Styles pour les colonnes dans le main */
.main-col-left, .main-col-right {
  flex: 1;
  background-color: #ffffff;
  padding: 50px;
  width: 50%;
  margin: 0;
}
.main-col-left {
  background-color: #ffffff;
  order: 1;
}

.main-col-right {
  background-color: #ffffff;
  order: 2;
}


/* Styles pour le pied de page */
footer {
  text-align: center;
  padding: 0px;
  background-color: rgb(255, 255, 255);
  width: 100%;
  flex-shrink: 0;
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center; /* Centre le footer horizontalement */
  align-items: center; /* Centre le contenu du footer verticalement */
}



/* Centrage des éléments */
.centered {
  justify-content: center;
  align-items: center;
}

/* Styles pour les polices */
.site-logo {
  font-family: "bicyclette", sans-serif;
  font-weight: 700;
  font-size: 2.4em;
  margin-left: 40px; /* Décale le logo de 20px à droite */
}

/* Styles pour le logo */
.logo-link {
  text-decoration: none; /* Supprime le soulignement */
  color: inherit; /* Utilise la couleur héritée du parent */
}

nav ul li a {
  font-family: "bicyclette", sans-serif;
  font-weight: 300;
  font-size: 1.3em;
}

nav ul li ul li a {
  font-family: "bicyclette", sans-serif;
  font-weight: 400;
  font-size: 1.15em;
}
h1 {
  font-family: "the-seasons", sans-serif;
  font-weight: 700;
  font-size: 3em;
}
h2, h3, h4, h5, h6 {
  font-family: "the-seasons", sans-serif;
  font-weight: 700;
  font-size: 2.5em;
}

p {
  font-family: "futura-pt", sans-serif;
  font-weight: 200;
  font-size: 1.1em;
  text-align: justify; /* Ajoute la justification du texte */
}

/* Styles pour les images */
img {
  margin: 10px;
  width: auto;
  height: 75vh;
  display: block;
  max-width: 100%;
}

/* Décalage lors de l'interaction avec les sous-menus */
.shift-main {
  margin-top: 5px;
}

.shift-line {
  margin-top: 60px;
}



/* Styles globaux pour le slideshow */
.slideshow {
  position: relative;
  width: auto;
  margin: auto;
  overflow: hidden;

}

.slideshow img {
  height: 70vh;
  width: 100%;
  display: none; /* Par défaut, toutes les images sont masquées */
  transition: opacity 0.5s ease;
  cursor: pointer; /* Utilisez pointer pour une flèche */

}

.slideshow img.active {
  display: block; /* Seule l'image avec la classe active est affichée */
  opacity: 1;
}



/* Styles pour le conteneur du shop */
.shop-container {
  width: 100%; /* Assure que le shop prend toute la largeur disponible */
  justify-content: center;
  align-items: center;
  display:block; /* Affiche les liens horizontalement */
  padding-left: 300px; 
  padding-right: 300px; 

}


/*max-height: 90vh; /* Limite la hauteur à 90% de la hauteur de la fenêtre */
/*overflow: auto; /* Permet le défilement si le contenu dépasse la hauteur maximale */
/*width: 100%; /* Assure que le shop prend toute la largeur disponible */
/*box-sizing: border-box; /* Inclut les bordures et les marges dans la largeur et la hauteur */
/*padding: 20px; /* Ajoute un peu de padding autour du contenu */
/*display: flex;
/*justify-content: center;
/*align-items: center;*/






.social-links {
  display: flex; /* Affiche les liens horizontalement */
  justify-content: left; /* Centre les liens horizontalement */

}
.social-links a {
  display: inline-block; /* Affiche les liens en tant que blocs */
  margin: 0 7px; /* Ajoute une marge horizontale entre les liens */
  text-decoration: none; /* Supprime la décoration du texte pour les liens */
}
.social-links img {
  width: 18px; /* Spécifie la largeur des images */
  height: auto; /* Spécifie la hauteur des images */
}










/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/




/* Styles spécifiques pour les écrans intermédiaires */
@media screen and (min-width: 800px) and (max-width: 1224px) {
  /* Ajustez les polices pour l'écran intermédiaire */
  .site-logo {
    font-size: 1.8em;
  }

  nav ul li a {
    font-size: 1.1em;
  }

  nav ul li ul li a {
    font-size: 1em;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: 2em;
  }

  p {
    font-size: 1.1em;
  }


  .shop-container {
    width: 100%; /* Assure que le shop prend toute la largeur disponible */
    justify-content: center;
    align-items: center;
    display:block; /* Affiche les liens horizontalement */
    padding-left: 0; 
    padding-right: 0; 
  
  }

  

  
}



/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------*/




/* Styles spécifiques pour les petits écrans */
@media screen and (max-width: 800px) {
  .shift-main {
    transition: margin-top 0.5s ease; /* Ajout de la transition */
  }

  .shift-footer {
    transition: margin-top 0.5s ease; /* Ajout de la transition */
  }

  .slideshow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 22px;
    margin-right: 22px;
    width: auto;
    display: block;
    height: auto;
    margin-top: 0; /* Supprime la marge supérieure */
  }

  .slideshow img {
    display: block; /* Toutes les images sont affichées en mode colonne */
    width: 100%;
    padding: 10px 0;
    align-items: center;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 23px; /* Ajoute un espace entre les images */
  }

  .slideshow img.active {
    opacity: 1;
  }



  .shift-main {
    margin-top: 40px;
  }

  .shift-footer {
    margin-top: 10px;
  }

  .row {
    flex-direction: column;
    align-items: center;
  }
  .main-col {
    padding: 15px;
  }

  .col-left, .col-right {
    width: 100%;
    text-align: center;
    flex: 1;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
  }

  nav ul {
    justify-content: center;
    padding: 0;
    margin: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .horizontal-line {
    display: none;
  }

  .site-logo {
    font-size: 1.8em;
    margin-left: 0; /* Décale le logo de 20px à droite */
  }

  nav ul li a {
    font-size: 1.1em;
  }

  nav ul li ul li a {
    font-size: 0.95em;
  }
  h1 {
    font-size: 2em;
  }
  h2, h3, h4, h5, h6 {
    font-size: 1.5em;
  }

  p {
    font-size: 1em;

  }

  footer {
    margin-left: 0;
  }

  /* Styles pour les colonnes dans le main en mode petit écran */
  main {
    flex-direction: column;
  }

  .main-col-left, .main-col-right {
    width: 100%;
    margin: 0;
    padding: 0px;

    height: auto; /* Ajoutez cette ligne pour que la hauteur s'adapte au contenu */
  }

  .main-col-left {
    order: 1;
  }

  .main-col-right {
    order: 2;
  }

  main img {
    height: auto;  
  }



  .shop-container {
    width: 100%; /* Assure que le shop prend toute la largeur disponible */
    justify-content: center;
    align-items: center;
    display:block; /* Affiche les liens horizontalement */
    padding-left: 0; 
    padding-right: 0; 
  
  }


  
  
}
