body {
    font-family: 'DM Sans', sans-serif;
    background-color: #fcfcfc;
    color: #d56f34;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #d56f34;
    color: #fcfcfc;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

header h1 {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    margin: 10px 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fcfcfc;
    font-size: 1.5rem;
    cursor: pointer;
    width: 100%;
    text-align: center;
    padding: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #d56f34;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out;
}

nav ul li {
    margin: 10px 0;
    padding: 10px;
}

nav ul li a {
    color: #fcfcfc;
    text-decoration: none;
}

nav ul.show {
    max-height: 500px; /* Ajustez cette valeur en fonction du nombre de liens */
    transition: max-height 0.5s ease-in;
}

.menu-toggle.show {
    transform: rotate(180deg);
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

@media screen and (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    nav ul {
        display: flex !important;
        flex-direction: row;
        max-height: none;
    }
}

footer {
    background-color: #d56f34;
    color: #fcfcfc;
    text-align: center;
    padding: 15px;
    position: fixed;
    width: 100%;
    bottom: 0;
    border-radius: 15px;
}

main {
    margin-top: 80px;
    margin-bottom: 80px;
}

article {
    background-color: #fcfcfc;
    margin: 30px auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

article h2 {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: #d56f34;
}



.deputes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
	    margin: 30px auto;
    max-width: 800px;
	padding-bottom: 50px;
}

.card {
    background: white;
    border-radius: 15px;
    width: 200px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(213, 111, 52, 0.5);
}

.card img {
    width: 100%;
    height: auto;
}

.depute-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #d56f34;
    color: #dcdcdc;
    width: 30px;
    height: 30px;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-style: italic;
}

.depute-info {
    padding: 15px;
    text-align: center;
}

.depute-info h3 {
    margin: 10px 0;
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: #d56f34;
}

.email {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d56f34;
}

.email i {
    margin-right: 5px;
}


.image-block {
    background-color: #fcfcfc;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1280px;
    overflow: hidden;
	padding-bottom: 0;
	margin-bottom: 100px;
}

.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}


.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre bien l'espace sans être étirée */
    display: block;
}

.image-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(213, 111, 52, 0.7);
    color: white;
    padding: 10px 20px;
    font-size: 1.5rem;
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    border-radius: 10px;
}

.program-link {
    text-decoration: none;
    display: inline-block;
}



    .image-text {
        font-size: 2rem;
        padding: 5px 10px;
        bottom: 10px;
        right: 10px;
		    right: 50px;
    left: 50px;
    text-align: center;
    
}


.communiques {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.communique-link {
    text-decoration: none;
    color: inherit;
    background-color: #fcfcfc;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.communique-link a{
	text-decoration: none;
}

.communique-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.communique-icon {
    background-color: rgb(213 111 52 / 20%);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.communique-icon i {
    color: #d56f34;
}

.communique-details {
    flex-grow: 1;
}

.communique-details h3 {
    margin: 0;
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: #d56f34;
}

.communique-details p {
    margin: 5px 0 0;
    font-family: 'DM Sans';
    color: #d56f34;
}

.separator {
    height: 2px;
    background-color: #d56f34;
    margin: 10px auto;
    max-width: 800px;
	width: auto;
}



.programmes {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.programme-link {
    
    color: inherit;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.programme-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
	
}

.programme-icon {
    background-color: rgb(213 111 52 / 100%);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.programme-icon i {
    color: #dcdcdc;
}

.programme-details {
    flex-grow: 1;
}

.programme-details h3 {
    margin: 0;
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: #d56f34;
}



