/* Styles pour la barre de navigation */
* {
    color: white;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, blue -50%, black 100%) fixed;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    position: relative;
}
header h1 {
    margin-left: 10px;
}
.navbar {
    display: flex;
    list-style-type: none;
}
.navbar li {
    margin-right: 20px;
}
.navbar a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}
.navbar-footer {
    display: flex;
    list-style-type: none;
    background-color: #333;
    padding: 10px;
    justify-content: center;
}
.navbar-footer li {
    margin-right: 20px;
}
.navbar-footer a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}
.navbar-footer a:hover,
.navbar-footer a.active {
    color: #ffcc00;
}
/* Navigation mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger div {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}
.navbar.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
}
.navbar.open a {
    padding: 10px 0;
    text-decoration: none;
    color: white;
    border-bottom: 1px solid #555;
}
.navbar.open a:hover {
    background-color: #555;
}
/* Responsivité */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .navbar.open {
        display: flex;
    }
    .navbar-footer {
        flex-direction: column;
        align-items: center;
    }
}

/* Style général de la navbar */
.navbar {
    background-color: #333;
    padding: 10px;
}

.navbar ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.navbar ul li {
    margin-right: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    color: #ffcc00;
}

/* Style pour la sous-navbar */
.navbar-sub {
    background-color: #222;
    padding: 8px 0;
}

.navbar-sub ul {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.navbar-sub ul li {
    padding: 10px 15px;
}

.navbar-sub ul li a {
    text-decoration: none;
    color: #ccc;
    font-weight: bold;
}

.navbar-sub ul li a:hover,
.navbar-sub ul li a.active {
    color: #ffcc00;
    background-color: #444;
    border-radius: 4px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar-sub ul {
        flex-direction: column;
    }
}

/* Styles pour le footer */
footer {
    background-color: #333;
    text-align: center;
    color: #fff;
    position: inherit;
    bottom: 0;
    padding: 20px 0 20px 0;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
}
