
#contenu_propos{
  display:flex;

  margin: 0% 15%;
  margin-top: 10%;
  margin-bottom: 5%; 
}
  /* ####################################### */
  
  #imgTete {
    max-width: 100%;  /* S'assure que l'image ne dépasse pas son conteneur */
    height: 25%;  /* Garde les proportions d'origine */
    display: block;  /* Centre l'image */
    margin: auto;  /* Centre horizontalement */
    border-radius: 10px;  /* Ajoute un léger arrondi */
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); /* Ombre douce */
    object-fit: cover; /* Assure un bon rendu si une taille fixe est définie */
  }
  @keyframes grandir {
  0% {
    width: 0; 
  }
  100% {
    width: 20%;
  }
  }
  
  @keyframes retrecir {
  0% {
    width: 20%;
  }
  100% {
    width: 0;
  }
  }
  
  .barre {
  margin-left: 1%;
  height: 2px;
  background-color: white;
  width: 0; /* Définir une largeur initiale */
  
  animation: retrecir 0.5s forwards;
  }
  #identite:hover .barre {
      animation: grandir 1.5s forwards; /* Lancer l'animation */
  }
  
  /* /* ####################################### */
@keyframes baisser {
    0% {
      box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.5);
      }
      100% {
        box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1);
      }
    }
    @keyframes lever {
    0% {
      box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1);
      }
      100% {
        box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.5);
      }
    }
    #identite:hover {
    animation: lever 0.5s forwards;
    }
    #identite {
    display: flex;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.5);
    background-color: #f5f5f5;
    
    animation: baisser 0.5s forwards;
    }
    #identite #ident1 #imgTete {
    width: 200px;
    height: 200px;
    margin-left: 15%;
    margin-top:10%;
    box-shadow: 0 3px 5px 2px rgba(0, 0, 0, 0.5);
   
    }
    #identite #ident1 .nomMoi {
    font-family: Snell Roundhand, cursive;
    padding-top: 3%;
    margin-left: 30%;
    text-align: center;
    font-size: 100%;
    margin-top: 5%;
    }
    #identite .corps {
    margin-left: 5%;
    padding-top: 5%;
    padding-bottom: 5%;
    font-size: 15px;
    }
    #identite .corps .tete {
    margin-bottom: 5%;
    }
    #identite .corps .tete .contenu {
    display: flex;
    }
    #identite .corps .tete .titre {
    font-size: 25px;
    }
    #identite .corps .tete .contenu .barre {
    margin-top: 2.8%;
    margin-left: 3%;
    background-color: #000000;
    }
    #identite .corps .barreau {
    margin-left: 2%;
    height: 1px;
    width: 120px;
    background-color: #111827;
    }
    
    #identite .corps .contenu {
    margin-bottom: 0%;
    padding-bottom: 0%;
    margin-right: 10%;
    }
    #identite .corps  .tab {
    margin-top: 0%;
    padding-top: 0%;
    padding-left: 10%;
    }

#ident1 {
  margin-bottom: 2%;
}
#ident2 {
  margin-left: 5%;
}
#CV_bas {
  display: none;
}
#CV ,  #CV_bas{
  transition: box-shadow 0.3s ease;
  padding-top: 50%;
  }
#CV img {
  margin-left: 15%;
  margin-top: 10%;
  width: 200px;
  height: 350px;
  filter: blur(2px);
  transition: filter 0.3s ease;
}
#CV_bas img{
  width: 100%;
  filter: blur(2px);
  transition: filter 0.3s ease;
}
#CV:hover img,  #CV_bas:hover img{
  filter: blur(0px);
  cursor:pointer;
  box-shadow: 0 3px 5px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  #contenu_propos {
    display: block;
    margin: 0%;
  }
  #identite {
    margin: 0%;
    margin-top: 17%;
    display: block;
  }
  #identite .corps .tete .contenu .barre {
    display: none;
  }
  #identite #ident1 #imgTete,  #identite #ident1 #CV img{
    display: none;
  }
  #identite #ident1 .nomMoi {
    display: none;
  }

  #CV_bas{
    margin-top: -40%;
    display: block;
  }
  #CV_bas img{
   width: 60%;
   margin: 0% 20%;
   margin-bottom: 10%;
  }
}