 *{
    margin: 0px;
    padding: 0px;
 }
 
 /* ENTETE */

 .entete{
    background-image: url(images/mer4.png);
    height: 100px;
    display: flex;
 }

.entete h1{
    color: white;
    font-family: sans-serif;
    margin-left: 10%;
    margin-top: 20px;
 }

 /* Footer */

 .footer{
  background-color: rgb(161, 195, 210);
  height: 50px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
 }

 .footer p{
  font-family: sans-serif;
  color: white;
 }

 /* MENU */

 .menu { 
	cursor: pointer;  /* curseur en mode pointer au survol */ 
	font-family: sans-serif;
  margin-left: 50px;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column; /* en dessous des autres */
  justify-content: space-between; /* espace entre chaque */
  margin-top: 32px;
  position: relative;
  z-index: 9999; /* Au dessus de tout, marche que avec position relative*/
}

.menu span {
  display: block;
  height: 4px;
  width: 100%;
  background: rgb(0, 0, 0);
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.4s ease; /* ease: démare doucement, finit doucement*/
}

.menu:hover span:nth-child(1) {
  transform: translateY(13px) rotate(45deg);
}

.menu:hover span:nth-child(2) {
  opacity: 0;
}

.menu:hover span:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}

.sousmenu {
    display: none; /* est cachée par défaut. */
    position: absolute;
    background: rgba(255, 255, 255, 0.788);
  	backdrop-filter: blur(10px); /* Floute le fond */
    padding: 5px 10px;
    list-style: none; /*supprime les trucs par défaut de la liste*/
    border-radius: 5px; /* arondir les angles*/
	  box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* ombre */
    min-width: 190px;                  /* largeur minimale */
    margin-top: 30px;
}

.menu:hover .sousmenu { 
	display: block; /* Quand on survole le menu le sous menu apparait*/
} 

.sousmenu li { 
	margin: 15px 0;  /* marge entre les elements de la liste du sous menu*/
}

.sousmenu li a {
  padding: 8px 15px;                  /* marges pour centrer les liens */
  color: #333;
  text-decoration: none;              /* supprime soulignement*/
}

.sousmenu li a:hover {
  color:rgb(27, 27, 27);
  font-weight: bold;
  padding: 5px 10px;
}

@media (max-width: 1100px) {
 .sousmenu{
    font-size: 3em;
    min-width: 460px;
    margin-top: 60px;
 }
  .sousmenu li { 
  	margin: 20px 0;  /* marge entre les elements de la liste du sous menu*/
  }
}

/* Fin Menu*/

/*  ----------------------------------------------------------------------------------- About Me ---------------------------------------------------------------------------------------------*/

.aboutme{
  position: relative;
}

.aboutme h1{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  text-decoration: overline;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 50px;
}

.imgme{
  position: absolute;
  left: 73%;
  top: 50px;
  border-radius: 10px;
}

.description{
  position: absolute;
  left: 53%;
  top: 250px;
}

.aboutme p{
  color: rgb(99, 126, 137);
  font-family: sans-serif;
  font-size: larger;
  margin-left: 20%;
  margin-top: 15px;
  max-width: 50%;
}

.aboutme .CNRS{
  margin-left: 30%;
}

@media (max-width: 1100px) {
  .aboutme p{
  margin-left: 10%;
  }
.aboutme .CNRS{
  margin-left: 10%;
}
 .description{
  left: 63%;
 }
}

.marge{
  margin-bottom: 30px;
}

.annee{
  font-weight: bold;
  margin-right: 10px;
}

.aboutme a{
  margin-right: 2%;
}

/* ACADEMIC CAREER*/

.academiccareer{
  position: relative;
}

.academiccareer h1{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  text-decoration: overline;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 50px;
}

.academiccareer p{
  color: rgb(99, 126, 137);
  font-family: sans-serif;
  font-size: larger;
  margin-left: 20%;
  margin-top: 15px;
  max-width: 50%;
}

.CREC{
  position: absolute;
  top: 150px;
  left: 73%;
}

@media (max-width: 1100px) {
  .academiccareer p{
  margin-left: 10%;
  }
  .CREC{
  position: absolute;
  top: 150px;
  left: 62%;
}
}


