	@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@300&display=swap');
  @font-face {
    font-family: "AlegreyaSans-Black";
    src: url('..//PolicesTelechargees/AlegreyaSans-Black') format('truetype');
  }
  .menu {

    border-radius: 0 0 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    left: 5%;
    position: fixed;
    top: 0;
    left: 5%;
    width: 90%;
    background-color: #fff;
    padding: 10px 0;
    z-index: 1000;
    border-radius: 0 0 20px 20px;
  }
  
  .logo {
    height: 50px;
    margin-left: 20px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .menu ul {
    list-style-type: none;
    margin-right: 30px;
    padding: 0;
    display: flex;
  }
  
  .menu ul li {
    margin-right: 20px;
  }
  
  .menu ul li:last-child {
    margin-right: 0;
  }
  
  .menu ul li a {
    color: #000;
    text-decoration: none;
    font-size: 1.5em;
    
  }
  
  .menu ul li a:hover {
    background-color: #777;
  }
  

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
    position:absolute;
}

body {
  font-family: Alegreya Sans;
    position: absolute;
	  width: 100%;
  height: auto;

  
}

.wallpaper {
  max-width: 100%;
  height: auto; /* ajustez la hauteur en fonction de vos besoins */
  position: absolute;

  
}

.wallpaper img#fond {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;  
  
}



		

/* RACINES */

#troncgauche {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  top: 65%;
  width: 53%;
  left: 0.5%;
  z-index: 2; /* tronc gauche en premier plan */
  transition: all 0.5s ease;
  pointer-events: auto; /* permet aux événements de souris de passer à travers l'image positionnée au-dessus */
  clip-path: polygon(85% 0, 100% 0, 100% 100%, 50% 100%); /* découper l'image en triangle */
}

#troncgauche:hover:not(.no-move),
#troncdroit:hover:not(.no-move) {
  transform: translateX(-20px);
}

#troncdroit {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  top: 63%;
  width: 50%;
  right: 0%;
  z-index: 2; /* tronc droit en premier plan */
  transition: transform 0.5s ease-in-out; /* ajouter la transition pour clip-path */
  pointer-events: auto; /* permet aux événements de souris de passer à travers l'image positionnée au-dessus */
  clip-path: polygon(0 0, 15% 0, 55% 100%, 0 100%); /* découper l'image en triangle à angle droit à gauche  pour que l'animation soit plus fluide quand on passe dessus*/
}

#ouvertdroit:not(.hidden) ~ #troncdroit {
  position: fixed; /* fixer les éléments avec les id "troncdroit" et "troncgauche" lorsque les éléments avec les id "ouvertdroit" et "ouvertgauche" sont affichés */
}

#ouvertgauche:not(.hidden) ~ #troncgauche {
  position: fixed; /* fixer les éléments avec les id "troncdroit" et "troncgauche" lorsque les éléments avec les id "ouvertdroit" et "ouvertgauche" sont affichés */
}

#ouvertdroit:not(.hidden) ~ #troncdroit.no-move,
#ouvertgauche:not(.hidden) ~ #troncgauche.no-move {
  position: absolute; /* ne pas fixer les éléments avec les classes "no-move" */
}




#ouvertdroit {
  position: absolute;
  width: 54%;
  top: 60%;
  right: 0%;
  z-index: 1; /* afficher l'image par-dessus le tronc droit */

}

#ouvertgauche{
  position: absolute;
  width: 54%;
  top: 63%;
  left: 0%;
  z-index: 1; /* afficher l'image par-dessus le tronc gauche */
}

#interieur-programme {
  position: absolute;
  width: 15%;
  top: 81%;
  left: 20%;
  z-index: 1;
  display: none;
  transition: all 1.5s ease-in-out; /* Ajout de la transition */
  overflow: hidden; /* Ajout de cette ligne pour masquer le texte débordant */
  text-align: right; /* Ajout de la propriété de texte aligné à droite */
}


