.headerBackground {
    background: url('Image/bandeau-jeunes.jpg') no-repeat center center/cover;
    width: 100%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: row-reverse;
    align-items: left;
    padding-top: 1rem;
    padding-bottom: 20%;
}

#RmfaHeader {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("Image/RmfaDetector.png") center center/cover no-repeat;
    display: block;
    padding-bottom: 10%;
}

.headerBackground li:not(:last-child)::after {
    content: "•";
    color: #ffffff;
    position: relative;
    right: -3%;
    top: 0;
}

footer {
    background-color: #060735;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.footerImg {
    width: 10em;
}

nav ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: larger;
    font-weight: bold;
    position: relative;
}

.navLinks a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
}

.navLinks a:hover::after {
    width: 100%;
}

.burgerMenu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.burgerMenu div {
    background-color: white;
    height: 4px;
    border-radius: 2px;
    transition: 0.3s;
}


@media (max-width: 768px) {
    .headerBackground {
        background: url('Image/bandeau-jeunes.jpg') no-repeat center;
    }
    .navLinks {
        display: none;
        flex-direction: column;
        background: #222222;
        position: absolute;
        top: 2%;
        right: 0;
        width: 70%;
        text-align: center;
        padding: 10px 0;
        transition: max-height 0.3s ease-out;
        z-index: 20;
    }

    .navLinks.active {
        display: flex;
    }

    .navLinks li {
        margin: 15px 0;
    }

    /* Bouton menu burger */
    .burgerMenu {
        font-size: 2rem;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        display: block;
        padding-right: 0.5em;
        margin-right: 1rem;
        position: relative;
        z-index: 30;
    }

    .footerImg {
        max-width: 50px;
    }
}