/* http://meyerweb.com/eric/tools/css/reset/
   v2.0b1 | 201101
   NOTE: WORK IN PROGRESS
   USE WITH CAUTION AND TEST WITH ABANDON */
 
   html, body, div, span, applet, object, iframe,
   h1, h2, h3, h4, h5, h6, p, blockquote, pre,
   a, abbr, acronym, address, big, cite, code,
   del, dfn, em, img, ins, kbd, q, s, samp,
   small, strike, strong, sub, sup, tt, var,
   b, u, i, center,
   dl, dt, dd, ol, ul, li,
   fieldset, form, label, legend,
   table, caption, tbody, tfoot, thead, tr, th, td,
   article, aside, canvas, details, figcaption, figure,
   footer, header, hgroup, menu, nav, section, summary,
   time, mark, audio, video {
       margin: 0;
       padding: 0;
       border: 0;
       outline: 0;
       font-size: 100%;
       font: inherit;
       vertical-align: baseline;
       scroll-behavior: smooth;
   }
   /* HTML5 display-role reset for older browsers */
   article, aside, details, figcaption, figure,
   footer, header, hgroup, menu, nav, section {
       display: block;
   }


   ol, ul {
       list-style: none;
   }
   blockquote, q {
       quotes: none;
   }
   blockquote:before, blockquote:after,
   q:before, q:after {
       content: '';
       content: none;
   } 
   /* remember to highlight inserts somehow! */
   ins {
       text-decoration: none;
   }
   del {
       text-decoration: line-through;
   }
   table{
       border-collapse: collapse;
       border-spacing: 0;
   }     

     /* CONTENU */
                         /* POLICES */


@font-face{
    font-family: 'titres';
    src: url('RobotoCondensed-VariableFont_wght.ttf');
    word-spacing: 2em;
    
}
@font-face {
    font-family: 'textes';;
    src: url('NotoSans_Condensed-Thin.ttf');
}
html{
    width: 100%;
}
                         
body {
    max-width: 100%;
    font:50px/1.4em'textes';
    
  }
section{
    padding:60px;
}
  
 
h1,h2,h3,h5,p{
    padding-bottom: 60px;
    line-height: 1em;
   
}
h5{
    text-align: center;
padding-top: 20px;
padding-bottom: 20px;
margin: 0;
font-size: 80px;
font-weight: bold;
font-family:'titres';
margin: auto;
background-color: lightgrey;
width: 100%;
}

h1{text-align: center;
background-size: cover;
background-position: center;
padding: 20px;
font-size: 80px;
font-weight: bold;
font-family:'titres';
margin: auto;
max-width: 1000px;

}
h2{font-style: italic;
    text-align:right;
    font-size: 40px;
    max-width: 1000px;
    margin:auto;
    max-width: 1000px;
    
}

h3{
    font-size: 55px;
    text-align: center;
    font-family: 'titres';
    max-width: 1000px;
    margin:auto;
}
h4{
    color:rgb(87, 84, 84);
    font-size: 40px;
    max-width: 1000px;
    margin:auto;
}
h10{
  font-style: italic;
}
.distribution {
    font-style: italic;
padding: 20px;
margin: 10px auto;
  border: 2px solid black; /* Ajoute une bordure noire de 2px */
  border-radius: 5px; /* Ajoute des coins arrondis (facultatif) */
  max-width: 1000px; /* Ajuste la largeur du bloc */
  text-align: center;
}
.synopsis {
    padding: 20px; /* Espacement interne pour éviter que le texte touche la bordure */
    margin: 10px auto; /* Centrage horizontal et marge externe */
    background-color: lightgrey; /* Couleur de fond */
    max-width: 800px; /* Largeur maximale du bloc */
    text-align: justify; /* Justification du texte */
    border-radius: 5px;
}


b {
    font-weight: bold; /* Applique la mise en gras */
}

p {
    text-align: justify;
    max-width: 1000px;
    margin:auto;
   }

 a {
    outline: none;
    text-decoration: none;
  }
  
  a:link {
    color: black;
  }
  
  a:visited {
    color: black;
  }
  
  a:focus {
    font-weight: bold;
  }
  
  a:hover {
    font-weight: bold;
  }
a:active{
    font-weight: bold;
}
    
