/* Styles généraux */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
  color: #f0f0f0;
}

header {
  background-color: #000;
  padding: 2rem;
  text-align: center;
}

header h1 {
  margin-top: 2em;
  color: orange;
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.logo img {
  width: 100px;
  height: auto;
  margin-left: 2rem;
  margin-top: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons .icon {
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}

.social-icons .icon:hover {
  transform: scale(1.2);
}

.cv-button {
  display: inline-block;
  background-color: orange;
  color: black;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
  font-weight: bold;
  transition: background 0.3s;
}

.cv-button:hover {
  background-color: #ff9500;
}

nav ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border 0.3s;
}

nav a:hover {
  border-bottom: 2px solid orange;
}

section {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

section h2 {
  color: orange;
  margin-bottom: 1rem;
}

ul {
  line-height: 1.6;
}

/* A propos */
.a-propos-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.a-propos-container .texte {
  flex: 1 1 55%;
}

.a-propos-container .photo {
  flex: 1 1 40%;
  text-align: center;
}

.a-propos-container .photo img {
  max-width: 100%;
  border-radius: 10px;
}

.grille-projets {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.projet {
  flex: 1 1 calc(33.333% - 2rem);
  text-align: center;
}

.projet img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.projet img:hover {
  transform: scale(1.05);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.8rem;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
  background-color: #222;
  color: white;
}

button {
  padding: 0.8rem;
  background-color: orange;
  color: black;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #ff9500;
}

.socials a {
  color: orange;
  margin-right: 1rem;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #000;
  color: #888;
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .social-icons {
    display: none; /* Cacher complètement les réseaux sociaux sur téléphone */
  }

  .grille-projets {
    flex-direction: column; /* Les projets aussi en colonne */
    align-items: center;
    
  }
  .logo img {
    width: 50 px;
    height: auto;
    margin-left: 0.3rem;
  }

  ul li a {
 
    font-family: 100%;
    font-size:0.6rem;
    text-align: center;
  }
}