@import 
url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Pacifico&display=swap');

body{
    background-image: url("./Ciela.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Montserrat', 'Inter', cursive, sans-serif;
    font-size: 20px;
    position: relative;
    z-index: 1;
    
}

#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* derrière tout */
}

nav{
    height: 100px;
    color: floralwhite;
    background-color: rgba(0, 0, 0, 0.384);
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 30px;
    display: flex;
    justify-content: space-between;
    font-family: 'Great Vibes', 'Montserrat', 'Inter', cursive, sans-serif;
    margin: 0;

}
#navigation{
    width: 55%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
   
}

#icone{
    padding-top: 16px;
    display: flex;
    flex-direction: column;
}

header{
    overflow: hidden; /* pour cacher ce qui dépasse */
    position: relative;
}
header span{
    display: inline-block;
    white-space: nowrap;
}

.mbti{
    border-radius: 50px;
    margin: 20px;
    padding: 10px;
    font-family: 'Pacifico', 'Great Vibes', cursive, sans-serif;
    border: 3px solid blueviolet;
    font-size: 25px;
}
.proverb_case{
    display: flex;
    color: white;
    align-items: center;
    overflow: hidden; /* pour cacher ce qui dépasse */
    position: relative;
}

.proverb{
    border-radius: 50px;
    margin: 20px;
    padding: 10px;
    border: 3px solid blueviolet;
    color: white;
}
.savoir{
    animation: ouaAnim 3s forwards ease-out;
    animation-delay: 0.5s;
    animation-iteration-count: infinite;
}
.vouloir{
    animation: pouvoiranim 3.5s forwards ease-out;
    animation-delay: 1s;
    animation-iteration-count: infinite;
}
.proverb:hover{
    background-color: rgba(178, 99, 252, 0.993);
}

.slider {
  position: relative;
  width: 250px;
  height: 250px;
  margin: auto;
  border-radius: 50%;
  border: 3px solid blueviolet;
  box-shadow: 0 0 25px rgba(138,43,226,0.6);
  overflow: hidden;
}

.photo_circle {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  border-radius: 50%;
  object-fit: cover;

  display: block; /* IMPORTANT */
 
  opacity: 0;
  transition: 
    opacity 1s ease,
    transform 0.4s ease;
}

.photo_circle.active {
  opacity: 1;
}

.photo_circle.active:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(138,43,226,0.6)
}

.Valeurs{
    display: flex;
    flex-direction: column;
    gap: 10px;
    
}
.valeur {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.valeur_header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;

  color: white;
  text-shadow: 0px 0px 10px #8a2be2;
  cursor: pointer;
}
.arrow {
  transition: transform 0.3s ease;
  margin-left: 20px;
}
.valeur_content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
}
.valeur.active .valeur_content {
  max-height: 200px;
  padding: 15px 20px;
}
.valeur.active .arrow {
  transform: rotate(180deg);
}

.rale {
  animation: raleAnim 3s forwards ease-out;
}

.oua {
  animation: ouaAnim 3s forwards ease-out;
  animation-delay: 0.5s; /* commence un peu après RALETA */
}

/* Ben apparaît progressivement */
.ben {
  opacity: 0;
  animation: benAnim 1.5s forwards;
  animation-delay: 3s; /* après que les deux premiers mots soient en place */
}

h1{
    color: blueviolet;
    text-shadow: 0px 0px 10px blue;
    border-radius: 50px;
    margin: 20px;
    padding: 10px;
    font-family: 'Pacifico', 'Great Vibes', cursive, sans-serif;
    font-size: 40px;
}
.presentation{
    display: flex;
    gap: 230px;
    align-items: center;
}
.force{
    width: 500px;
    border: 2px white solid;
    border-radius: 10px;
    background-color: transparent;
    box-shadow: 0px 0px 10px white;
    text-align: center;
    padding: 10px;
    margin: 40px;

}
#Lacunes{
    display: flex;
    justify-content: center;
  
}
.centrage {
    display: flex;
    justify-content: center;
    margin: 40px;
}
.centrage2{
    text-align: center;
}
.Langues{
    display: flex;
    gap: 50px;           /* espace entre les langues */
    align-items: center;  /* aligne verticalement le texte et le drapeau */
}
.lang {
    display: flex;
    flex-direction: column;
    gap: 10px;
  padding: 5px 10px;
  transition: all 0.3s ease;
  align-items: center;
  text-align: center;
}
.flag {
    width: 250px;          /* taille du drapeau */
    height: 150px;
    object-fit: cover;
    border-radius: 3px; 
    box-shadow: 0px 0px 10px white; 
}
p{
    color: white;
    font-family: 'fantasy', 'Times New Roman', Times, serif ;
    font-weight: 600;
}
li{
    color: white;
    font-family: 'fantasy', 'Times New Roman', Times, serif ;
    margin-right: 30px;
}

