@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&family=Cormorant+Garamond:ital,wght@0,400;0,700;1,400&display=swap');

body {
  font-family: 'Cormorant Garamond', serif;
  background-color: #f0f8ff;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  background-color: #789F8D;
  padding: 20px 40px;
}

.logo {
  font-family: 'Tangerine', cursive;
  font-weight: 700;
  font-size: 48px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

nav a {
  color: #333;
  text-decoration: none;
  padding: 12px 24px;
}

nav {
  &.primary-navigation {
    margin: 0 auto;
    display: block;
  
    padding: 30px 0 0 0;  
    text-align: center;
    font-size: 16px;

    ul li {
      list-style: none;
      margin: 0 auto;
      border-left: 2px solid whitesmoke;
      display: inline-block;
      padding: 0 20px;
      position: relative;
      text-decoration: none;
      text-align: center;
    }

    li a {
      color: black;
      font-size: 20px;
    }

    li a:hover {
      color: white;
    }

    li:hover {
      cursor: pointer;
    }

    ul li ul {
      visibility: hidden;
      opacity: 0;
      position: absolute;
      padding-left: 0;
      left: 0;
      display: none;
      background: white;
    }

    ul li:hover > ul,
    ul li ul:hover {
      visibility: visible;
      opacity: 1;
      display: block;
      min-width: 250px;
      text-align: left;
      padding-top: 20px;
      box-shadow: 0px 3px 5px -1px #ccc;
    }

    ul li ul li {
      clear: both;
      width: 100%;
      text-align: left;
      margin-bottom: 20px;
      border-style: none;
    }

    ul li ul li a:hover {
      padding-left: 10px;
      border-left: 2px solid white;
      transition: all 0.3s ease;
    }
  }
}

a {

    text-decoration: none;
    color: #000000;

    &:hover {
        color: rgb(55, 152, 112);
    }
 
}

main {
  padding: 60px;
}

.hero {
  text-align: center;
  margin-bottom: 60px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero p {
  font-size: 20px;
  color: #555;
  margin-bottom: 5px;
}

.section {
  margin-bottom: 60px;
}

h2 {
  text-align: center;
  color: #002D33;
  font-size: 32px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.presentation {
  text-align: center;
  margin-bottom: 10px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary-green: #39a673;
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --background-color: #ecf0f1;
  --text-color: #2c3e50;
  --card-bg: white;
}

.cards-container,
.cards-container2 {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  left: 0;
  padding: 40px 20px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  
  /* Configuration de la grille */
  display: grid;
  gap: 30px;
  
  /* Centre la grille entière */
  justify-content: center;
}

/* Configuration spécifique pour chaque conteneur */
.cards-container {
  grid-template-columns: repeat(2, 300px); /* 2 colonnes pour container1 puisque vous avez 2 cartes */
}

.cards-container2 {
  grid-template-columns: repeat(4, 300px); /* 3 colonnes pour container2 */
}

/* Effet d'arrière-plan avec animation */
.cards-container::after,
.cards-container2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, var(--primary-green) 1px, transparent 1px),
    linear-gradient(to bottom, var(--primary-green) 1px, transparent 1px);
  background-size: 35px 35px;
  background-position: -17.5px -17.5px;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
  animation: moveBackground 45s linear infinite;
}

/* Animation de l'arrière-plan */
@keyframes moveBackground {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 140px 140px, -140px -140px;
  }
}

/* Media queries pour la responsivité */
@media (max-width: 1300px) {
  .cards-container {
    grid-template-columns: repeat(3, 300px);
  }
  
  .cards-container2 {
    grid-template-columns: repeat(3, 300px);
  }
}

@media (max-width: 950px) {
  .cards-container,
  .cards-container2 {
    grid-template-columns: repeat(2, 300px);
  }
}

@media (max-width: 650px) {
  .cards-container,
  .cards-container2 {
    grid-template-columns: 300px;
  }
}