/* EDUCATION / PREVIOUS POSITIONS */

.education{
  position: relative;
}

.education h1{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  text-decoration: overline;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 50px;
}

.education p{
  color: rgb(99, 126, 137);
  font-family: sans-serif;
  font-size: larger;
  margin-left: 20%;
  margin-top: 15px;
  max-width: 60%;
}

@media (max-width: 1100px) {
  .education p{
  margin-left: 10%;
  max-width: 80%;
  }
  .education h1{
    margin-left: 28%;
}
}

/* Awards and Archievements */

.AwardsandArchievements{
  position: relative;
}

.LogoI{
  position: absolute;
  margin-left: 3%;
  margin-top: 15px;
}

.AwardsandArchievements p{
  color: rgb(99, 126, 137);
  font-family: sans-serif;
  font-size: larger;
  margin-left: 20%;
  margin-top: 15px;
  max-width: 60%;
}

.AwardsandArchievements h1{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  text-decoration: overline;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 50px;
}

@media (max-width: 1100px) {
  .LogoI{
    display: none;
  }
  .AwardsandArchievements p{
   margin-left: 10%;
   max-width: 80%;
  }
}

.AwardsandArchievements .CNRS{
  margin-left: 35%;
}

.AwardsandArchievements a{
  margin-right: 4%;
  padding-bottom: 50px;
}

/* ----------------------------------------------------------------------------------------INDEX.HTML----------------------------------------------------------------------   */

/* Presentation*/

.Presentation{
  display: flex;
  flex-direction: row;
}

.imgseiche{
  border-radius: 25px;
  margin-left: 15%;
  margin-top: 60px;
  object-fit: cover;
  height: 250px;
}

.Logopoulpe{
  margin-top: 25px;
  margin-right: 55px;
  width: 15%;
  object-fit: contain; /* conserve le ratio */
}

.presentationp{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  font-size: 20px;
  margin-left: 5%;
  margin-top: 60px;
  max-width: 65%;
  text-align: justify;  
  font-size: 1.25rem;
}

@media (max-width: 1100px) {
  .presentationp {
    max-width: 75%; /* ne s’applique que sur écran ≥ 1000px */
    padding-left: 5%;
  }
  .text ol{
    padding-left: 7%;
  }
  .Logopoulpe{
    display: none !important;
  }
  .imgseiche{
    margin-left: 7%;
    height: 200px;
  }
}

.text ol{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  max-width: 32%;
  font-size: 20px;
  font-weight: bold;
  margin-left: 6.5%;
  margin-top: 20px;
}

/* News */

.titrenews{
  display: flex;
  flex-direction: row; 
  margin-left: 42%;
  margin-top: 15px;
}

.Logonews{
  margin-top: 25px;
  margin-right: 2%;
}

.NEWS h1{
  font-family: sans-serif;
  color: rgb(19, 36, 96);
  text-decoration: overline;
  margin-top: 80px;
  margin-bottom: 50px;
}

.NEWS h2{
  color: #5F5E5D;
  margin-left: 2%;
  margin-top: 50px;
}

.NEWS h3{
  color: #5F5E5D;
  font-style: italic;
  font-weight: lighter;
  margin-left: 2%;
  margin-bottom: 20px;
}

.NEWS li a {
  margin-left: 11%;
  margin-top: 50px;
  display: block; /* pour que les marges verticales fonctionnent */
}

.NEWS li a img {
  border-radius: 5px;
  display: block;
  transition: opacity 0.3s, transform 0.3s;
}

.NEWS li a img:hover {
  opacity: 0.75;
  transform: scale(1.025);
}

.NEWS p{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  margin-left: 2%;
  font-size: large;
}

.NEWS li{
  display: flex;
  flex-direction: row; 
  position: relative;
}

.buttonreadmore{
  position: absolute;
  height: 25px;
  width: 8%;
  top: 40%;
  left: 70%;
  background-color: white;
  color: rgb(99, 126, 137);
  border: 2px solid rgb(99, 126, 137);
  border-radius: 4px;
  font-family: sans-serif;
  text-decoration: none;
  text-align: center;
  padding-top: 10px;
  transition: opacity 0.3s, transform 0.3s;
}

