/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corps de la page */
body {
  background: #0f0f0f;
  color: #e0e0e0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* En-tête */
header {
  background: #1a1a1a;
  padding: 20px 0;
  text-align: center;
  border-bottom: 2px solid #ff007f;
}

header h1 {
  color: #ff007f;
  margin-bottom: 5px;
}

header p {
  font-size: 1.1em;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

nav ul li a {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ff007f;
}

/* Sections */
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
  color: #ff007f;
}

.about p {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* Projets */
.project-item {
  background: #1a1a1a;
  margin-bottom: 20px;
  padding: 20px;
  border-left: 5px solid #ff007f;
}

.project-item h3 {
  margin-bottom: 10px;
  color: #ff007f;
}

.project-item p {
  font-size: 1em;
}
/* Règle pour le bloc de code */
.bash-script pre {
  overflow-x: auto; /* Permet le défilement horizontal */
  white-space: pre; /* Conserve les sauts de ligne et espaces */
  padding: 1em;
  background: #2e2e2e; /* Fond sombre pour le code */
  color: #f8f8f8; /* Couleur du texte */
  border-radius: 5px;
  font-size: 0.9em; /* Ajustez la taille de police si nécessaire */
}
/* Technology Stack Section */
#tech-stack {
  text-align: center;
  padding: 40px 20px;
}

#tech-stack h1 {
  font-size: 2em;
  margin-bottom: 20px;
}

/* Tech Icons Container */
.tech-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}
/*icon container for more visibility*/
.icon-container {
  background: #ffffff; /* a light overlay */
  padding: 10px;
  border-radius: 5px;
}

/* Individual Icon Styling */
.tech-icons i {
  font-size: 48px; /* Adjust icon size as needed */
  transition: transform 0.3s ease;
}

.tech-icons i:hover {
  transform: scale(1.2); /* Zoom effect on hover */
}
/* Section CV & Réseaux */
.cv-social {
  text-align: center;
}

.cv-social .cv-download {
  margin-bottom: 20px;
}

.cv-social .btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1em;
  color: #fff;
  background: #ff007f;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.cv-social .btn:hover {
  background: #e60073;
}

.cv-social .social-links a {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 1.2em;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.cv-social .social-links a:hover {
  color: #ff007f;
}

/* Contact */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: auto;
}

.contact input,
.contact textarea {
  padding: 10px;
  border: 1px solid #333;
  background: #222;
  color: #e0e0e0;
  border-radius: 5px;
}

.contact button {
  padding: 10px;
  background: #ff007f;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: #e60073;
}

/* Pied de page */
footer {
  text-align: center;
  padding: 20px;
  background: #1a1a1a;
  border-top: 2px solid #ff007f;
}

footer a {
  color: #ff007f;
  text-decoration: none;
}
