body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #0000ff, #8a2be2);
    color: #333;
}

header {
    background: linear-gradient(to right, #0000ff, #8a2be2);
    padding: 10px 0;
    text-align: center;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin-right: 15px;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
    background-color: #ffffff;
}

#presentation h1 {
    text-align: center;
    color: #4b0082;
    font-size: 2em;
    margin-bottom: 30px;
}

.profile-container {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: flex-start;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-bottom: 30px;
}

.profile p {
    color: #4b0082;
    max-width: 200px;
}

.interests-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.interests {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    color: #333;
}

.interests h3 {
    color: #4b0082;
    margin-bottom: 10px;
}

.interests ul {
    list-style-type: disc;
    padding-left: 20px;
}

.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #cc00ff;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    margin: 5px 0;
}

.btn:hover {
    background-color: #7d00b3;
}

.skills {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.skill {
    text-align: center;
}

.skill img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s;
}

.skill:hover img {
    transform: scale(1.1);
}

.certificates {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.certificate {
    text-align: center;
}

.certificate img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s;
}

.certificate:hover img {
    transform: scale(1.1);
}

footer {
    background: linear-gradient(to right, #0000ff, #8a2be2);
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    position: relative;
    z-index: 2;
}

#parcours {
    padding: 40px 20px;
    background-color: #f3f4f6;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin: 10px 0;
    position: relative;
    width: 60%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s;
}

.timeline-item:nth-child(odd) {
    align-self: flex-start;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
}

.timeline-content {
    text-align: left;
    padding-left: 20px;
}

.timeline-content h3 {
    margin-top: 0;
    color: #4b0082;
}

.timeline-content p {
    margin: 5px 0 0;
    color: #555;
}

.timeline-item:hover {
    transform: scale(1.05);
    background-color: #e0e0f8;
}

.timeline:before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #4b0082;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

#competences h2 {
    text-align: center;
}

#certifications h2 {
    text-align: center;
}