@charset "utf-8";
/* CSS Document */
/* Déclare la police d'écriture */
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/IBMPlexMono-Regular.woff2') format('woff2'), url('fonts/IBMPlexMono-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Factor A Medium';
  src: url('fonts/TRIALFactorA-Medium-BF6476bc306ea08.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Factor A Light';
  src: url('fonts/TRIALFactorA-Light-BF6476bc309bc44.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
/* Définit le texte et la taille du body */
body {
  font-family: 'Factor A Light', monospace;
  max-width: 1200px; /* Largeur maximale sur desktop */
  margin: 0 auto; /* Centre le contenu */
  padding: 20px;
}
/* Liste typographique */
p {
  font-family: 'Factor A Light', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333; /* Un gris légèrement plus clair */
}
h1 {
  font-family: 'Factor A Medium', monospace;
  font-size: 36px; /* Taille du texte */
  font-weight: bold; /* Texte en gras */
  color: #333;
}
h2 {
  font-family: 'Factor A Medium', monospace;
  font-size: 30px; /* Taille du texte */
  font-weight: bold; /* Texte en gras */
  color: #333;
}
h3 {
  font-family: 'Factor A Medium', monospace;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h4 {
  font-family: 'Factor A Medium', monospace;
  color: #333;
  font-size: 20px;
  font-weight: bold;
}
h5 {
  font-family: 'Factor A Medium', monospace;
  color: #333;
  font-size: 16px;
  font-weight: bold;
}
h6 {
  font-family: 'Factor A Medium', monospace;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: lightgray;
  margin-top: -16px;
}
/* Met en forme le logo */
.logo {
  max-width: 70px;
  margin-left: 80px;
}
@media (max-width: 480px) {
 .logo {
  max-width: 20px !important;
  margin-left: 40px !important;
}
}
/* Menu burger */
nav {
  position: relative;
  margin-top: 40px;
}
li {
  margin-bottom: 30px; /* Ajoute 20px d'espace sous chaque élément */
  font-weight: 100;
}
.burger-menu {
  width: 30px;
  cursor: pointer;
}
.burger-menu span {
  display: block;
  width: 30px;
  height: 5px;
  background-color: black;
  margin: 5px 0;
}
.menu {
  display: none;
  list-style: none;
  padding: 0;
}
.menu.active {
  display: block;
}
/* Créer une icône burger stylisée */
.burger-menu {
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.burger-menu span, .burger-menu::before, .burger-menu::after {
  content: "";
  display: block;
  width: 5%;
  height: 5px;
  background-color: black;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin-top: 70px;
}
/* Ajoute une animation CSS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu {
  text-align: center;
  opacity: 0; /* Masqué au départ */
  animation: fadeIn 1s ease-in-out forwards;
}
.menu a {
  text-decoration: none;
  color: black;
  padding: 40px 15px;
  transition: color 0.3s ease;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: bold; /* Met le texte en gras */
  font-size: 16px; /* Grand menu bien visible */
  text-transform: uppercase;
  text-decoration: none;
  text-decoration-color: black;
  text-decoration-thickness: 1px; /* Définit l'épaisseur du trait */
  letter-spacing: 1.5px;
  padding: 15px 20px;
  margin: 10px;
}
nav a {
  position: relative;
  text-decoration: none;
  color: black;
  transition: color 0.3s ease-in-out;
}
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: lightgray;
  transition: width 0.4s ease-in-out, left 0.4s ease-in-out;
}
nav a:hover {
  color: #5D5D5D; /* Change la couleur au survol */
}
nav a:hover::after {
  width: 100%;
  left: 0;
}
.menu a::before {
  content: "";
  position: absolute;
  top: 133%;
  left: -10px; /* Décale la ligne à gauche */
  width: 120%; /* Étend la ligne au-delà du texte */
  height: 2px;
  background-color: transparent; /* Couleur du trait */
  z-index: -1; /* Place la ligne derrière le texte */
}
/* Rendre le menu actuel actif */
.menu a.active {
  font-weight: bold;
  color: #5D5D5D; /* Change la couleur du lien actif */
  text-decoration: none;
}
nav ul li a:hover {
  color: lightgray;
  text-decoration: none;
}
.burger-menu::before {
  position: absolute;
  transform: translateY(-10px);
}
.burger-menu::after {
  position: absolute;
  transform: translateY(10px);
}
/* Ajouter une animation pour transformer l'icône en croix */
.burger-menu.active span {
  opacity: 0;
}
.burger-menu.active::before {
  transform: rotate(45deg);
}
.burger-menu.active::after {
  transform: rotate(-45deg);
}
/* Crée le menu sticky */
header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px;
  z-index: 1000;
}
/* symboles FR et DE empilés */
.lang-switch {
  position: absolute;
  right: 20px; /* Place à droite du header */
  top: 50%;
  transform: translateY(-50%); /* Centre verticalement */
  display: flex;
  flex-direction: column; /* Empile les éléments */
  align-items: center;
  gap: 5px; /* Espacement entre FR et DE */
  background: transparent; /* Fond transparent */
  padding: 8px;
  border-radius: 5px; /* Coins arrondis */
}
.lang-switch span {
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: black;
}
/* Ajout d'une animation de changement de couleur au survol */
.lang-switch span {
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: black;
  transition: color 0.3s ease, transform 0.3s ease; /* Animation fluide */
}
.lang-switch span:hover {
  color: lightgray; /* Change la couleur au survol */
  transform: scale(1); /* Agrandit légèrement */
}
/* Adapte sur tablette */
@media (max-width: 1024px) {
  body {
    max-width: 900px; /* Ajuste la largeur sur tablette */
  }
}
/* Adapte sur mobile */
@media (max-width: 1024px) {
  body {
    max-width: 900px; /* Ajuste la largeur sur tablette */
  }
}
/* Méthode avec clamp */
body {
  max-width: clamp(320px, 80%, 1200px);
  margin: 0 auto; /* Centre le body */
  padding: 20px;
}
/* Système de grille responsive en 12 colonnes */
.container {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* 12 colonnes égales */
  gap: 10px; /* Espacement entre les colonnes */
  margin-top: 10px;
}
.container-2 {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* 12 colonnes égales */
  gap: 0px; /* Espacement entre les colonnes */
  margin-top: 0px;
}
/* Classes pour les colonnes */
.col-1 {
  grid-column: span 1;
}
.col-2 {
  grid-column: span 2;
}
.col-3 {
  grid-column: span 3;
}
.col-4 {
  grid-column: span 4;
}
.col-5 {
  grid-column: span 5;
}
.col-6 {
  grid-column: span 6;
}
.col-7 {
  grid-column: span 7;
}
.col-8 {
  grid-column: span 8;
}
.col-9 {
  grid-column: span 9;
}
.col-10 {
  grid-column: span 10;
}
.col-11 {
  grid-column: span 11;
}
.col-12 {
  grid-column: span 12;
}
/* Rend la grille responsive */
@media (max-width: 768px) {
  .container {
    grid-template-columns: repeat(6, 1fr); /* Passe à 6 colonnes sur tablette */
  }
}
@media (max-width: 480px) {
  .container {
    grid-template-columns: repeat(1, 1fr); /* Passe à 1 colonne sur mobile */
  }
}
.col-3, .col-1, .col-10, .col-4, .col-5 {
  margin: auto auto 0;
}
@media (max-width: 480px) {
  .col-4 {
     grid-column: span 12;
  }
}
/* Aligne le texte du footer à droite */
footer p {
  text-align: right;
  margin-right: 20px;
}
/* Footer amélioré */
footer {
  background: transparent;
  color: #888;
  padding: 20px;
}
.footer-container {
  display: flex;
  justify-content: space-between; /* Aligne la partie gauche et droite */
}
.footer-left {
  text-align: left;
}
.footer-right {
  text-align: right;
}
.project-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
}
.row {
  display: table-row;
  border-bottom: 1px solid lightgray; /* Ligne de séparation */
}
.cell {
  display: table-cell;
  padding: 10px;
  text-align: left;
}
.header {
  font-weight: bold;
  background: #f8f8f8;
}
a {
  text-decoration: none;
  color: #888;
}
a:hover {
  text-decoration: underline;
}
/* Espace vide */
.spacer {
  height: 40px; /* Définir la hauteur */
  background: transparent; /* Fond transparent */
}
.spacer-2 {
  height: 100px; /* Définir la hauteur */
  background: transparent; /* Fond transparent */
}
/* Bloc invisible */
.invisible {
  opacity: 0;
}
/* Nuage de boutons */
.button-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
/* Positionne une image à droite dans une div */
.image-2 {
  width: 70%;
  float: right;
  margin-top: 7px;
}
/* D'autres styles de boutons */
button {
  position: relative;
  background: none;
  border: none;
  font-size: 18px;
  color: black;
}
button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: #ff5733;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
button:hover::after {
  transform: scaleX(1);
}
/* Effet de soulignement animé */
.animated-button {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  background: none;
  border: none;
  color: black;
  position: relative;
  cursor: pointer;
  padding: 10px 20px;
}
.animated-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background-color: lightgray; /* Couleur du soulignement */
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
.animated-button:hover::after {
  transform: scaleX(1);
}
/* Effet de texte sur une image */
.image-container {
  position: relative;
  display: inline-block;
  margin-bottom: -4px;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 30px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  text-align: center;
}
.image-container:hover .overlay {
  opacity: 1; /* Rend le texte visible au survol */
}
/* Style du tableau */
#tableau {}
#tableau .developpe a {
  color: black;
  text-decoration: underline;
}
#tableau a:hover {
  text-decoration: none;
}
/* Style des listes */
.liste {
  list-style-type: none;
}
.liste-2 {
  list-style-type: disc;
  font-family: 'Lato', sans-serif;
  color: #5D5D5D;
}
.developpe {
  text-decoration: underline;
  color: black;
}
.im_wrapper {
  position: relative;
}
.im_hover {
  position: absolute;
  top: -100px;
  left: 150px;
  z-index: 100;
  display: none;
}
.im_wrapper:hover > .im_hover {
  display: block;
}
.im_hover-2 {
  position: absolute;
  top: -251px;
  left: 50px;
  z-index: 100;
  display: none;
}
.im_wrapper:hover > .im_hover-2 {
  display: block;
}
.im_hover-3 {
  position: absolute;
  top: -300px;
  left: 50px;
  z-index: 100;
  display: none;
}
.im_wrapper:hover > .im_hover-3 {
  display: block;
}
.static {
  position: absolute;
  background: white;
  max-width: 300px;
}
.static:hover {
  opacity: 0;
}
.contact {
  font-family: 'Lato', sans-serif;
}
.contact p {
  margin: 20px 0;
  line-height: 20px;
  color: black;
}
.lang-switch span a {
  font-family: 'IBM Plex', sans-serif;
  text-decoration: none;
}
.lang-switch span a:hover {
  font-family: 'IBM Plex', sans-serif;
  text-decoration: none;
  border-bottom: none;
}
.actualite {
  padding: 30px;
  max-width: 300px
}
.actualite-2 {
  padding: 30px;
  max-width: 1200px;
}
.first {
  margin-top: 70px;
}
.row .cell a {
	color: black;
}
.lien-menu a:hover {
	text-decoration: solid !important;
}