ul{
   margin: auto;
   text-align: justify;
   max-width: 1000px;
}
li#tr{
    padding-bottom: 20px;
    list-style:none;
}
img#bio{
    width: 500px;
    height: 500px;
    display: block;
    margin: auto;
    margin-top: 50px;
    border-radius: 10px;
border:none;
}

img{
    width: 100%;
}
.img-projets img {
    max-height: 600px;
    object-fit: cover;
}
.colleagauche{
    object-position: left;
}
.colleadroite{
    object-position: right;
}
.decaleadroite{
    object-position: calc(50% - 50px) center;
}


p img{
    border:2px solid black;
    width: 300px;
    height: 300px;
}

.aside{
    width: 50%;
    text-align: right;
    padding: 16px;
    margin: auto;
    display: flex;
}

.media{
    display: inline;
}

.articlespresse{
    margin: auto;
    max-width: 1000px;
}
.presse{
    max-width: 95%;
    margin: auto;
    margin-bottom: 10px;
    padding: 10px;
}
.presse img{
    width: 100%;
    height: 100%;
    
}
.carouselphotos{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap;
    width: 100%;
}
.paysage{
    max-width: 800px;
    height: auto;
        justify-items: center;
        display: inline-block;
        flex-direction: row;
        margin:10px;
    box-sizing: border-box;
    border-radius: 5px;
    align-self: flex-start;
    } 

.portrait{
    width: 600px;
    height: auto;
        justify-items: center;
        display: inline-block;
        flex-direction: row;
        margin:10px;
    box-sizing: border-box; 
    border-radius: 5px;
    align-self: flex-start;
}

                     /*HEADER*/
    header{   
        margin:15px;  
            background-size: cover;
            margin: 0px;
            text-align: center;
            padding: 30px;
            border: none;
            margin: auto;
            max-width: 800px;
        } 
    
            /*shorter clearfix http://nicolasgallagher.com/micro-clearfix-hack/*/
            header:before,
            header:after {
                content:"";
                display:table;
            }
     
            header:after {
                clear:both;
            }
     
            /* For IE 6/7 (trigger hasLayout) */
            header {
                zoom:1;
            }
    .logo{
        max-width: 80%;
        justify-content: center;
        display: flex;
        margin-left: auto;
        margin-right: auto;
        z-index: 1;
        margin-top: 5px;
        margin-bottom: 10px;
    }   
    .logopartenaires{
        display: flex; /* Utiliser Flexbox */
        justify-content: center; /* Centrer horizontalement */
        align-items: center; /* Centrer verticalement */
        flex-wrap: wrap; /* Permettre le retour à la ligne si nécessaire */
        width: 100%;
        max-width: 1000px;
        margin:0 auto;
    }
    .logopartenaires img{
        width: 100px;
        height: auto;
            max-width: 80%;
            justify-items: center;
            display: inline-block;
            flex-direction: row;
            margin:30px;
        box-sizing: border-box;
        } 
    .centré{
        text-align: center;
        padding-top: 30px;
    }
    
    .icone{
        width: 300%;
        float:right;
    }
    
    a.to_nav{
        float: right;
        color: #fff;
        background: whitesmoke;
        height: 60px;
        font-variant: small-caps;
        letter-spacing: 0.1em;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        z-index: 3;
        transform: scale(.7);
        transition: 0.3s ease all;
        position: fixed;
        right: 10px;
        top: 10px;
    }
    a.to_nav:hover,
    a.to_nav:focus{
        color: black;
        transform: scale(.9);
        background: whitesmoke;
        opacity: 1;
    }
 .carouselphotos img{
    padding: 0;
    margin: 0;
    box-shadow: 0 0 5px black;
 }
/*début code carousel*/

