body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #fff;
}
header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
nav a:hover {
    text-decoration: underline;
}
.carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
}
.carousel img {
    flex-shrink: 0;
    width: 80%;
    max-width: 600px;
    height: auto;
    transition: transform 1s ease-in-out;
    scroll-snap-align: center;
    border-radius: 10px;
}
.sub-header {
    background-color: #1a1a1a;
    padding: 10px 0;
    text-align: center;
}
footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
.timeline {
    padding: 20px 150px;
    background-color: #1a1a1a;
    color: #fff;
}
.timeline-item {
    margin-bottom: 20px;
    padding: 20px;
    border-left: 4px solid #fff;
    background-color: #222;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}
.timeline-item h3 {
    font-size: 22px;
    margin-bottom: 5px;
}
.timeline-item p {
    font-size: 16px;
    margin: 5px 0;
}
.skill-bar {
    background-color: #333;
    height: 20px;
    width: 100%;
    margin-top: 10px;
    border-radius: 10px;
}
.skill-bar div {
    height: 100%;
    background-color: #1b991b;
    border-radius: 10px;
}

/* Sections */
section {
    padding: 5px 0;
    background-color: #1a1a1a;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

/* Titres de section */
h2, .timeline-item h3 {
    text-align: left;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 2.2em;
    color: #1b991b;
}

/* Timeline pour les expériences */
.timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.timeline-item h3 {
    color: #1b991b;
    margin-bottom: 5px;
}

.timeline-item p, section > div > p {
    text-align: left;
    font-size: 16px;
    color: #ccc;
}

.event-box.past {
    margin-top: 10px;
}
.event-box .status-termine {
    color: green;
}
.event-box .status-annule {
    color: red;
}

.product-box {
    background-color: #fff;
    color: #000;
}

button {
    width: 100%;
}

.image-carousel {
    position: relative;
    width: 100%;
}
.image-container {
    display: flex;
    overflow: hidden;
    width: 100%;
}
.image-carousel img {
    width: 100%;
    transition: transform 0.5s ease-in-out;
}