#interieur-membres {
   position: absolute;
  width: 15%;
  top: 83%;
  right: 16%;
  z-index: 1;
  display: none;
  transition: all 1.5s ease-in-out; /* Ajout de la transition */
    overflow: hidden; /* Ajout de cette ligne pour masquer le texte débordant */
	  text-align: left; /* Ajout de la propriété de texte aligné à droite */


}

.hidden {
  display: none !important;
}




/* ANIMATION DES RACINES */


@keyframes wipe-in-right {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes wipe-out-left {
    from {
        clip-path: inset(0 0 0 0);
    }
    to {
        clip-path: inset(0 100% 0 0);
    }
}

@keyframes wipe-in-left {
    from {
        clip-path: inset(0 0 0 100%);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes wipe-out-right {
    from {
        clip-path: inset(0 0 0 0);
    }
    to {
        clip-path: inset(0 0 0 100%);
    }
}

.animate-in-right {
    animation: 2.5s cubic-bezier(.25, 1, .30, 1) wipe-in-right both;
}

.animate-out-left {
    animation: 2.5s cubic-bezier(.25, 1, .30, 1) wipe-out-left both;
}

.animate-in-left {
    animation: 2.5s cubic-bezier(.25, 1, .30, 1) wipe-in-left both;
}

.animate-out-right {
    animation: 2.5s cubic-bezier(.25, 1, .30, 1) wipe-out-right both;
}

/*ARBRE*/

#arbre {
  position: absolute;
  width: 100%;
  height: auto;
  top: 5%;
  z-index: 3; /* arbre en arrière-plan */
  pointer-events: none; /* empêche les événements de souris de se propager aux éléments en dessous */

}



a {
  font-style: normal;
  text-decoration-line: none;
}

a.lien-classique {
  color: #0f334b;
}

a.lien-classiquefooter {
  color: white;
}

a.lien-racine {
  color: white;
  font-size:2vw;
  opacity:60%;
  font-weight: bold;

}

:visited {
  font-style: normal;
  color: #0f334b;
  text-decoration-line: none;
}

#Navigation {
  position: absolute;
  height: auto;
  width: 90%;
  left: 10%;
  top: 0.6%;
  font-size: 2vw;
  display: flex;
  justify-content: space-around;
  
}

.container{
	width:100%;
height:auto}

.access-fenetre {
display: flex;
justify-content: center;
align-items: center;
    width: 100%;
    height: 100%;
    max-width: 300px;
    max-height: 200px;
    border: none;
    border-radius: 50%;
    background: url(../ElementsGraphiques/Pollen1.png) no-repeat center;
    background-size: contain;
    margin: auto;
    font-size: large;
    text-align: center;
	visibility: hidden;
	font-family: 'Alegreya Sans', sans-serif;
	    font-size: 1.3vw;
    font-weight: bold;
}

.access-fenetre2 {
display: flex;
justify-content: center;
align-items: center;
    width: 100%;
    height: 100%;
    max-width: 210px;
    max-height: 200px;
    border: none;
    border-radius: 50%;

    margin: auto;
    font-size: large;
    text-align: center;
	visibility: hidden;
	font-family: 'Alegreya Sans', sans-serif;
	    font-size: 1.3vw;
    font-weight: bold;
}

#aire-afrique:hover .access-fenetre,
#aire-ameriques:hover .access-fenetre,
#aire-atlantique:hover .access-fenetre,
#aire-mediterranee:hover .access-fenetre,
#aire-peninsuleiberique:hover .access-fenetre,
#concept-genre:hover .access-fenetre,
#concept-mecatl:hover .access-fenetre,
#concept-mobilites:hover .access-fenetre,
#concept-savoirspouvoirs:hover .access-fenetre,
#concept-humanitesnumeriques:hover .access-fenetre,
#PopUpXIIeXVe:hover .access-fenetre,
#PopUpXIXe:hover .access-fenetre,
#PopUpXVIeXVIIe:hover .access-fenetre,
#PopUpXVIIIe:hover .access-fenetre,
#PopUpXXe:hover .access-fenetre,
#PopUpXXIe:hover .access-fenetre {
    visibility: visible;

}

