body{
display: block;
overflow-x:hidden;
padding-top: 6%;
  }


  @font-face {
      font-family: "din";
      font-weight: 100;
      src: url('../fonts/DINdong.otf'),
           url('../fonts/DINdong.woff2') format('woff2'),
           url('../fonts/DINdong.woff') format('woff');
  }

  @font-face {
      font-family: "pic";
      font-weight: 100;
      src: url('../fonts/PicNic-Regular.otf'),
           url('../fonts/PicNic-Regular.woff2') format('woff2'),
           url('../fonts/PicNic-Regular.woff') format('woff');
  }
  /* TOPNAV */

/* LETOUT */

  #topnav{
    position: absolute;
    top:0px;
  }

  @media only screen and (max-width: 600px) {
    #topnav{
      color: white;
      display: flex;
    }
  }

/* ROZENN */

  .ro{
    font-family: "din";
    text-align: left;
    position: fixed;
    left: 10px;
    z-index: 100000;
    font-size: 1.1em;
  }


/* ICONE */

  #menu-icon {
    display: none; /* Masquer l'icône hamburger par défaut */
    cursor: pointer;
   font-size: 6vw;
   margin-left: 20px;
   color: black;
   z-index: 2000;
  }

  @media only screen and (max-width: 600px) {
    #menu-icon {
      display:block;
      position: fixed;
      right: 10px;
      margin-left: 0px;
      z-index: 2000;
      margin-top: -10px;
    }
  }

  /* LESONGLETS */

  .topnav{
    font-family: "din";
    text-align: right;
    position: fixed;
    right: 10px;
    top:0px;
    display: flex;
    z-index: 1000;
      align-items: baseline;
  }

  @media only screen and (max-width: 600px) {
    .topnav{
      z-index: 0;
    }
  }

  ul{
    list-style: none;
    text-align: left;
    padding-inline-start:0px;
  }

  @media only screen and (max-width: 600px) {
    ul{
    list-style: none;
    text-align: center;
    padding-inline-start:0px;
  }

  }

  .menu-item {
    display: inline-block;
    text-align: left;
    margin-right: 20px; /* Ajouter un espace entre les éléments du menu */
    font-size: 1.1em;
  }

  .dropdown-arrow{
    margin-left: -15px;
  }

  @media only screen and (max-width: 600px) {
  .topnav {
    z-index: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;

  }

  .menu-item {
    display: none;
    font-size: 1.5em;
  }

  .topnav.open {
    transition: max-height 0.3s ease-in;
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 0em;
    width: 100%;
    height: 100%;
    background-color: #00ff00; /* Couleur de fond avec opacité */
    z-index: 1000;/* Assurez-vous que le menu est au-dessus du reste du contenu */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Alignez les éléments au centre horizontalement */
    align-items: center;
  }

  .topnav.open .menu-item {
    display: inline !important;
    color: white;
    margin: 0px;
    text-align: center;
    margin-right: 0px;
    padding: 10px; /* Ajoutez un padding autour de chaque élément du menu */
    line-height: 1.2;
  }

  .dropdown-arrow{
    margin-left: 10px;
      color:white;
    font-size: 1.3em;
    margin-left: 5px;
  }
}


  a{
    color: black;
    text-decoration : none;
  }

  a:hover{
    color: #00ff00;
    text-decoration :none;
  }

  .dropdown-arrow:hover{
    color: #00ff00;
  }

  @media only screen and (max-width: 600px) {
    .topnav.open a{
      color: white;
    }

    .topnav.open a:hover{
      color: white;
    }

    .topnav.open .dropdown-arrow:hover{
      color: white;
    }
  }

    /* Ajout du style pour désactiver les liens des deux premières catégories */

    .topnav .menu-item.disabled-category > a {
        pointer-events: none;
        
}

/* IMAGES */

#all{
    column-count: 3;
    gap:5px;
    display: block;
}

img{
  width: 100%;
padding-top: 0%;
}

#imagespro{
position: relative;
z-index: 1;
display: inline;
}

