* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}
*/
body {                                 /* element center in body */
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    
    /* Ajout pour centrer le body */
/*    display: flex;*/
/*    justify-content: center; /* Centre horizontalement */*/
/*    align-items: center;     /* Centre verticalement */*/
/*    min-height: 100vh;       /* Occupe la hauteur de la page */*/
/*    margin: 0; */*/
}
.main-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    
}

/* Bloc à gauche */
.side-info {
    width: 30%;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    text-align: center;

}

.side-info h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    color: #1e8449;
}

.side-info img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Conteneur principal */
.container {
    width: 65%;
    padding: 20px;
    background: white;
}

/* Espace pour l'image dans le container */
.logo img {
    max-width: auto;
    margin-bottom: 20px;
}
.logo1 img {
    max-width: 30%;
    margin-bottom: 20px;
}
h1 {
    color: red;
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}
h2 {
    color: #1e8449;
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-align: center;
}

/* Menu horizontal avec dropdown */
nav {
    margin-bottom: 40px;
}

.menu-categories {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.menu-categories > li {
    position: relative;
}

.menu-categories > li > a {
    text-decoration: none;
    color: #1e8449;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #1e8449;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.menu-categories > li > a:hover {
    background-color: #ff0000;
    color: white;
}

/* Dropdown menu */
.menu-categories .dropdown {
    display: none;
    position: absolute;
    top: 100%; /* Positionné juste en dessous du menu parent */
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px 0;
    width: 200px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1; /* Assure que le dropdown reste au-dessus */
}

.menu-categories .dropdown li {
    list-style: none;
}

.menu-categories .dropdown li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.menu-categories .dropdown li a:hover {
    background-color: #adffc8;
}

/* Montrer le dropdown au survol du parent */
.menu-categories > li:hover .dropdown,
.menu-categories > li:focus-within .dropdown {
    display: block;
}

section p {
    font-size: 1.2rem;
    margin-top: 20px;
    line-height: 1.6;
    text-align: center;
}