h1:hover{
        box-shadow: 0px 0px 10px grey;
}
.chronologie{
    display: flex;
    gap: 20px;
}
.chronologie li{
    position: relative;
  background-color: blueviolet; 
  color: white;
  padding: 15px 25px;  /* rectangle de base */
  font-weight: bold;
  transition: all 0.3s ease;
}
.chronologie ::after{
    content: '';
  position: absolute;
  top: 50%;
  right: -15px;         /* décalage pour le triangle */
  transform: translateY(-50%);
  border-width: 15px 0 15px 15px; /* hauteur du triangle et largeur */
  border-style: solid;
  border-color: transparent transparent transparent blueviolet;
}
.chronologie li:hover{
    background-color: darkviolet;
}
.chronologie li:hover::after{
    border-left-color: darkviolet; /* triangle suit la couleur au hover */
}
.Loisirs{
    display: flex;
    gap: 50px;
}
.loisir{
    width: 150px;
    height: 150px;
    border: 2px white solid;
    border-radius: 10px;
    background-color: transparent;
    box-shadow: 0px 0px 10px white;
    text-align: center;
    padding: 10px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

}
.loisir_icon{
    width: 100px;
    height: 100px;
}

.social{
    display: flex;
    justify-content: center;
    align-items: center;
}
.media{
    width: 35px;
    height: 30px;
}
ul, ol{
    list-style-type: none;

}

footer{
    border: 1px floralwhite solid;
    color: floralwhite;
    background-color: rgba(0, 0, 0, 0.274);
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 30px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    font-family: 'Montserrat', 'Inter', cursive, sans-serif;
}
#box8{
    border: 1px solid;
    height: 300px;
    width: 300px;
    background-color: skyblue;
    position: relative;

    animation: slide;
    animation-iteration-count: 3;
    animation-delay: 0s;
    animation-duration: 1s;


}
@keyframes pouvoiranim{
    0% { transform: translateX(150vw); }
    60% { transform: translateX(0); } 
}

@keyframes raleAnim {
  0% { transform: translateX(-150vw); } /* dépasse l'écran à gauche */
  60% { transform: translateX(0); }     /* revient à sa position initiale */
}

@keyframes ouaAnim {
  0% { transform: translateX(150vw); } /* dépasse à droite */
  60% { transform: translateX(0); }     /* revient */
}

@keyframes benAnim {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide{
    from {margin-right: 100%;}
    to {margin-top: 0%;}
}

.reveal {
  opacity: 0; /* invisible au départ */
  transform: translateY(20px); /* légèrement décalé vers le bas */
  transition: all 0.6s ease-out; /* animation fluide */
}

.reveal.active {
  opacity: 1;           /* devient visible */
  transform: translateY(0); /* revient à sa position normale */
}

a{
    font-family: 'Montserrat', 'Inter', cursive, sans-serif;
    font-weight: 300px;
    text-decoration: none;
    color: floralwhite;
}

a:hover{
    color: #8a2be2;
}
html{
    scroll-behavior: smooth;
}

/* Inutile
#box9{
    border: 1px solid;
    height: 100px;
    width: 100px;
    background-color: tomato;
    position:absolute;

    top: 100px;
    left: 100px;
    text-align: center;
    font-size: 40px;
}
input:hover{
    background-color: lightcoral;
}
*/
