body {
  background-image: url("fondblacktemplar.jpg");
  background-size: cover;        
  background-position: center;   
  background-repeat: no-repeat;  
  min-height: 100vh;            
  margin: 0;
}

.texte-impact {
  position: absolute;
  top: 30%;
  left: 5%; 
  transform: translateY(-50%);
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(2rem, 6vw, 6rem);
  color: white;
  text-align: left;
  line-height: 0.9; 
  text-shadow: 3px 3px 10px black;
  z-index: 10;
  margin: 0;
}

.texte-impact .petit {
  font-size: 0.6em;
}

@media (max-width: 768px) {
  .texte-impact {
    left: 10%;
    top: 50%;
    text-align: center; 
  }
}


/*====================================================
         Animation de ma barre des taches 
  ====================================================*/
.nav-link {
  transition: transform 0.3s ease-out; 
  transform: scale(1);
}

.nav-link:hover {
    transform: scale(1.1);
  }


.texte-impact {
  -webkit-animation: jello-horizontal 4s both;
	        animation: jello-horizontal 4s both;
}

/* ----------------------------------------------
 * Generated by Animista on 2025-11-13 7:45:47
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation jello-horizontal
 * ----------------------------------------
 */
@-webkit-keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
            transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
            transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
            transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
            transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
            transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}


body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto; 
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 1px;
    text-align: center;
}

/* --- Mise en page globale --- */
body {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* --- Titres et Textes --- */
.section-title {
    border-bottom: 3px solid #8b0000; /* Rouge Black Templars */
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: bold;
}

.experience-item {
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 2px solid #ddd;
}

.experience-item h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2px;
}

/* --- Badges et Compétences --- */
.info-badge span {
    background: #1a1a1a;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 0.9rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: white;
    border: 1px solid #1a1a1a;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
}

/* --- Carte de Contact --- */
.contact-card {
    background: #1a1a1a;
    color: white;
    padding: 30px;
    border-radius: 15px;
}

.contact-card h3 {
    color: #8b0000;
    margin-bottom: 20px;
}

.cv-preview img {
    margin-top: 15px;
    transition: transform 0.3s;
}

.cv-preview img:hover {
    transform: scale(1.05);
}

/* --- Footer --- */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 20px 0;
}


.about-content {
    background: rgba(255, 255, 255, 0.9); 
    padding: 40px;
    border-radius: 10px;
    border-left: 8px solid #8b0000; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px); 
}

.cv-card {
    background: #1a1a1a;
    color: white;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #333;
    transition: all 0.4s ease;
}

.cv-card:hover {
    border-color: #8b0000;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.3);
}

.cv-card img {
    border: 3px solid #fff;
    margin-bottom: 15px;
}

/* Exemple avec une police système déjà impactante */
h1.display-4 {
    font-family: 'UnifrakturMaguntia', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}


/* --- Flip Card Logic --- */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 400px; /* Ajuste la hauteur selon tes photos */
  perspective: 1000px; /* Effet 3D */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Le mouvement de rotation au survol */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Cache le dos quand on voit l'avant */
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid #8b0000;
}

.flip-card-front {
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
}

.flip-card-front img {
    height: 100%;
    object-fit: cover; /* Pour que l'image remplisse bien la carte */
}

.flip-card-back {
  background-color: #1a1a1a;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}


.flip-card.is-flipped .flip-card-inner,
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}


.flip-card {
  cursor: pointer;
}