body{
    margin: 0;
    padding: 0;
}

footer {
    padding: 20px 0px;
    background-color: rgb(16, 15, 15);
    color: white;
    font-family: "Montserrat", sans-serif;
    margin-top: 15px;
    text-align: center;
}

footer .conteneur {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

footer .sous-conteneur {
    flex: 1;
    padding: 10px;
    text-align: center;
    flex: 1;
    max-width: 300px;
    margin: 10px;
    color: white;
}

footer .titre img {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
    height: auto;
}

footer h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

footer p {
    font-size: 1em;
    line-height: 1.5;
}

footer p a {
    color: white;
    border-bottom: 1px solid white;
}

.footer-languages {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.selected-language {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    padding: 5px 10px;
    border-radius: 5px;
}

.arrow-footer {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    margin-left: 5px;
}

.footer-language-submenu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.footer-language-submenu li {
    padding: 8px;
}

.footer-language-submenu li a {
    color: black !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-language-submenu li img {
    width: 20px;
    height: auto;
}

.footer-languages:hover .footer-language-submenu {
    display: block;
}

.footer-language-submenu li:hover {
    background-color: #f0f0f0;
}

.footer-languages img {
    width: 30px;
    height: auto;
}

/* Media queries pour le footer */
@media screen and (max-width: 768px) {
    footer .conteneur {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .sous-conteneur {
        max-width: 100%;
    }

    .footer-language-submenu {
        top: auto;
        bottom: 100%;
        position: absolute;
    }
}

@media screen and (max-width: 600px) {
    .sous-conteneur {
        flex-basis: 100%;
    }
}