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

/* Slider spécifique aux projets */
#projects {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

.slider-container {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    position: relative;
    justify-content: left;
}

/* Slide spécifique aux projets */
.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0px 60px;
    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;
}

/* Image des projets */
iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 2px solid #333;
    margin-top: 10px;
}

/* 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;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

.nav-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.hidden {
    display: none;
}