#PopOeuf:hover .access-fenetre {
  position: absolute;
	  top:60%;
    left: -5%;
    visibility: visible;
    background: none; /* Retire le fond */
    color: rgb(0, 0, 0);/* Texte en noir */
    font-size: 0.6em; /* Taille de la police de 2em */
 }



#aire-afrique {
position: absolute;
width: 15%;
height: 5%;
top:52%;
left: 6%;
z-index:3;

}


#aire-ameriques{
    position: absolute;
    width: 15%;
    height: 5%;
	top:45%;
    left: 34%;
	z-index:3;
}

#aire-atlantique{
    position: absolute;
    width: 15%;
    height: 5%;
	  top:42%;
    left: 15%;
    font-size: 2.5vw;
    font-weight: bold;
	z-index:3;
}


#aire-mediterranee {
    position: absolute;
    width: 15%;
    height: 5%;
	top:52%;
    left: 34%;
    font-size: 2.5vw;
    font-weight: bold;
	z-index:3;
}

#aire-peninsuleiberique {
    position: absolute;
    width: 15%;
    height: 5%;
    top:48%;
    left: 21%;
    font-size: 2.5vw;
    font-weight: bold;
	z-index:3;
}


#concept-genre{
    position: absolute;
    width:15%;
    height: 5%;
	top:49%;
    left: 50%;
    font-size: 2.5vw;
    font-weight: bold;
	text-align: center;
	z-index:3;
}

#PopOeuf{
    position: absolute;
    width:15%;
    height: 5%;
	top:59%;
    left: 37%;
    font-size: 2.5vw;
    font-weight: bold;
	text-align: center;
	z-index:3;
}
#concept-mecatl{
    position: absolute;
    width: 15%;
    height: 5%;
	top:42%;
    left: 74%;
    font-size: 2vw;
    font-weight: bold;
	z-index:3;
}


#concept-mobilites {
  position: absolute;
  width: 15%;
  height: 5%;
  top:46%;
  left: 62%;
  font-size: 2vw;
  font-weight: bold;
  z-index:3;
}


#concept-savoirspouvoirs{
    position: absolute;
    width: 15%;
    height: 5%;
	top:48%;
    left: 80%;
    font-size: 2.5vw;
    font-weight: bold;
    text-align: center;
	z-index:3;
}

#concept-humanitesnumeriques {
position: absolute;
width: 15%;
height: 5%;
top:55%;
left: 57%;
font-size: 2.5vw;
text-align: center;
z-index:3;

}





#PopUpXIXe{
    position: absolute;
    width: 15%;
    height: 5%;
	  top:33.5%;
    left: 68%;
    font-size: 2.3%;
    font-weight: bold;
    text-align: center;
	z-index:3;	
}

#PopUpXVIeXVIIe{
    position: absolute;
    width: 11%;
    height: 8%;
	top:39%;
    left: 44%;
    font-size: 2.5vw;
    font-weight: bold;
    text-align: center;
	z-index:3;
}

#PopUpXVIIIe{
    position: absolute;
    width: 15%;
    height: 5%;
	  top:37%;
    left: 26%;
    font-size: 2.60417vw;
    font-weight: bold;
    text-align: center;
	z-index:3;
}

#PopUpXXe{
    position: absolute;
    width: 15%;
    height: 5%;
    top:32.5%;
    left: 52%;
    font-size: 3.1%;
    font-weight: bold;
    text-align: center;
	z-index:3;
}


#PopUpXXIe{
position: absolute;
width: 15%;
height: 5%;
left: 34%;
top:33%;
font-size: 2.25%;
font-weight: bold;
text-align: center;
z-index:3;
}


#lien-racine{
    position: absolute;
	  top: 58.9%;
	z-index:1;
}

footer {
position: absolute;
height: 2%;
width:80%;
bottom:3%;
font-size: 2.2vw;
  display: flex;
  flex-wrap: wrap;
justify-content: space-around;
z-index:4;


}

#footer {
	width:100%;
	height:auto;
position:absolute;
bottom:0%;
z-index:3;
    pointer-events: none; /* empêche les événements de souris de se propager aux éléments en dessous */
}
