body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #323234; 
    color: #FFFFFF; 
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #262627; 
    color: white; 
    padding: 1%;
    height: 100px; 
}

.photo img {
    width: 120px; 
    height: auto;
    border-radius: 50%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px; 
}

nav ul li a {
    color: white; 
    text-decoration: none;
    font-size: 1.5em; 
}

nav ul li a:hover {
    text-decoration: underline;
}

nav ul li.active a {
    font-weight: bold;
    text-decoration: underline;
}

h1 {
    color: #FFFFFF; 
}

p {
    color: #D3D3D3; 
}

.project-card {
    background-color: #47474A;
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 2%;
    margin: 2% 0;
    width: 45%;
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

.bilanperso {
    background-color: #47474A; 
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 5%;
    margin: 1% auto; 
    width: 95%; 
    max-width: 1000px; 
}

.bilanperso p {
    text-align: justify;
}

.titre {
    padding: 2%;
    text-align: center;
}

.titre2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2%;
    text-align: center;
}

.titre2 .side-image {
    width: 150px;
    height: auto;
    margin: 0 20px;
}

.titre2 .side-image img {
    width: 100%;
    height: auto;
}

.download-link {
    text-align: center;
    margin-top: 20px;
}

.download-link a {
    text-decoration: none;
    color: royalblue;
    font-weight: bold;
}

.soustitre {
    text-align: left;
    padding-left: 5%;
}

.information {
    background-color: #47474A;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 2%;
    margin: 2% 0;
    width: 45%;
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

.titre3 {
    padding: 2%;
    text-align: center;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.project-card3 {
    background-color: #47474A;
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 2%;
    margin: 2%;
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    text-align: left;
}

.project-card3:nth-child(odd):last-child {
    max-width: 90%; /* Centre la dernière carte si elle est seule sur une ligne */
}