@keyframes tonext {
    75% {
      left: 0;
    }
    95% {
      left: 100%;
    }
    98% {
      left: 100%;
    }
    99% {
      left: 0;
    }
  }
  
  @keyframes tostart {
    75% {
      left: 0;
    }
    95% {
      left: -300%;
    }
    98% {
      left: -300%;
    }
    99% {
      left: 0;
    }
  }
  
  @keyframes snap {
    96% {
      scroll-snap-align: center;
    }
    97% {
      scroll-snap-align: none;
    }
    99% {
      scroll-snap-align: none;
    }
    100% {
      scroll-snap-align: center;
    }
  }
  
 .carpho {
    max-width: 80%;
    width: 900px;
    height:600px;
    margin: 0 auto;
   margin-bottom: 300px ;
  }
  
  * {
    box-sizing: border-box;
    scrollbar-color: transparent transparent; /* thumb and track color */
    scrollbar-width: 0px;
  }
  
  *::-webkit-scrollbar {
    width: 0;
  }
  
  *::-webkit-scrollbar-track {
    background: transparent;
  }
  
  *::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
  }
  
  * {
    -ms-overflow-style: none;
  }
  
  ol, li {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .carousel {
    position: relative;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%; /* Limiter la largeur maximale à 100% */
    margin: 0 auto;
    box-sizing: border-box;
    filter: drop-shadow(0 0 10px #0003);
    perspective: 100px;
    padding-top: 75%;    
}

  .carousel__viewport {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-x: scroll;
    counter-reset: item;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    border-radius: 7px;
  }
  
  .carousel__slide {
    position: relative;
    flex: 0 0 100%;
    width: 80%;
    height: auto;
    background-color: darkred;
    counter-increment: item;
    border-radius: 7px;
  }
  .carousel__slide img{
    max-width: 100%;
    width: 900px;
    height: auto;
    display: block;
    margin: auto; 
    box-shadow: 0 0 3px black;
  }
  #portrait{ 

    width: 406px; 
    max-height: 600px; 
    display: block;
    margin: auto;
  }
  
  .carousel__slide:nth-child(even) {
    background-color: darkred;
  }
  
  .carousel__slide:before {

    position: absolute;
    top: 5%;
    left: 5%;
    transform: translate3d(-50%,-40%,70px);
    color: #fff;
    font-size: 2em;
  }
  
  .carousel__snapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
  }
  
  @media (hover: hover) {
    .carousel__snapper {
      animation-name: tonext, snap;
      animation-timing-function: ease;
      animation-duration: 4s;
      animation-iteration-count: infinite;
    }
  
    .carousel__slide:last-child .carousel__snapper {
      animation-name: tostart, snap;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .carousel__snapper {
      animation-name: none;
    }
  }
  
  .carousel:hover .carousel__snapper,
  .carousel:focus-within .carousel__snapper {
    animation-name: none;
  }
  
  .carousel__navigation {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
  }
  .carousel__navigation-button.active {
    background-color: darkred; 
}
  
  .carousel__navigation-list,
  .carousel__navigation-item {
    display: inline-block;
  }
  
  .carousel__navigation-button {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    margin-bottom: 40px;
    margin-right:20px;
    background-color: black;
    background-clip: content-box;
    border: 0.25rem solid transparent;
    border-radius: 50%;
    font-size: 0;
    transition: transform 0.1s;
    
  }

.carousel__navigation-button:hover,.carousel__navigation-button:active {
    background-color: whitesmoke;
  }
  
  
  .carousel::before,
  .carousel::after,
  .carousel__prev,
  .carousel__next {
    position: absolute;
    top: 0;
    margin-top: 37.5%;
    width: 4rem;
    height: 4rem;
    transform: translateY(-50%);
    border-radius: 50%;
    font-size: 0;
    outline: 0;
  }
  .carousel__prev,
.carousel__next {
  pointer-events: auto; /* Réactive les événements pour les flèches */
z-index: 2;
}
  
  .carousel::before,
  .carousel__prev {
    left: -2rem;
  }
  
  .carousel::after,
  .carousel__next {
    right: -2rem;
  }

  .carousel__prev {
    z-index: 2; /* Plus élevé pour s'assurer qu'il se trouve au-dessus du contenu précédent */
  }
  
  .carousel__next {
    z-index: 3; /* Plus élevé pour s'assurer qu'il est au-dessus de la flèche précédente */
  }

  
 
  .carousel::after {
    content: '';
    z-index: 1;
    background-color: black;
    background-size: 1.5rem 1.5rem;
    background-repeat: no-repeat;
    background-position: center center;
    color: whitesmoke;
    font-size: 2.5rem;
    line-height: 4rem;
    text-align: center;
    pointer-events: none;
  }

  
  .carousel::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
  }

  
     
                     /* NAVIGATION */
   
 /*NAV*/
 #primary_nav{
    background-color: darkred;
    letter-spacing: 0.1em;
    border-bottom: 1px solid silver;
}
#primary_nav a{
    font-family: 'titres';
    border-bottom: 1px solid silver;
}
#primary_nav ul{
    list-style: none;
    padding: 1px 0;
    border-bottom: 1px solid silver;
    max-width: 1800px;
    }
  
    #primary_nav > ul > li >ul {
