
section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    text-align: left;
}

/* Le slider lui-même */
#slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

/* Chaque slide */
.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Titre de chaque slide */
.slide-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color:white;
}

/* Chaque image dans un slide */
.slider-container .slide img {
    width: auto;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Bouton fullscreen des projets */
.fullscreen-button {
    background: black;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-button:hover {
    background: #0056b3;
}

.fullscreen-button::before {
    content: "\2197";
    font-size: 18px;
    margin-right: 5px;
}

/* Boutons de navigation */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    font-size: 18px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.hidden {
    display: none;
}