.buttonreadmore:hover {
  opacity: 0.5;
  transform: scale(1.015);
}

@media (min-width: 1100px) {
  .NEWS h2{
    max-width: 45%;
  }
  .NEWS p{
    max-width: 45%;
  }
  .NEWS h3{
    margin-left: 2%;
}
}

@media (max-width: 1100px) {
  .imgnews{
    margin-right: 2%;
    height: 125px;
  }
  .NEWS p{
    margin-right: 5%;
  }
  .NEWS{
    margin-right: 2%;
  }
  .NEWS .buttonreadmore{
    display: none;
  }
}

/* -------------------------------------------------------------------------------------- Publications.html----------------------------------------------------------------------------------*/

.Publications h1{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  text-decoration: overline;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.Publications h6{
  color: rgb(161,195,210);
  text-align: center;
  margin-bottom: 10px;
  font-size: 21px;
  font-style: italic;
}

.Publications h5{
  color: rgb(99, 126, 137);
  text-align: center;
  margin-bottom: 100px;
  font-size: 20px;
}

.Publications p{
  color: rgb(99, 126, 137);
  font-family: sans-serif;
  font-size: larger;
  margin-left: 25%;
  margin-top: 35px;
  max-width: 50%;
  text-align: justify;
  text-indent: 30px; /* Alinéas */
}

.Publications h2{
  color: rgb(19, 36, 96);
  font-family: sans-serif;
  font-weight: bold;
  position: absolute;
  margin-top: 40px;
  margin-left: 16%
}

@media (max-width: 1100px) {
  .Publications p{
    margin-left: 20%;
    max-width: 70%;
  }
  .Publications h2{
    margin-left: 8%
 }
}

/*----------------------------------------------------------------------------PhdAndPosdocs.html----------------------------------------------------*/


.grille{
	display: grid;
	grid-template-columns: repeat(auto-fit, 300px); 
	margin-top: 35px;
	gap: 25px; /*espaces entres les bouttons*/
  justify-content: center;
  margin-left: 9%;
  margin-right: 9%;
}

.Postdocs h1{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  text-decoration: overline;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.Postdocs a{
    text-decoration: none;
}

.Postdocs div div{
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  height: 400px;
  transition: transform 0.3s;
}

.Postdocs div div:hover{
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.01);
}

.Postdocs div div img{
  width: 100%;
  height: 200px;
  border-radius: 5px 5px 0 0;
  object-fit: cover;
}

.Postdocs div div h2{
  margin-top: 10px;
  text-align: center;
  margin-bottom: 15px;
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  font-size: 22px;
}

.Postdocs div div p{
  margin-left: 4%;
  margin-right: 4%;
  margin-bottom: 8px;
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  text-indent: 7px;
  text-align: justify;
}

/* ----------------------------------------------------------------------------------OutriechActivities.html----------------------------------------------------------------*/

.OutriechActivities h1{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  text-decoration: overline;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.OutriechActivities p{
  font-family: sans-serif;
  color: rgb(99, 126, 137);
  margin-left: 2%;
  font-size: large;
  max-width: 60%;
}

.OutriechActivities h1{
  font-family: sans-serif;
  color: rgb(19, 36, 96);
  text-decoration: overline;
  margin-top: 80px;
  margin-bottom: 50px;
}

.OutriechActivities h2{
  color: #5F5E5D;
  margin-left: 2%;
  margin-top: 50px;
  max-width: 60%;
}

.OutriechActivities h3{
  color: #5F5E5D;
  font-style: italic;
  font-weight: lighter;
  margin-left: 2%;
  margin-bottom: 20px;
}

.OutriechActivities li a {
  margin-left: 11%;
  margin-top: 50px;
  display: block; /* pour que les marges verticales fonctionnent */
}

.OutriechActivities li a img {
  border-radius: 5px;
  display: block;
  transition: opacity 0.3s, transform 0.3s;
}

.OutriechActivities li a img:hover {
  opacity: 0.75;
  transform: scale(1.025);
}

.OutriechActivities li{
  display: flex;
  flex-direction: row; 
  position: relative;
}