padding-bottom: 5px;


    }
#primary_nav > ul > li > a {
    display: block;
    padding: 0 20px;
    color: whitesmoke;
    text-decoration: none;
    font-weight: bold;
    line-height: 2em;
    height: 2em;
    font-size: 60px;  
}
nav a:hover{
    background-color: whitesmoke;
    color: white;
}
#primary_nav > ul > li > ul > li > a{
    display: block;
    color: rgb(225, 183, 190);
    text-decoration: none;
    font-family: 'textes';
    letter-spacing: 0.1em;
    line-height: 2em;
    height: 2em;
    padding-left: 40px;
    border-bottom: 1px solid silver;
    font-size: 50px;
}

#primary_nav li:last-child a{
    border-bottom: none;
} 
#primary_nav li a:hover,
#primary_nav li a:focus,
#primary_nav li a:active{
    color: #1c1c1c;
    background: whitesmoke;
}
                                            
  /*FOOTER*/
  footer{
    width: 100%;
    text-align: center;
    background-color: darkred;
    padding-top:80px;
 }
 footer img{
    width: 10%;
    height: 10%;
    border: none;
    max-width: 45px;
}
  footer > p{
    color: rgb(225, 183, 190);
    text-align: center;
    font-size: 45px;
    line-height: 25px;
 }
    footer a{
     padding: 20px;
     
}
h7{
    font-style: italic;
    font-size: 20px;
    text-align: center;
}


/*BODY*/  
/*CARDS PERF*/

.card-container{
    display: flex;
    justify-content:center;
    align-items: center;
    flex-wrap: wrap;
    width: 95%;
    margin:auto;
    box-sizing: border-box;
    
} 

.card-back,.card-front,.card{
    height: 900px;
    width: 600px;
    max-width: 700px;
    justify-items: center;
    display: inline-block;
    flex-direction: row;
    border-radius: 35px;
    padding: 30px;
    margin-bottom: 50px;
    box-sizing: border-box;
    margin-right: 20px;
    

}
.card-back,.card-front{
    border:1px solid black;
    box-shadow: 0 0 3px black;

}


.card:hover .card:focus {
    transform: rotateY(180deg);
    z-index: 1000;
}
.image{
    margin:auto;
    padding-top:100px;
}

.card-back h3{
    position: absolute;
    font-style: oblique;
    font-size: 35px;
    padding-bottom: 15px;
    padding-top: 40px;
    padding-left: 20px;
}
.card-back p{
    position: absolute;
    top:50px;
    font-size:35px;
    color:black;
    padding: 20px;
    text-align: justify;
    line-height: 1em;
    padding-top: 100px;
}
.card-front p{
    font-family: 'titres';
    color:whitesmoke;
    padding-top:15px;
    text-align: center;
    text-shadow: 2px 2px 1px black;
    width: 100%;
    }
h6{
    padding: 8px;
    padding-top: 40px;
    position:absolute;
    top:8px;
    color:whitesmoke;
    font-family: 'titres';
    text-align: left;
    text-shadow: 2px 2px 7px black;
    width: 100%;
    font-size: 45px;
}

.card > .card-front{
    position: absolute;
    transform: rotateY(0deg);
    background-color: darkred;
    width: 600px;
    height: 900px;
    backface-visibility: hidden;
    transition: all 1s ease-out;
}
.card > .card-back{
    position: absolute;
    transform: rotateY(0deg);
    background-color: whitesmoke;
    width: 600px;
    height: 900px;
    border-radius: 35px;
    backface-visibility: hidden; 
    transition: all 1s ease-out;
}
.card:hover > .card-front{
    transform: rotateY(-180deg);
}

.card:hover > .cardback{
    transform:  rotateY(0deg);
}

    
         /*CREATIONS*/
.maingallery{
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    gap:10px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin-top: 35px;
    justify-content:center;
    align-items: center;
}
.maingallery img{
    border-radius: 20px;
    box-shadow: 0 0 10px black;
    max-width: 100%;
   
}


