/* Style global pour le body */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 20px;
  padding: 20px;
}

/* En-tête */
header {
  background-color: #333;
  color: #fff;
  padding: 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-text {
  flex: 1;
}

.profile-picture-header {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

/* Style pour le titre principal */
header h1 {
  font-size: 36px;
  margin: 0;
}

/* Style pour le sous-titre */
header p {
  font-size: 20px;
  margin-top: 10px;
}

/* Style pour les liens de la barre de navigation */
nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin: 0 10px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

/* Style pour les sections principales */
main section {
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

/* Icônes pour les titres de section */
main section h2 {
  display: flex;
  align-items: center;
  font-size: 24px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

main section h2 i {
  margin-right: 10px;
}

/* Style pour la liste des expériences */
.experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-list li {
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

.experience-list h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.experience-list p {
  margin: 0 0 10px;
  font-size: 16px;
  color: #555;
}

.experience-list ul {
  list-style: disc;
  padding-left: 20px;
}

.experience-list a {
  color: #007bff;
  text-decoration: none;
}

.experience-list a:hover {
  text-decoration: underline;
}

/* Style pour la liste de freelance */
.freelance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.freelance-list li {
  margin-bottom: 15px;
}

.freelance-list h4 {
  font-size: 18px;
  margin: 0 0 5px;
  color: #333;
}

.freelance-list p {
  margin: 0;
  font-size: 16px;
  color: #555;
}

.freelance-list a {
  color: #007bff;
  text-decoration: none;
}

.freelance-list a:hover {
  text-decoration: underline;
}

/* Style pour la section Références */
#references p {
  font-size: 16px;
  color: #555;
}

#references h2 {
  font-size: 24px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

#references h2 i {
  margin-right: 10px;
}


/* Style pour la liste de compétences */
.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.skills-list li i {
  font-size: 24px;
  margin-right: 10px;
  color: #333;
}

.skills-list li span {
  font-size: 18px;
}

/* Style pour la section Langues */
.languages-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.languages-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #555;
}
/* Style pour la section Activités et Intérêts */
.activities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.activities-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #555;
}

/* Style pour la section Certifications */
.certifications-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.certifications-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #555;
}

/* Style pour la section Objectifs Professionnels */
#career-objectives p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

#career-objectives h2 {
  font-size: 24px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

#career-objectives h2 i {
  margin-right: 10px;
}


/* Style pour la section Formations */
.education-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.education-list li {
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.education-list h3 {
  font-size: 20px;
  margin: 0;
  color: #333;
}

.education-list .degree {
  font-size: 18px;
  font-weight: bold;
  margin: 5px 0;
}

.education-list .grade {
  font-size: 16px;
  color: #555;
}

.education-list .date {
  font-size: 14px;
  color: #777;
}

.education-list li:last-child {
  border-bottom: none;
}

/* Style pour les contacts */
#contact ul {
  list-style: none;
  padding: 0;
}

#contact ul li {
  margin-bottom: 10px;
}

#contact ul li a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

#contact ul li a:hover {
  text-decoration: underline;
}

/* Style pour le footer */
footer {
  text-align: center;
  padding: 10px;
  background-color: #333;
  color: #fff;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-text {
    text-align: center;
    margin-bottom: 20px;
  }

  .profile-picture-header {
    margin: 0 auto;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  nav ul li {
    display: block;
    margin: 10px 0;
  }
}