body {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.menu {
    width: 250px;
    height: 100vh;
    background-color: #021130;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 999;
}

main {
    flex-grow: 1;
    margin-left: 250px; /* Décale le contenu pour ne pas chevaucher le menu */
    padding: 20px;
    width: calc(100% - 250px); /* Prend tout l'espace disponible */
}

.section {
    max-width: 800px;
    margin: auto; /* Centre le contenu */
}

.video-container {
    text-align: center;
    margin-top: 20px;
}

footer {
    margin-left: 250px; /* Ajuste le pied de page en conséquence */
    text-align: center;
    padding: 20px;
}


.carousel1 {
    position: relative;
    width: 2000px;
    height: 350px;
    margin-top: 0px;
    margin-left: -95px;
    overflow: hidden;
}
/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'MV Boli', cursive;
    font-weight: 700;
    background-color: #fdebd0;
    color: #333;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

header .logo img {
    height: 150px;
}

main {
    flex-grow: 1;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

h1 {
    color: white;
    text-align: center;
    font-family: 'MV Boli', cursive;
    font-weight: 700;
}

h3 {
    color: white;
    font-family: 'MV Boli', cursive;
    font-weight: 700;
}

.menu ul li a.active {
    background-color: #880404; /* Même couleur que le hover */
    font-weight: bold;
    position: relative;
}

.menu ul li a.active::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 50%;
    background-color: #ffcc00; /* Couleur du marqueur */
    border-radius: 2px;
}

/* Menu à gauche */
.menu {
    width: 250px;
    height: 100vh;
    background-color: #021130;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 999;
}

.menu.active {
    transform: translateX(0);
}

.menu ul {
    list-style: none;
    margin-top: 20px;
}

.menu ul li {
    margin: 20px 0;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.menu ul li a:hover {
    background-color: #880404;
}

.contact-section {
    background-color: #f4f7fa;
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
}

.contact-section h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'MV Boli', cursive;
    font-weight: 700;

}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;

}

.contact-item {
    text-align: center;
    margin: 20px;
}

.contact-item i {
    font-size: 3em;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.2em;
}

.contact-item a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #ff4c4c;
}

/* Menu Icon */
.menu-icon {
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .menu {
        transform: translateX(-100%);
    }

    .menu-icon {
        display: block;
    }

    main {
        padding-left: 20px;
    }
}

/* Section Hero */
.hero {
    background: url('images/hero.jpg') no-repeat center center/cover;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'MV Boli', cursive;
    font-weight: 700;
}

.hero-text p {
    font-size: 24px;
    margin-bottom: 30px;
    font-family: 'MV Boli', cursive;
    font-weight: 700;
}

.hero-text .btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #16a085;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.hero-text .btn:hover {
    background-color: #1abc9c;
}

/* Section générale */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #34495e;
    position: relative;
    font-family: 'MV Boli', cursive;
    font-weight: 700;
}

.section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #880404;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    font-family: 'MV Boli', cursive;
    font-weight: 700;
}

.section p {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'MV Boli', cursive;
    font-weight: 700;
}

/* Section Événements */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.event {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.event h3 {
    font-size: 24px;
    color: #021130;
    margin-bottom: 15px;
    font-family: 'MV Boli', cursive;
    font-weight: 700;
}

.event p {
    font-size: 16px;
    color: #7f8c8d;
    font-family: 'MV Boli', cursive;
    font-weight: 700;
}
/* Section Contact */
form {
    max-width: 600px;
    margin: auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
    font-size: 18px;
    color: #34495e;
    margin-bottom: 10px;
    display: block;
}

form input,
form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
}

form button {
    padding: 15px 30px;
    background-color: #16a085;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #1abc9c;
}

/* Pied de page */
footer {
    text-align: center;
    padding: 20px;
    background-color: #021130;
    color: white;
    position: revert;
}

footer .social-icons a {
    color: #fff;
    margin: 0 10px;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: #ff6b6b;

}

 /* Centrage de l'iframe avec margin auto */
        iframe {
            display: block;
            margin: 0 auto;
        }

.carousel {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 100px auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel img {
    width: 100%;
    border-radius: 10px;
}

        .container {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }
        h2 {
            color: #004080;
        }
        .member {
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #ddd;
        }
        .member:last-child {
            border-bottom: none;
        }
        .role {
            font-weight: bold;
            color: #004080;
        }
        .contact {
            margin-top: 20px;
            padding: 15px;
            background: #e8f4ff;
            border-left: 4px solid #004080;
        }

.social-icons a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    font-size: 1.5em;
}

.footer-image {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 100px; /* Adjust size as needed */
    height: auto;
    z-index: 0;
}

.info-container {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 40px;
}

.card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #021130;
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-pdf {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #880404;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-pdf:hover {
    background-color: #aa1a1a;
}

.tarif-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.tarif-table th, .tarif-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
}

.tarif-table th {
    background-color: #f8f8f8;
    color: #021130;
}

.tarif-table td {
    background-color: #fff;
    font-weight: bold;
}
