#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background-color: #d26f48;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  transition: all 0.3s ease-in-out;
}

#sidebar .profile img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid white;
}

#sidebar .profile h2 {
  margin: 15px 0 5px;
  text-align: center;
}

#sidebar .menu {
  list-style: none;
  padding: 0;
  width: 100%;
  margin-top: 40px;
}

#sidebar .menu li {
  text-align: center;
  margin: 15px 0;
}

#sidebar .menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  font-size: 17px;
}

#sidebar .menu a:hover {
  color: #ffd6c2;
}

#menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1000;
  background: none;
  border: none;
  font-size: 28px;
  color: #d26f48;
  cursor: pointer;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #333;
}

#content {
  margin-left: 260px;
  padding: 50px;
  transition: margin-left 0.3s ease-in-out;
}

section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 5%;
  padding-left: 3%;
  box-sizing: border-box;
  border-bottom: 2px solid #ddd;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section h1 {
  color: rgb(86, 84, 84);
  border-bottom: 4px solid rgb(86, 84, 84);
  display: inline-block;
  margin-bottom: 20px;
  font-size: 50px;
}

.titrealexandre {
  font-size: 80px;
  color: rgb(86, 84, 84);
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: bold;
}

.titrelenormand {
  color: #a35030;
}

.infoperso {
  color: rgb(123, 118, 118);
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 30px;
  margin-top: -100px;
  font-weight: bold;
}

.descriptionmoi {
  font-family: 'Mulish', sans-serif;
  font-size: 20px;
  color: #6C7781;
}

#profil a {
  text-decoration: none;
}

.centreaeretinch {
  color: rgb(86, 84, 84);
}
.chefequipe {
  color: rgb(86, 84, 84);
}
.servicetech {
  color: rgb(86, 84, 84);
}
.icons {
  display: flex;
  gap: 20px;
  margin-top: 5%;
}

.fa-brands,
.fa-solid {
  font-size: 48px;
  color: rgb(86, 84, 84);
  transition: 0.3s;
}
.fa-brands:hover,
.fa-solid:hover {
  font-size: 60px;
  color: #d26f48;
}

#experience p {
  font-size: 40px;
  color: #d26f48;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 0px;
}

#experience ul {
  margin-top: 0;
  margin-bottom: 10px;
}

#experience li {
  font-size: 25px;
  margin-bottom: 10px;
  font-family: 'Saira Extra Condensed', sans-serif;
  color: rgb(123, 118, 118);
}

.nom {
  font-size: 40px;
  color: rgb(86, 84, 84);
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: bold;
}

.nomformation {
  font-size: 30px;
  font-family: 'Saira Extra Condensed', sans-serif;
  margin-top: -40px;
  color: rgb(123, 118, 118);
}

.annee {
  font-size: 25px;
  font-family: 'Saira Extra Condensed', sans-serif;
  color: #a35030;
  font-weight: 500;
}

.listelogo {
  padding: 30px;
  padding-left: 0px;
}

#competences p {
  font-size: 40px;
  color: #534844;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 0px;
}

#competences li {
  font-size: 25px;
  margin-bottom: 10px;
  font-family: 'Saira Extra Condensed', sans-serif;
  color: rgb(123, 118, 118);
}

#competences span {
  color: #d26f48;
}

#intere h3 {
  font-size: 40px;
  color: #534844;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 0px;
}

.psp, .football {
  font-family: 'Mulish', sans-serif;
  font-size: 20px;
  color: #6C7781;
}

#intere a {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 28px;
  color: #d26f48;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

#intere a:hover {
  color: #a35030;
  border-bottom: 2px solid #a35030;
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  #sidebar {
    width: 200px;
  }

  #content {
    margin-left: 200px;
    padding: 30px;
  }

  .titrealexandre {
    font-size: 60px;
  }

  .infoperso {
    padding-top: 15px;
    font-size: 24px;
  }

  section h1 {
    font-size: 40px;
  }

  #experience p {
    font-size: 30px;
  }

  #experience li {
    font-size: 20px;
  }

  #intere h3 {
    font-size: 32px;
    text-align: center;
  }

  #intere p {
    font-size: 18px;
    text-align: center;
  }

  #intere a {
    display: block;
    text-align: center;
    font-size: 24px;
    margin: 10px auto;
  }
}

@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }
  .fa-bars {
    font-size: 30px;
  }

  .fa-bars:hover {
    color: #d26f48;
    font-size: 40px;
  }

  #sidebar {
    position: fixed;
    width: 100%;
    height: auto;
    background-color: #6C7781;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    display: none;
    z-index: 999; 
  }

  #sidebar.active {
    display: flex;
  }

  #content {
    position: relative;
    z-index: 1; 
  }

  #sidebar .profile {
    display: none; 
  }

  #sidebar .menu {
    flex-direction: column;
    width: 100%;
  }

  #sidebar .menu li {
    margin: 10px 0;
  }

  #sidebar .menu a {
    font-size: 20px;
  }

  #content {
    margin-left: 0;
    padding: 20px;
  }

  .titrealexandre {
    font-size: 40px;
    text-align: center;
  }

  .infoperso {
    font-size: 18px;
    text-align: center;
    margin-top: 0;
  }

  .descriptionmoi {
    font-size: 16px;
    text-align: center;
  }

  .icons {
    justify-content: center;
  }

  section h1 {
    font-size: 32px;
    text-align: center;
  }

  .nom {
    font-size: 40px;
    text-align: center;
  }

  .nomformation {
    font-size: 24px;
    text-align: center;
  }

  .annee {
    font-size: 18px;
    text-align: center;
  }

  #experience p {
    font-size: 24px;
    text-align: center;
  }

  #experience li {
    font-size: 18px;
  }

  #competences .listelogo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
  }

  #competences .listelogo i {
    font-size: 36px;
  }

  #competences ul {
    padding-left: 0;
  }

  #competences li {
    font-size: 18px;
    line-height: 1.4;
    text-align: left;
  }

  #intere h3 {
    font-size: 28px;
    text-align: center;
  }

  #intere p {
    font-size: 16px;
    text-align: center;
  }

  #intere a {
    font-size: 22px;
    text-align: center;
    display: block;
    margin: 8px auto;
  }
}

@media (max-width: 480px) {
  .fa-brands, .fa-solid {
    font-size: 36px;
  }

  .titrealexandre {
    font-size: 32px;
  }

  .infoperso {
    font-size: 16px;
  }

  .descriptionmoi {
    font-size: 14px;
  }

  section h1 {
    font-size: 28px;
  }

  #experience li {
    font-size: 16px;
  }

  #competences .listelogo i {
    font-size: 28px;
  }

  #competences li {
    font-size: 16px;
  }

  #intere h3 {
    font-size: 24px;
  }

  #intere p {
    font-size: 14px;
  }

  #intere a {
    font-size: 18px;
  }
}