@media only screen and (max-width: 600px) {
    
    #all{
    column-count: 1;
    gap:5px;
    display: block;
    padding-top: 10%;
}
    
  #imagespro{
  position: relative;
  column-count: 1;
  z-index: 1;
  padding-top: 10%;
  }
}

.description{
  font-family: "din";
  position: absolute;
  font-size: 1.2vw;
  color: white;
  margin-top: -45px;
  margin-left: 10px;
  opacity: 0;
  z-index: 1;
}

@media only screen and (max-width: 600px) {
  .description{
    font-size: 4vw;
    line-height: 5vw;
    margin-top: -60px;
  
  }
}

.imagepro:hover img + .description,
.imagepro img:hover + .description {
    opacity: 1;
    pointer-events: all;
}



.imagepro:hover img {
-webkit-filter: blur(10px) brightness(100%);
    filter: blur(10px) brightness(100%) ;
}


@keyframes zoom-in {
  0% {
    transform: scale(1, 1);
  }
  10% {
    transform: scale(1.1, 1.1);
  }

}

@media only screen and (max-width: 600px) {
  .imagepro{
    padding-bottom: 5px;
  }
}

/* GRAPHISME */

#imagesgraph {
    
    position: relative;
    display: flex;
    overflow-x: auto; /* Ajoutez une barre de défilement horizontale si nécessaire */
    white-space: nowrap; /* Empêche le retour à la ligne des éléments */
    gap: 10px;
    overflow-y: hidden;
}

@media only screen and (max-width: 600px) {
  #imagesgraph {
      padding-top: 10%;
      position: relative;
      display: block;
      white-space:normal;
      height: auto;
      overflow-y: visible;
  }
}


.imagegraph {
    flex: 0 0 auto; /* Permet aux éléments d'avoir une largeur fixe */
    margin-right: 10px; /* Espace entre les images (ajustez selon vos besoins) */
height: 100%;
display: contents;
}


.imagegraph img {
    width: auto; /* Assurez-vous que les images occupent toute la largeur de leur conteneur */
    height: auto; /* Maintient le ratio d'aspect de l'image */
    display: block; /* Supprime l'espace réservé sous l'image */
}

@media only screen and (max-width: 600px) {
  .imagegraph img {
      height: auto !important;
      padding-bottom: 5px;
      width: 100%;
}
}

#descri_graphism{
  font-family: "din";
  position: fixed;
  bottom: 0px;
  padding-left: 10px;
padding-right: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
}

@media only screen and (max-width: 600px) {
  #descri_graphism{
    background-color: white;
    padding-top: 5px;
      padding-bottom: 5px;
      padding-left: 5px;
      padding-right: 5px;
    line-height: 4vw;
    position: relative;
  }
}

#title_graph{
  position: relative;
}

strong{
  color:#00ff00;
  font-weight: normal;
  font-family: "pic";
}


/* ABOUT */


#txt_about{
  font-family: "din";
  padding-top: 10%;
  text-align: center;
  font-size: 3vw;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
    

@media only screen and (max-width: 600px) {
  #txt_about{
    font-size: 4vw;
    padding-top: 20%;
      line-height: 4.2vw;
  }
}

#imagesabout{
  width: 40%;
  padding-top: 5%;
  padding-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
}

em{
  font-size: 2vw;
  color: #00ff00;
  font-style: normal;
}

@media only screen and (max-width: 600px) {
  em{
    font-size: 4vw;
    color: #00ff00;
  }
}

/* BOUTIQUE */

#boutique{
  position: relative;
    display: flex;
    justify-content: center;
  left: 0px;
  bottom: 0px;
  font-family: "din";
  font-size: 1.5vw;
  z-index: 20000;
color: #00ff00;
}

@media only screen and (max-width: 900px) {
  #boutique{
  left: 0px;
  bottom: 0px;
  font-family: "din";
  font-size: 2.5vw;
  z-index: 20000;
width: 100%;
      display: flex;
      justify-content: center;

  }
}
