.footer {
    display: flex;
    flex-direction: column;
    background-color: #F5F5F5;
    padding-top: 4vw;
    font-size: 12.8px;
    font-weight: 600;
    box-shadow: 0px -2px 5px #e6e6e6;
}

.footer_1{
    padding: 0 4vw 16px 4vw;
}

.footer_logo{
    display: flex;
    flex-direction: column;
    width: 144px;
}

.footer_logo img{
    width: 100%;
}

.langue{
    background-color: var(--fake-white);
    color: black;
    margin-top: 24px;
    height: 27.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid #D4D4D4;
}

.footer_dropdown {
    position: relative;
    display: inline-block;
}

.footer_dropdown_content {
    display: none;
    position: absolute;
    background-color: var(--fake-white);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    width: 144px;
    color: black;
}

.footer_dropdown_content a {
    padding: 12px 16px;
    display: block;
}

/* Change color of dropdown links on hover */
.footer_dropdown_content a:hover {
    background-color: #F5F5F5;
}

/* Show the dropdown menu on hover */
.footer_dropdown:hover .footer_dropdown_content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.footer_dropdown:hover .dropdown_btn {
    background-color: var(--brand-primary);
}

.footer_links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.footer_title{
    color: black;
}

.footer_1 p{
    padding-bottom: 8px;
}

.social_media{
    width: 112px;
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.social_media img{
    height: 20px;
}

.attribution {
    padding-top: 32px;
}

.footer_2 {
    padding: 2vh 4vw 2vh 4vw;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer_copyright{
    width:fit-content;
}

.footer_legal{
    display: flex;
    align-items: center;
    height: 100%;
    width: fit-content;
    justify-content: flex-end;
}

.footer_legal a{
    padding-left: 10px;
}

@media (max-width: 900px) {
    .footer_2{
        flex-direction: column;
    }

    .footer_legal{
        flex-direction: column;
    }
    
    .footer_legal a {
        padding-top: 5px;
    }
}

@media (max-width: 800px) {
    .footer_links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        grid-template-areas:
                "top_area top_area"
                ". .";
    }

    .footer_logo{
        grid-area: top_area;
    }

    .footer_2{
        flex-direction: column;
    }
}