footer {
    background-color: var(--green);
    color: var(--white);
    padding: 40px 0 25px;
}


footer a:hover,
footer a:focus,
footer a:active,
footer a {
    color: var(--white);
}

section#prefooter {
    height: 214px;
    background-color: var(--grey);
    margin: auto;
    max-width: unset !important;
}

div#contact {
    display: grid;
    grid-template-columns: repeat(3, 220px);
    max-width: 945px;
    width: 100%;
    margin: auto;
    place-content: start center;
    place-items: start center;
    padding: 2em 0;
    border-top: solid 1px var(--white);
    border-bottom: solid 1px var(--white);
}

div#contact > div > * {
    display: grid;
    grid-template-rows: 1fr 30px;
    place-content: center;
    place-items: center;
    gap: .75em;
}

footer .content {
    width: 100%;
}

section.footer-container {
    max-width: 945px;
    width: 100%;
    margin: auto;
    display: grid;
    gap: 2em;
    padding: 0 15px;
}

section.legal_menu ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    place-content: center;
    max-width: 625px;
    width: 100%;
    font-size: 14px;
    margin: auto;
}

section.legal_menu ul li:first-of-type {
    pointer-events: none;
    cursor: grab;
}

#contact p {
    margin: 0;
    font-size: 14px;
}

footer section.socials {
    gap: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media(max-width: 780px) {
    div#contact {
        grid-template-columns: 220px;
    }

    section.legal_menu ul {
        grid-template-columns: 1fr;
    }

    section.legal_menu ul, div#contact {
        gap: 2em;
    }
}