.maingallery_Parcours, .maingallery_Lavisite, .maingallery_Tracer, .maingallery_Fairelien, .maingallery_Showdimpro{
    display: flex;
    justify-content: center;
    align-items: center;
  border-radius: 20px;
  max-width: 750px;
        transition: 0.5s ease all;
        margin-bottom: 35px;
        position: relative;
        margin-left: 200px;
        
}    
.maingallery_Parcours .gallery-overlay,.maingallery_Lavisite .gallery-overlay, .maingallery_Tracer .gallery-overlay, .maingallery_Fairelien .gallery-overlay, .maingallery_Showdimpro .gallery-overlay{
    position: absolute;
    bottom: 30px;
    left: 30px;
    transition: .5s ease;
    background-color: darkred;
    box-sizing: border-box;
    width: 550px;
    height: 60px;
    border-radius: 15px;
    box-shadow: 0 0 10px black;
    max-width: 400px;
}

.maingallery_Parcours:hover .gallery-overlay,.maingallery_Lavisite:hover .gallery-overlay, .maingallery_Tracer:hover .gallery-overlay, .maingallery_Fairelien:hover .gallery-overlay, .maingallery_Showdimpro:hover .gallery-overlay{
    opacity: 1;
}

.maingallery_Parcours .text,.maingallery_Lavisite .text, .maingallery_Tracer .text, .maingallery_Fairelien .text, .maingallery_Showdimpro .text {
    color: whitesmoke;
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 380px;
    height: auto;
    
}

#maingallery_Parcours img:hover , 
#maingallery_Lavisite img:hover , 
#maingallery_Tracer img:hover , 
#maingallery_Fairelien img:hover ,
#maingallery_Showdimpro img{
    filter: saturate(.5);
}

#maingallery_Parcours img:active, 
#maingallery_Lavisite img:active, 
#maingallery_Tracer img:active, 
#maingallery_Fairelien img:active,
#maingallery_Showdimpro img:active {
    filter: saturate(4);
}

/*MEDIA*/
.media {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin: 20px; 
}

.media iframe {
    margin: 50px; 
     
}



 /*AGENDA & TABLEAUX*/
 table{
    border-collapse: collapse;
    width: 100%;
}
td{
    border-bottom: 1px solid darkgrey;
    padding: 6px;
    font-size: 35px;
}
td:first-child {
    width: 25%;
    text-align: left;
}
td:last-child {
    width: 20%;
    text-align: left;
}
.crea {
    color: darkred;
}
.residence {
    color: forestgreen;
}
.transmission {
    color: darkviolet;
}
.rencontre {
    color: orange;
}

    /* NEWSLETTER*/
    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      backdrop-filter: blur(2px);
      display: none;
      z-index: 99;
    }

    /* Fenêtre modal (popup) */
    .modal {
      position: fixed;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      background: darkred;
      padding: 30px;
      border-radius: 8px;
      border: 1px solid black;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      max-width: 600px;
      width: 90%;
      z-index: 100;
      display: none;
      text-align: center;
    }

    .modal h2, .modal p {
      margin-bottom: 4px;
    
      color : whitesmoke;
      text-align:center;
    }

    .modal input[type="email"] {
      width: 100%;
      padding: 12px;
      margin-bottom: 12px;
      border: 1px solid black;
      border-radius: 4px;
    }

  
    .footer-icon-button {
  background: none;
  border: none;
  padding : auto;
  margin: 0;
  cursor: pointer;
}

.footer-icon-button img {
  width: auto; /* ou remplace par la taille exacte souhaitée */
  height: auto;
  display: inline-block;
}



    /* Bouton de fermeture */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 50px;
      cursor: pointer;
      color: black;
    }

    .close-btn:hover {
      color: #333;
    }

/*MEDIA QUERIES*/


/*MEDIA QUERIES 800px*/
@media (min-width: 800px) {
    .img-projets img{
        height:400px;
    }
    #primary_nav > ul > li > ul > li > a,#primary_nav > ul > li > a{
        font-size: 50px;
    }
    .maingallery_Fairelien img,.maingallery_Parcours img,.maingallery_Lavisite img,.maingallery_Tracer img, .maingallery_Showdimpro img{
        width: 80%;
    }
    body, table, td, th, .card-back h3, .card-back p, footer p{
        font-size: 30px;
       }
   
}

