/* Style globaux */
body {
  font-size: medium;
  background-color: #f3e8de;
  color: #333;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

p {
  text-align: center;
}

h1, h2 {
  color: #4c2744;
  text-align: center;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/*Barre de navigation */
header {
  background-color: #4c2744;
  padding: 15px 0;
  width: 100%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
main {
  flex: 1; 
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  padding: 8px 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background-color: #fff;
  color: #4c2744;
  border-radius: 5px;
}

#moi {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  nav ul li {
    margin: 10px 0;
  }
}

/* Image cliquable*/
.clickable-image-section {
  text-align: center;
  margin: 40px 0;
}

.clickable-image-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #4c2744;
}

.clickable-image-container {
  position: relative;
  display: inline-block;
}

.imgcliquable {
  width: 100%;
  max-width: 600px; 
  height: auto;
  border-radius: 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imgcliquable:hover {
  transform: scale(1.05); 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

area {
  cursor: pointer;
}

@media (max-width: 768px) {
  .imgcliquable {
    max-width: 100%; 
  }
}

.image-cliquable {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 20px auto;
  display: block;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}


/* Contenu principal*/
.cv {
  width: 90%;
  margin: 20px auto;
  text-align: center;
}

.cv img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.multimedia img {
  max-width: 100%;
  height: auto;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
}

/* Section skills 1*/
.skills {
  list-style-type: none;
  padding: 0;
  margin: 20px auto;
}

.skills li {
  font-size: 1rem;
  margin: 10px 0;
}

/* Section skills 2*/
.skills-section {
  text-align: center;
  padding: 40px;
  background-color: #f3e8de;
  color: #333;
}

.skills-section h1 {
  font-size: 2.5rem;
  color: #4c2744;
  margin-bottom: 20px;
}

.skills-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.skills-category {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.skills-category h2 {
  font-size: 1.5rem;
  color: #4c2744;
  margin-bottom: 10px;
  text-align: center;
}

.skills-category ul {
  list-style: none; /* enlève les puces des listes */
  padding: 0;
  margin: 0;
}

.skills-category ul li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin: 10px 0;
  transition: color 0.3s ease;
}

.skills-category ul li:hover {
  color: #4c2744;
  font-weight: bold;
}

.skills-category ul li img {
  width: 24px;
  height: 24px;
  margin-right: 10px; 
}


/* Section Portfolio */
.portfolio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
}

.portfolio img {
  width: 100%;
  max-width: 400px;
  border-radius: 5px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.portfolio img:hover {
  transform: scale(1.05);
}

/* Section Future Career*/
.futurecareer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  margin: 20px auto;
  width: 90%;
  max-width: 800px;
}

.futurecareer p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/*Formulaire du contact*/
input[type=text] {
  width: 90%;
  max-width: 400px;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input[type=text]:focus {
  border-color: #4c2744;
  outline: none;
}

button[type=submit] {
  background-color: #4c2744;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type=submit]:hover {
  background-color: #5f3460;
}

/* Media Queries */
@media (max-width: 768px) {
  .cv, .futurecareer, .portfolio {
    width: 100%;
    padding: 0 10px;
  }

  .skills li {
    font-size: 0.9rem;
  }
}

/*Cartes Portfolio contenant images,etc*/
.portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto;
  width: 90%;
}

.portfolio h1 {
  font-size: 2.5rem;
  color: #4c2744;
  margin-bottom: 20px;
}

.portfolio h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
  text-align: center;
}

.card {
  width: 250px;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card2 {
  width: 300px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card2:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Rend les cartes responsives */
@media (max-width: 768px) {
  .card {
    width: 200px;
    height: 200px;
  }
}
/*Section Cariere */
.career-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px auto;
  width: 90%;
}

.career {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 400px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.career h2 {
  font-size: 1.5rem;
  color: #4c2744;
  margin-bottom: 10px;
}

.career p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Section du Footer */
footer {
  background-color: #4c2744;
  color: #fff;
  padding: 20px;
  text-align: center;
  width: 100%;
}

.footer-content {
  margin: 0 auto;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-links li {
  display: inline;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ddd;
}

.form-container {
  margin-top: 10px;
}

form input[type="text"] {
  width: 70%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  background-color: #6a3566;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

footer {
  background-color: #471838;
  color: #fff;
  padding: 20px;
  width: 100%;
  text-align: center;
  box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.1);
}

footer a {
  color: lightgray;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #fff;
}

footer address {
  margin: 10px 0;
  font-style: normal;
}
form button:hover {
  background-color: #823a81;
}

/*Design responsive*/
@media (max-width: 768px) {
  .career-container {
    flex-direction: column;
    align-items: center;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  form input[type="text"] {
    width: 90%;
  }

  .phppage{ 
      display: flex;
      justify-content: center; 
      align-items: center;     
      height: 100vh;           
      margin: 0;  
      text-align: center;            
  }
}
.cv-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cv-image {
  flex: 1;
  text-align: center;
  margin-right: 20px;
}

.cv-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 5px solid #4c2744;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cv-content {
  flex: 2;
}

.contact h1 {
  font-size: 2.5rem;
  color: #4c2744;
  margin: 0;
}

.contact p {
  font-size: 1rem;
  margin: 10px 0;
}

.contact-info h2 {
  font-size: 1.2rem;
  margin-top: 20px;
}

.contact-info p {
  margin: 5px 0;
  font-size: 1rem;
}

.contact-info a {
  color: #4c2744;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.videoyoutube {
  text-align: center;
}
/*Rend le site responsive*/
@media (max-width: 768px) {
  .cv-container {
    flex-direction: column;
    text-align: center;
  }

  .cv-image {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .cv-content {
    text-align: center;
  }}
  aside h2 {
    font-size: 1.8em;
  }
  
  aside ul {
    font-size: 1.2em;
    line-height: 1.8;
  }
  
  aside ul li img {
    width: 30px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
  }
  
/* Section Education */
.education, .diplomas {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.education h2, .diplomas h2 {
  font-size: 2rem;
  color: #4c2744;
  margin-bottom: 15px;
  text-align: center;
}

.education p, .diplomas p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: center;
}

.languages{
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  flex-direction: column;
}

img {
  max-width: 100%; 
  height: auto; 
}

.degrees{
  text-align: center;
}
/* Responsive pour les section Education et Diplomes */
@media (max-width: 768px) {
  .education h2, .diplomas h2 {
    font-size: 1.6rem;
  }

  .education p, .diplomas p {
    font-size: 1rem;
  }
}
