body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    background: green;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Pour positionner les éléments relatifs au header */
    z-index: 1000; /* Pour s'assurer que le header est au-dessus des autres éléments */
}

header .logo img {
    height: 50px;
}

nav{
    display: flex;
}
header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header .search-profile{
    display: flex;
}
header .search-profile input {
    padding: 5px;
    margin-right: 10px;
}

header .profile-menu {
    position: relative;
    display: flex;
    align-items: center;
}

header .profile-icon i {
    font-size: 1.5em;
    cursor: pointer;
}

header .dropdown-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 0;
    background: white;
    color: #333;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
}

header .dropdown-menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

header .dropdown-menu a:hover {
    background: #f4f4f4;
}

header .profile-menu:hover .dropdown-menu {
    display: block;
}


.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: green;
    }
    header nav ul.nav-active {
        display: flex;
    }
    .burger {
        display: block;
    }
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .burger.toggle .line2 {
        opacity: 0;
    }
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

main {
    padding: 20px;
    margin: 20px;
}

#adhesion {
    max-width: 600px;
    margin: 0 auto;
}

#adhesion h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

#adhesion p {
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

button {
    padding: 10px 20px;
    background: green;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #003366;
}

footer {
    background: green;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a, .social-media a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
}

.social-media, .newsletter {
    display: flex;
    align-items: center;
}

.newsletter input {
    padding: 10px;
    margin-right: 10px;
    border-radius: 5px;
    border: none;
}