/*MEDIA QUERIES 1000px*/
    @media (min-width: 1000px) {
      body, table, td, th, .card-back h3, .card-back p, footer p{
        font-size: 25px;
       }
  
.maingallery {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Align items to the start (left) */
    align-items: center; /* Ensure items stick to the top */
    gap: 20px; /* Adjust gap between items as needed */
}

.maingallery_Parcours img,.maingallery_Lavisite img, .maingallery_Tracer img, .maingallery_Fairelien img, .maingallery_Showdimpro img{
    width: 1800px;
    height:auto;
}   

.maingallery_Parcours,.maingallery_Lavisite, .maingallery_Tracer, .maingallery_Fairelien, .maingallery_Showdimpro {
    flex: 1 1 calc(33.333% - 20px); /* Adjust the percentage and margin as needed */
    margin: 20px; /* Adjust margin as needed */
}
}

/*MEDIA QUERIES 1090px*/
@media only screen and (min-width: 1090px){
    a.to_nav{
        display: none;
    } 
   
    .wrapper{
        position: relative;
        top: 70px;
        max-width: 1100px;
        margin: auto;
    }
    .logo{
        margin-bottom: 50px;
    }
#primary_nav{
    position: absolute;
    top:  261px;
    left:0;
    right:0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    height: 65px;
    background: none;
    border-bottom: none;
}
#primary_nav a{
    color: black;
    margin-left:10px;
    margin-right: 10px;
    font-family: 'titres';
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: none;
    text-decoration: none;
}

#primary_nav ul{
    list-style:none;
    position: absolute;
    display: flex;
    transition: .8s all .3s;
    padding: 0;
    margin: 0;
}

#primary_nav li{
    position: relative;
    margin-left: 0;
padding-left: 0;
}
#primary_nav > ul > li > ul{
    margin-left: 0;
    padding-left: 0;
}
#primary_nav > ul > li > a {
    
    list-style-position:  inside;
    display: block;
        color: black;
        text-decoration: none;
        font-weight: bold;
        line-height: 2em;
        height: 2em;
        font-size: 26px;
        
    }
    #primary_nav > ul > li > ul > li > a{
        color: black;
        text-decoration: none;
        font-size: 20px;

    }

    #primary_nav ul ul {
        display: none; /* Hide dropdowns by default */
        position: absolute;
        top: 100%; /* Position below the parent li */
        left: 0;
        background-color: white; /* Adjust background color as needed */
        padding: 0;
        margin: 0;
        list-style: none;
        z-index: 1000; /* Ensure it appears above other elements */
    }
    
    #primary_nav ul ul li {
        width: 400px; /* Adjust width as needed */
    }
    
    #primary_nav ul ul li a {
        box-sizing: border-box;
        font-size: 16px; /* Adjust font size as needed */
        color: black; /* Adjust text color as needed */
        text-decoration: none;
        display: block;
        white-space: nowrap; /* Prevent text wrapping */
        padding-left: 0;
        margin-left: 30px;
    }
    
    #primary_nav li:hover > ul {
        display: block; /* Show dropdown on hover */
    }
    
    #primary_nav li:hover ul ul li:hover > ul {
        display: block; /* Show nested dropdown on hover */
    }
    #primary_nav ul ul:hover {
        display: block; /* Ensure dropdown stays visible when hovered */
    }
}

/*MEDIA QUERIES 1200px*/
@media only screen and (min-width: 1200px){
  body, table, td, th, .card-back h3, .card-back p, footer p{
    font-size: 24px;
   }
  }
   /*MEDIA QUERIES 1400px*/
   @media only screen and (min-width: 1400px){

   
    #primary_nav a{
        margin-left:20px;
        margin-right: 20px;
}
   }
 /*MEDIA QUERIES 1500px*/
 @media only screen and (min-width: 1500px){
        .img-projets img{
            height:600px;
        }
        #primary_nav a{
            margin-left:50px;
            margin-right: 50px;
    }
 }
  /*MEDIA QUERIES 1800px*/
  @media only screen and (min-width: 1800px){
    #primary_nav a{
        margin-left:80px;
        margin-right: 80px;
}
  }
 /*scroll up*/
  #scrollUp
{
position: fixed;
bottom : 10px;
right: -2px;
opacity: 0.5;
width: 5%;
height: auto;
}

 


