/* Style global pour le corps de la page */
body {
  background-image: url("/images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background: linear-gradient(135deg, #2c3e50, #bdc3c7); Dégradé gris et bleu foncé */
  font-family: "Aptos", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

body,
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
  display: none;
}


@font-face {
  font-family: "Aptos";
  src: url("Aptos.ttf");
}

@font-face {
  font-family: "Child";
  src: url("Child.ttf");
}

/* Style pour le conteneur central */
.container {
  /* background-color: #ffffff; Couleur de fond blanc */
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 100%;
  margin: 20px;
}

header {
  margin-top: 10px;
  background-color: #7796a8;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  max-width: max-content;
  border-radius: 8px;
}

header h1 {
  margin: 0;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #1a355b;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: color 0.3s;
  background: none;
  background-clip: border-box;
}

nav ul li a:hover {
  background: linear-gradient(90deg, #1a355b, #6c3ec1, #3ec6e0, #1a355b);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: navGradientText 2s linear infinite;
  text-decoration: none;
}

@keyframes navGradientText {
  to {
    background-position: 200% center;
  }
}

/* Style pour les titres de niveau 1 */
h1.bts {
  color: #333;
  margin: auto;
  text-align: center;
  font-family: "Child", sans-serif;
  font-size: 3em;
}

h1 {
  color: #333;
  text-align: center;
}

h2 {
  color: #1a355b;
  text-align: center;
}

/* Style pour les images */
img,
video {
  display: block;
  margin: auto;
  /* Centrage horizontal */
  width: 300px;
  /* Largeur fixe de 300 pixels */
  max-width: 100%;
  /* Largeur maximale */
}

/* Style pour la liste Projet */

ul.projets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

ul.projets li {
  margin: 0 15px;
}

ul.projets li a {
  color: #1a355b;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: transform 0.3s;
  background: linear-gradient(90deg, #1a355b, #3ec6e0, #1a355b);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradientText 2s linear infinite;
}

@keyframes gradientText {
  to {
    background-position: 200% center;
  }
}

ul.projets li a:hover {
  transform: translateY(-2px) scale(1.05);
}

/* Style pour les paragraphes */
p {
  color: #3a506b;
  line-height: 1.6;
  margin: 20px 0;
  padding: 0 20px;
  text-align: center;
}

span {
  background-color: #e3f0fa;
  /* Bleu très clair, doux */
  color: #1a355b;
  /* Bleu foncé pour le texte */
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  margin-left: 8px;
  display: inline-block;
  box-shadow: 0 1px 4px rgba(26, 53, 91, 0.08);
}

video {
  border-radius: 8px;
  margin-top: 50px;
}

section {
  margin: 40px 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

section h2 {
  text-align: center;
  color: #555;
}

section p,
section ul {
  text-align: center;
  color: #666;
}

section ul {
  list-style: none;
  padding: 0;
}

section ul li {
  margin: 10px 0;
}