/* Conserver le reste de votre CSS pour les cartes */
.card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent !important;
}

.card-image img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  background: none;
  background-color: transparent;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 22px;
  color: var(--primary-green);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  letter-spacing: -0.5px;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-green);
}

.card-date {
  text-align: center;
  padding: 10px;
  background-color: var(--primary-green);
  color: white;
  font-weight: 500;
  position: absolute;
  top: 15px;
  right: 15px;
  border-radius: 5px;
  font-size: 14px;
}

.card-text {
  color: var(--secondary-color);
  line-height: 1.6;
  flex-grow: 1;
  font-weight: 300;
}

@media (max-width: 768px) {
  .cards-container,
  .cards-container2 {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 500px;
  }
}

/* Effet de survol subtil */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg, 
    rgba(57, 166, 115, 0.05) 0%, 
    rgba(57, 166, 115, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.maincv {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.preview-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  position: relative;
  animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preview-wrapper {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cv-preview {
  width: 100%;
  height: 0;
  padding-bottom: 141.42%; /* Ratio A4 */
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.cv-preview:hover {
  transform: scale(1.02);
}

.cv-preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
}

.download-btn {
  position: relative;
  background: #4A90E2;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
}

.download-btn:hover {
  background: #357ABD;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.download-btn i {
  font-size: 1.2rem;
}

.corner-decoration {
  position: absolute;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  opacity: 0.1;
  border-radius: 50%;
}

.top-left {
  top: -75px;
  left: -75px;
}

.bottom-right {
  bottom: -75px;
  right: -75px;
}

@media (max-width: 768px) {
  .preview-wrapper {
    padding: 1rem;
  }

  .download-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* MES PROJETS */
.cards-containerproj1,
.cards-containerproj2 {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  left: 0;
  padding: 40px 20px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  
  /* Configuration de la grille */
  display: grid;
  gap: 30px;
  
  /* Centre la grille entière */
  justify-content: center;
}

/* Configuration spécifique pour chaque conteneur */
.cards-containerproj1 {
  grid-template-columns: repeat(1, 300px); /* 2 colonnes pour container1 puisque vous avez 2 cartes */
}

.cards-containerproj2 {
  grid-template-columns: repeat(4, 300px); /* 3 colonnes pour container2 */
}

/* Effet d'arrière-plan avec animation */
.cards-containerproj1::after,
.cards-containerproj2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, var(--primary-green) 1px, transparent 1px),
    linear-gradient(to bottom, var(--primary-green) 1px, transparent 1px);
  background-size: 35px 35px;
  background-position: -17.5px -17.5px;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
  animation: moveBackground 45s linear infinite;
}

/* Animation de l'arrière-plan */
@keyframes moveBackground {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 140px 140px, -140px -140px;
  }
}

/* Media queries pour la responsivité */
@media (max-width: 1300px) {
  .cards-containerproj1 {
    grid-template-columns: repeat(3, 300px);
  }
  
  .cards-containerproj2 {
    grid-template-columns: repeat(3, 300px);
  }
}

@media (max-width: 950px) {
  .cards-containerproj1,
  .cards-containerproj2 {
    grid-template-columns: repeat(2, 300px);
  }
}

@media (max-width: 650px) {
  .cards-containerproj1,
  .cards-containerproj2 {
    grid-template-columns: 300px;
  }
}

/*SPECIFIQUE A LA FICHE E4*/
.preview-containere4 {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px; /* Augmentez la largeur max */
  overflow: hidden;
  position: relative;
  display: flex; /* Ajoutez cette ligne */
  align-items: stretch; /* Ajoutez cette ligne */
}

.preview-wrappere4 {
  width: 60%; /* Réduisez la largeur du preview */
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.e4-preview {
  width: 100%;
  height: 0;
  padding-bottom: 141.42%; /* Ratio A4 */
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.e4-preview:hover {
  transform: scale(1.02);
}

.e4-preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.btn-primary {
  float: right;
  margin: 5px;
  padding: 12px 24px;
  background-color: #39a673;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.4);
}

/* PREVIEW E4 */
.cards-containere4 {
  width: 40%; /* Espace pour les cartes */
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background-color: #f8f9fa;
}

.cards-containere4 .carde4 {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    width: 100%;
    transition: transform 0.2s ease;
}

.cards-containere4 .carde4:hover {
    transform: scale(1.02);
}

.cards-containere4 .card-contente4 {
    flex-grow: 1;
    margin-right: 15px;
}

.cards-containere4 .card-titlee4 {
    margin: 0;
    color: #333;
    font-size: 1em;
}

.cards-containere4 .card-buttone4 {
    background-color: #4A90E2; /* Utilisation de la couleur de votre design */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cards-containere4 .card-buttone4:hover {
    background-color: #357ABD; /* Correspond à votre style de bouton */
}

@media (max-width: 768px) {
  .preview-containere4 {
    flex-direction: column;
  }
  
  .preview-wrappere4, .cards-containere4 {
    width: 100%;
  }
}

/* Style pour les conteneurs principaux */
.cards-containere4 {
  width: 40%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background-color: #f8f9fa;
  border-radius: 10px;
  margin: 0 auto;
}

/* Style pour les cartes de niveau 1 */
.cards-containere4 .carde4 {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform 0.2s ease;
}

.cards-containere4 .carde4:hover {
  transform: scale(1.02);
}

/* Style pour l'en-tête de la carte */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.cards-containere4 .card-contente4 {
  flex-grow: 1;
  margin-right: 15px;
}

.cards-containere4 .card-titlee4 {
  margin: 0;
  color: #333;
  font-size: 1em;
}

.cards-containere4 .card-buttone4 {
  background-color: #4A90E2;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cards-containere4 .card-buttone4:hover {
  background-color: #357ABD;
}

/* Style pour les cartes imbriquées (niveau 2) */
.nested-container {
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.nested-carde4 {
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  margin-bottom: 10px;
  width: 100%;
  transition: transform 0.2s ease;
}

.nested-carde4:hover {
  transform: scale(1.01);
}

/* Indicateur de niveau */
.level-indicator {
  font-size: 0.75em;
  color: #666;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.05);
  margin-left: 8px;
}

@media (max-width: 768px) {
  .cards-containere4 {
      width: 100%;
      padding: 1rem;
  }
}

/* BARRES DE PROGRESSION LANGAGES E5 */
.skills-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.skill-item {
  margin-bottom: 25px;
}

.skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.skill-logo {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.skill-name {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  transition: width 1s ease-in-out;
  border-radius: 5px;
}

.skill-percentage {
  position: absolute;
  right: 0;
  top: -25px;
  font-size: 14px;
  color: #000000 !important;
}

/* MES COMPETANCES */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-title {
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  color: #333;
  position: relative;
}

.page-title:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  /* background: linear-gradient(90deg, #0d6efd, #6610f2); */ /*A GARDER POUR PLUS TARD*/
  background-color: darkgreen;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.theme-section {
  margin-bottom: 60px;
}

.theme-title {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  color: #333;
}

.theme-icon {
  margin-right: 15px;
  font-size: 30px;
  /* background: linear-gradient(90deg, #0d6efd, #6610f2); */ /*A GARDER POUR PLUS TARD*/
  background-color: darkgreen;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.skill-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.skill-header {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8f9fa;
  border-bottom: 1px solid #eaeaea;
}

.skill-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.skill-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.skill-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.skill-description {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.progress-container {
  margin-top: auto;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.progress-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #495057;
}

.progress-percentage {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0d6efd;
}

.progress-bar-container {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 4px;
}

/* Couleurs des barres de progression selon le niveau */
.beginner { background: linear-gradient(90deg, #ff9a9e, #fad0c4); }
.intermediate { background: linear-gradient(90deg, #a18cd1, #fbc2eb); }
.advanced { background: linear-gradient(90deg, #84fab0, #8fd3f4); }
.expert { background: linear-gradient(90deg, #0d6efd, #6f42c1); }

/* Animation des barres de progression */
@keyframes fill {
  0% { width: 0; }
  100% { width: var(--fill-width); }
}

.progress-bar-fill {
  animation: fill 1.5s ease-out forwards;
}

/* Responsive design */
@media (max-width: 768px) {
  .skills-grid {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 576px) {
  .skills-grid {
      grid-template-columns: 1fr;
  }
  
  .theme-title {
      font-size: 1.5rem;
  }
}

/*FORMULAIRE DE CONTACT*/
.containerA {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f0f8ff;
}

.containerA h1 {
  text-align: center;
  color: #002D33;
  font-size: 32px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.containerA form {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.containerA label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.containerA input[type="text"],
.containerA input[type="email"],
.containerA textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #789F8D;
  border-radius: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
}

.containerA textarea {
  height: 150px;
  resize: vertical;
}

.containerA .form-buttons {
  text-align: right;
}

.containerA input[type="submit"] {
  background-color: #39a673;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cormorant Garamond', serif;
}

.containerA input[type="submit"]:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.alert {
  background-color: #39a673;
  color: white;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*IMAGES VELOCITE47*/
.image-container {
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #f0f8ff;
}

.image-container:hover {
  transform: scale(1.02);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 253, 253, 0.1) 100%
  );
  pointer-events: none;
}

/*BOUTON VELOCITE*/
.btn-secondary {
  position: relative;
  background: #789F8D;
  color: #333;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
  text-align: center;
}

.btn-secondary:hover {
  background: #4e7764;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.btn-secondary i {
  font-size: 1.2rem;
}

.corner-decoration {
  position: absolute;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  opacity: 0.1;
  border-radius: 50%;
}

.top-left {
  top: -75px;
  left: -75px;
}

.bottom-right {
  bottom: -75px;
  right: -75px;
}

@media (max-width: 768px) {
  .preview-wrapper {
    padding: 1rem;
  }

  .download-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

footer {
  background-color: #789F8D;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 16px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.copyright {
  flex-grow: 1;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links a {
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  opacity: 1;
}

.social-links img {
  width: 30px;
  height: 30px;
}

.realisations-table {
  width: 100%;
  max-width: 900px; /* Limite la largeur maximale du tableau */
  margin: 20px auto; /* Centre le tableau */
  border-collapse: collapse;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 0.9em;
  table-layout: fixed; /* Aide à contrôler la largeur des colonnes */
}

.realisations-table th {
  background-color: #789F8D;
  color: #333;
  padding: 8px 4px;
  text-align: center;
  border: 1px solid #999;
  vertical-align: middle;
  font-size: 0.9em; /* Augmenté de 0.8em à 0.95em */
  word-wrap: break-word;
  font-weight: bold;
}

.realisations-table td {
  padding: 5px 3px;
  border: 1px solid #999;
  vertical-align: middle;
  text-align: center;
}

/* Colonne des réalisations plus large */
.realisations-table th:first-child,
.realisations-table td:first-child {
  width: 25%;
  text-align: left;
}

/* Colonne des périodes */
.realisations-table th:nth-child(2),
.realisations-table td:nth-child(2) {
  width: 15%;
  font-size: 0.95em;
  font-weight: bold;
}

/* Colonnes des compétences - plus étroites */
.realisations-table th:nth-child(n+3),
.realisations-table td:nth-child(n+3) {
  width: 10%;
}

.realisations-table .x {
  font-weight: bold;
  color: green;
}

.realisations-table .categorie td {
  background-color: #eee;
  font-weight: bold;
  text-align: center;
  padding: 8px;
}

/* Responsive design */
@media (max-width: 992px) {
  .realisations-table {
    display: block;
    overflow-x: auto;
  }
}