body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: white;
  color: #333;
  line-height: 1.6;
}

body p {
  color:#333;
}

header {
  background-color: #fff7e6;
  color: #734d26;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: left;
  font-size: 20px;
}

header h1.prenom {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
}

nav {
  background-color: #ffffff;
  border-radius: 12px;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  max-width: 800px; 
  margin-left: auto;
  margin-right: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

nav li {
  position: relative;
}

nav a {
  color: #734d26;
  text-decoration: none;
  font-weight: bold;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 16px;
  padding-top: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 2px solid transparent;
}

nav a:hover {
  background-color:#f9f2ec;
  color: #604020;
  border-color: #734d26;
}

.intro-section {
  background-color: #FDF5E6;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 30px;
  padding-right: 30px;
  margin: 30px auto;
  border-radius: 20px;
  max-width: 800px;
  text-align: center;
  font-style: italic;
}

.intro-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #734d26;
}

.intro-section p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  text-align: center;
  margin: 0 auto;
  max-width: 700px;
}

.profile-photo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #734d26;
  margin-bottom: 25px;
}



.conteneur {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
  background-color: #fff;
  justify-content: center;
}

.education, .contacts {
  background-color: #FDF5E6;
  padding: 25px;
  border-radius: 15px;
}

.title1 {
  color:#734d26;
}

.title2 {
  color:#555;
}

.languages ul {
list-style: none ;
margin: 0;
padding: 0;
}

.exp ul {
list-style: none ;
margin: 0;
padding: 0;
}

.form {
  text-align: center;
}

.contact-form {
  background-color: #FDF5E6;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 30px;
  padding-right: 30px;
  margin: 30px auto;
  border-radius: 15px;
  justify-content: center;
  justify-items: center;
  max-width: 500px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

#message {
height: 120px;      
resize:none;
width: 450px;
padding: 12px;
border: 1px solid #e0c9a6;
border-radius: 8px;
background-color: #fff;
box-sizing: border-box;
}

#firstname, #lastname, #email, #subject {
  box-sizing: border-box;
  width: 450px;
  padding: 12px;
  border: 1px solid #e0c9a6;
  border-radius: 8px;
  background-color: #fff;
}

input:focus, select:focus, textarea:focus {
  border-color: #f4a460;
  outline: none;
}

button {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 24px;
  padding-right: 24px;
  background-color: #d3b397;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #97806b;
}

footer {
  background-color: #fff7e6;
  color: #734d26;
  text-align: center;
  font-size: 14px;
  margin-top: 100px;
}

footer a {
  color:#7e7670;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #6c665a;
}

footer p a {
  text-align: center;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-transform:uppercase;
}

.jobsilove {
  font-size: 38px;
  margin-bottom: 0px;
  margin-left: 15px;
  color: #734d26;
}

.bloc {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
  justify-content: center;
}

.imgsize {
  width: 750px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.job-card {
  background-color: #FDF5E6;
  padding: 25px;
  margin: 30px auto;
  border-radius: 15px;
  max-width: 800px;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.job-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #734d26;
}

.job-card h4 {
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #555;
}

.job-card p {
  margin-bottom: 15px;
  text-align: justify;
}

.personal-infos {
  display: inline-block; 
}

.portfolio {
  background-color: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 30px;
  padding-right: 30px;
  margin: 30px auto;
  max-width: 1200px;
  text-align: center;
}

.portfolio-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.portfolio-card {
  background-color: #FDF5E6;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
}


.portfolio-card img {
  width: 250px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #e0c9a6;
  margin-bottom: 10px;
}

.portfolio-card h3 {
  color: #734d26;
  font-size: 18px;
  margin: 0;
}

.video a {
  color: #734d26;
  text-decoration: none;
  font-weight: bold;
}

.video {
  display: flex;
  justify-content: center;
}

.stylevideo {
  border: 4px solid #e0c9a6;
  border-radius: 15px;
}