body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #343a40;
}

/* Navbar styles */
.navbar {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar a, .dropbtn {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #495057;
}

/* Dropdown styles */
.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-top: 9px; /* To push it below the navbar */
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Footer styles */
.footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed; /* On garde le footer fixe en bas */
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 500;
}



/* Layout adjustments for content below the navbar */
body > div:not(.navbar) {
    margin-top: 60px; /* Height of navbar */
    padding-bottom: 50px; /* Height of footer */
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        font-size: 0.9em;
    }

    .navbar a, .dropbtn {
        padding: 8px 10px;
    }

    .dropdown-content {
        left: 0;
        width: 100%;
    }
}