/* Global Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5F5F5;
}
/* Header Styles */
header {
    background-color: #1E88E5;
    color: white;
    padding: 1em 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
}

header .logo img {
    max-width: 150px; /* Ajustez la taille du logo */
    height: auto;
    border-radius: 5px; /* Optionnel, arrondi pour un effet moderne */
}

header h1 {
    margin: 0;
    font-size: 2em;
}
nav {
    display: flex;
    justify-content: center;
    background-color: #FF6700;
    padding: 0.5em 0;
}
/* Styles du menu */
nav {
    display: flex;
    justify-content: center;
    background-color: #FF6700;
    padding: 0.5em 0;
    position: relative;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5em 1em;
    font-weight: bold;
}

nav a:hover {
    background-color: #1E88E5;
    border-radius: 5px;
}

/* Styles pour le menu hamburger */
.menu-toggle {
    display: none;
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: #FF6700;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 1100;
}

/* Cacher le menu par défaut sur mobile */
nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul.hidden {
    display: none; /* Menu caché */
}

/* Responsive styles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5em;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    .menu-toggle {
        display: block;
    }
    nav ul.hidden a {
        display: block;
        padding: 1em;
        width: 100%;
        text-align: left;
    }
}

main {
    padding: 2em;
}
section {
    margin-bottom: 2em;
}
img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Blocs avec image et texte */
.block {
    display: flex;
    align-items: center;
    margin-bottom: 1.5em;
}
.block img {
    width: 200px;
    height: auto;
    margin-right: 1em;
    border-radius: 5px;
}
.block-text {
    flex: 1;
}

/* Footer */
footer {
    background-color: #1E88E5;
    color: white;
    text-align: center;
    padding: 1em 0;
}
footer a {
    color: #FF6700;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .block {
        flex-direction: column;
        text-align: center;
    }
    .block img {
        margin: 0 0 1em 0;
        width: 100%;
    }
}
