


.blue-band {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 13vh;
  background-color: #1d180bc2;
  position: sticky; 
  top: 0; 
  z-index: 99999;
  border-bottom: 1px solid rgba(47, 51, 46, 0.801);
  backdrop-filter: blur(15px);      
}

.blue_title {
  color:#2ec23b;
}

/* moovingbluband2 */

.blue_title_index {
  position: relative;
  color:#2ec23b;
  transition: color 0.3s ease;
}

/* Pseudo-élément caché par défaut */
.blue_title_index::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 99999;
}

/* Au survol de .blue-band, le texte original devient transparent */
.blue-band:hover .blue_title_index {
  color: transparent;
}

/* Au survol, le pseudo-élément affiche "A Propos" */
.blue-band:hover .blue_title_index::after {
  content: "A Propos";
  color:#2ec23b;
  opacity: 1;
  z-index: 99999;
}



/* ============================ */
/* titres             */
/* ============================ */

/* Style global du header */



.header {
position: relative;
padding: 2%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
border-bottom: 1px solid rgba(47, 51, 46, 0.801);
font-family: 'Open Sans', sans-serif;
color: rgb(250, 221, 248);
z-index: 99999;
}

.header::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("../images/fond2.jpg") no-repeat center center;
background-size: cover;
background-attachment: fixed;
z-index: 99999;
}

.header > * {
position: relative;
z-index: 100000;
}

.fa-chevron-right {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%) rotate(90deg); 
animation: bounce 2s infinite;
}

.scroll {
position: absolute;
bottom: 60px;
left: 50%;
transform: translateX(-50%) rotate(90deg); 
animation: bounce 2s infinite;
}

@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
  transform: translateX(-50%) rotate(90deg) translateX(0);
}
40% {
  transform: translateX(-50%) rotate(90deg) translateX(-10px);
}
60% {
  transform: translateX(-50%) rotate(90deg) translateX(-5px);
}
}

.header-right {
position: absolute;
top: 45%;      
left: 95%;
}

.header-left {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center; 
min-height: 40vh;        
padding: 2rem;           
margin-top: auto; 
margin-left: 100px;  
margin-bottom: auto;  
margin-right: 100px;      
border: solid 1px rgba(47, 51, 46, 0.801);
border-bottom: solid 2px rgba(92, 100, 90, 0.363);
border-radius: 10px;
background-color: #0f351e1a;
backdrop-filter: blur(8px);
text-align: left;
}



.header-left h1 {
position: relative;
font-weight: bold;
font-size: 2em; 
margin: 0;
color: rgb(250, 221, 248);
z-index: 99999;
}

.sstitre {
font-weight: bold;
font-size: 1em; 
}

.intro {
padding: 10px;
width: 80%;
text-justify:distribute
}

/* Section centre */
.header-center {
text-align: center;
flex-grow: 1;
}

.header-center h2 {
font-weight: bold;
font-size: 1 em;
margin: 0;
}
/* logos header */
.header-right .fa-square-envelope {
position: relative;
color: #f2d2fc;
transition: 0.3s;
}

.header-right .fa-square-envelope:hover {
scale : 1.2;
}

.header-right .fa-linkedin {
position: relative;
color: #f2d2fc;
transition: 0.3s;
}

.header-right .fa-linkedin:hover {
scale : 1.2;
}

.header-right .assessfirst-link {
display: inline-block;
margin-left: 1rem; 
vertical-align: middle; 
}

.header-right .assessfirst-logo {
scale: 0.8;
width: 40px;  
margin-top: 5px;  
margin-left: -22px;     
transition: transform 0.3s;
}

.header-right .assessfirst-logo:hover {
transform: scale(1.1);
}



/* ============================ */
/* ZONE DÉROULANTE              */
/* ============================ */
.slide-down {
  max-height: 0;           
  overflow: hidden;       
  background-color: #1f1c13dc;
  background: url("../images/fond1.jpg") no-repeat center center;
  background-size: cover;       
  color: #66eb71;      
  backdrop-filter: blur(10px);       
  text-align: center;      
  transition: max-height 0.5s ease-out, padding 0.3s ease-out;
  padding: 0 1rem;         
  position: sticky; 
  top: 13vh; 
  z-index: 99999;   
  border-bottom: 1px solid rgba(47, 51, 46, 0.801);
}

/* Affiche la zone quand la souris survole la bande ou la zone elle-même */
.blue-band:hover + .slide-down,
.slide-down:hover {
  max-height: 500px;
  padding: 1rem;          
}

/* ============================ */
/* MENU DÉROULANT               */
/* ============================ */


/* IMAGE RONDE                  */
/* ============================ */
.photo-profil {
  width: 100px;
  height: 100px;
  border-radius: 50%;     
  object-fit: cover;      
  margin-bottom: 1rem;
}

/* Conteneur à trois colonnes */
.profil-container {
display: flex;
justify-content: left;
align-items: stretch; 
gap: 2rem;      
}

.profil-center p {
  font-size: 0.9rem; 
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #70ff4c;
}

/* Colonne gauche (photo + icônes) */
.profil-nav-left {
width: 20%;
display: flex;
flex-direction: column; 
align-items: center;   
justify-content: center;  
}

/* La rangée d'icônes */
.icons-row {
display: flex;
flex-direction: row;
gap: 1rem;  
margin-top: 1rem;
}

/* Colonne centrale (texte) */
.profil-center {
width: 40%;
text-align: justify;  
align-items: center;
justify-content: center;
}

/* Colonne droite (toile d’araignée) */
.profil-nav-right {
width: 30%;
display: flex;
justify-content: center;  
align-items: center;
}

/* Image toile d’araignée (ou radar chart) */
.skill-chart {
max-width: 120%;
height: auto;
}

/* Ajustements icônes LinkedIn & AssessFirst */
.profil-nav-left .fa-linkedin, .profil-nav-left .fa-square-envelope {
color: #f2d2fc;
transition: 0.3s;
}
.profil-nav-left .fa-linkedin:hover, .profil-nav-left .fa-square-envelope:hover {
transform: scale(1.2);
}

/* Lien AssessFirst */
.assessfirst-link {
display: inline-block;
vertical-align: middle;
}

/* Icône AssessFirst */
.assessfirst-logo {
margin-top: -2px;
width: 40px;
transition: transform 0.3s;
}
.assessfirst-logo:hover {
transform: scale(1.1);
}

/* deuxieme menu déroulant */
/* Conteneur global des menus déroulants */
.dropdown-container {
  display: flex;
  flex-direction: column;
}

/* On va inverser l'ordre visuel grâce à flex-order */
.slide-down-extra {
  order: 2;  /* Ce menu s'affichera en bas visuellement */
  max-height: 0;
  overflow: hidden;
  background-color: rgba(17, 34, 39, 0.9);
  transition: max-height 0.5s ease-out, padding 0.3s ease-out;
  padding: 0 1rem;
}

.slide-down-profile {
  order: 1;  /* Ce menu s'affichera en haut visuellement */
  max-height: 400px;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.3s ease-out;
}

/* Lorsque l'on survole le deuxième menu, il s'ouvre */
.slide-down-extra:hover {
  max-height: 300px;
  padding: 1rem;
}

/* Et quand le deuxième menu est survolé, on replie le premier menu */
.slide-down-extra:hover ~ .slide-down-profile {
  max-height: 0;
  padding: 0 1rem;
}
