/************************************************/
/* BODY */
body {
    margin: 0;
    font-family: 'Quicksand', Arial, sans-serif;
    background-color: #EFF5D1;
    color: #333;
    scroll-behavior: smooth;
	font-size: 18px; 
    line-height: 1.6; 
}

/************************************************/
/* MENU */
.menu {
    display: flex;
    justify-content: center;
    background-color: #FFFFFF;
    padding: 10px 0;
	padding-left: 1em;
	padding-right: 1em;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.menu ul li a:hover {
    color: #0077aa;
}


.menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0; /* on contrôle l'espacement via padding */
}

.menu ul li {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-left: 1px solid #999;
}

.menu ul li:first-child {
    border-left: none;
}

/************************************************/
/* HEADER */
.header-container {
	padding-top: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	overflow: hidden;
}

.header-container img {
	width: 100%;
	height: auto;
	/* max-width: 80em; */
	border-radius: 20px;
}

/************************************************/
/* RESPONSIVE SETTINGS */
@media (max-width: 768px) {
    .section-with-image .section-content {
        flex-direction: column !important;
        text-align: center;
    }

    .section-with-image .section-image {
        margin: 0 auto;
    }
}

/************************************************/
/* SECTIONS */
.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 20px auto;
    padding: 10px;
    background-color: #ffffffcc;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section:nth-child(even) {
    flex-direction: row-reverse;
}

.section img {
    margin: 0 10px;
}

.section div {
    flex: 1;
}

.section-with-image .section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.section-with-image .section-image {
    max-width: 50%;
    border-radius: 8px;
}

.section-with-image {
    flex: 1;
    min-width: 250px;
}

.section-text {
    text-align: justify;
    padding-left: 10px;
    padding-right: 10px;
}

.section-text ul {
    padding-left: 20px;
}

.left-image {
    flex-direction: row;
}

.right-image {
    flex-direction: row-reverse;
}

.contenu-evenement h2 {
    text-align: center;
}

.image-paire {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.image-paire img {
    max-width: 35%;
	max-height: 35%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-evenement {
    background-color: white;
    padding: 40px 20px;
    margin: 10px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

/******************/
/* IMAGE CAROUSEL */
.carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.carousel img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-button {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    background-color: rgba(255,255,255,0.6);
    padding: 0.3em 0.5em;
    border-radius: 50%;
    transition: background 0.3s;
}

.carousel-button:hover {
    background-color: rgba(200,200,200,0.8);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

/*********************/
/* SCROLL TOP BUTTON */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #88C254;
    color: white;
    border: none;
    padding: 0px 12px;
    font-size: 40px;
    border-radius: 50%;
   /* cursor: default; */
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

#scrollTopBtn:hover {
    background-color: #407065;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/************************************************/
/* FOOTER */
footer {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	overflow: hidden;
	border-radius: 20px;
}

footer img {
	width: 100%;
	height: auto;
	max-width: 60em;
	border-radius: 20px;
}