body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
background: url('../images/fond.jpg') center center fixed no-repeat;
    background-size: cover;
    position: relative;
   color: rgba(251, 233, 209, 1);
    font-size: 18px;
    line-height: 1.6;
}







header {
    background: rgba(0, 0, 0, 0.75);
    padding: 0.5em 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Espacement entre les groupes */
    flex-wrap: wrap; /* Permet de passer à une deuxième ligne si nécessaire */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px; /* Réduit les écarts pour limiter l’encombrement */
}

nav ul .centered-links {
    display: flex;
    flex-wrap: wrap; /* Les liens centraux peuvent passer sur une 2e ligne */
    justify-content: center; /* Centre les liens horizontalement */
    flex: 1; /* Utilise tout l'espace disponible sauf pour EN */
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: rgba(230, 96, 72, 255); 
    font-size: 1.2em;
    font-style: italic;
    padding: 0.6em 1.2em;
    transition: color 0.3s ease;
}

.align-right {
    margin: 0; /* Supprime les marges inutiles */
    flex-shrink: 0; /* Empêche "EN" de se réduire et force son alignement */
}

.align-right a {
    color: white;
	font-style: italic;
    font-size: 1.2em;
    font-weight: normal;
    padding: 0.6em 1.2em;
}









a {
    text-decoration: none;
    color: rgba(230, 96, 72, 255); 
}

main {
    margin: 30px;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}



footer {
    background-color: transparent;
    color: white;
    text-align: center;
    padding: 1.5em;
}






.video-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
  justify-content: flex-start;
    align-items: flex-start; 
    margin: 0 0 5px;
	
}

.video-info h2 {
    font-size: 1.5em;
    margin: 0 0 7px;
}

.video-info p {
    font-size: 1em;
    margin: 0px 0;
    color: rgba(251, 233, 209, 1);
    margin: 0 0 15px;
}

.video-info ul {
    font-size: 1em;
    list-style-type: disc;
    margin-left: 30px;
    padding-left: 0;
    margin-bottom: 15px;
}

.video-info  li {
        font-size: 1.1em;
    margin-bottom: 15px; 
}




.container-wrapper, .container {
    width: 90vw;
}


.container-wrapper {
    display: flex;
    margin: 40px 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px; 
    overflow: hidden;
    position: relative;
    z-index: 1; 
}

.container {
    flex: 1;
    display: flex;
    align-items: center; 
    margin: 5px 5px 5px 5px; 
    z-index: 2; 
}

.image {
    position: relative;
    width: 37vw; 
    margin: 40px;

	
}

.image img {
    width: 100%;
	border-radius: 15px; 
}


.video {
    position: relative;
    width: 40vw; 
    margin: 20px;

}

.video:before {
    content: '';
    display: block;
    padding-top: 56.25%; 
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   border-radius: 15px;
   overflow: hidden;	
}





/* ************************************************************** */


@media screen and (max-width: 1000px) {
    /* Ajustement général du header */
    header {
        padding: 0.3em 0; /* Réduit la hauteur du header */
    }

    /* Liens dans le header */
    nav ul li a {
        font-size: 1.1em; /* Taille légèrement réduite pour plus d’espace */
        padding: 0.4em 0.8em; /* Marges internes ajustées */
    }

    /* "EN" conserve les mêmes proportions */
    .align-right a {
        font-size: 1.1em; /* Taille cohérente avec les autres liens */
        padding: 0.4em 0.8em; /* Marges internes ajustées */
    }


  
.container {
    flex-direction: column;
}

.container-wrapper {
    display: flex;
    margin: 40px 0 0 -40px ;
 padding: 0 10px; /* Ajoutez un espace intérieur sur les côtés */
}

.image {
    position: relative;
    width: 70vw;
    margin: 20px 0 5px;
}

.video {
    position: relative;
    width: 70vw; 
    margin: 20px;
}

.video-info {
    justify-content: center;
    align-items: center;
    margin: -15px;
}

.video-info h2 {
    font-size: 1.2em;
    margin: 0 0 5px;
}

.video-info h3 {
    font-size: 1.1em;
}


.video-info p,
.video-info ul li {
    font-size: 0.9em;
}


}