footer {
    background-color: var(--footer);
    color: var(--white);
    min-height: 540px;
    position: relative;
}

section.footer-container {
    padding: 2rem 15px 4em;
    display: grid;
    gap: 4rem;
}

footer a:active,
footer a:focus,
footer a:hover,
footer a {
    color: var(--white);
    text-decoration: none;
    font-weight: 300;
}

footer #menus {
    display: grid;
    place-content: center;
    place-items: start center;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1280px;

    width: 100%;
    margin: auto;
}

footer #menus ul, footer #menus > * {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 10px;
}

footer #menus ul {
    gap: 5px;
}

footer #menus ul, footer #menus li {
    text-align: center;
    list-style-type: none;
}

footer .menu-title {
    color: var(--white);
    text-transform: uppercase;
}

section.legal_menu {
    display: flex;
    justify-content: center;
}

#identity-footer {
    text-align: center;
}

.logo-metrotenerife {
    max-width: 115px;
    height: 100%;
    object-fit: cover;
}

div.legal {
    display: flex;
    justify-content: center;
    flex-flow: row;
    gap: 10px;
}

div.legal p {
    margin: 0;
}

div.legal, div#cabildo {
    position: absolute;
    bottom: 32px;
    width: 100%;
}

div#cabildo .cabildo-container {
    display: grid;
    width: 100%;
    max-width: 1280px;
    margin: auto;
    place-content: end;
    padding: 0px 30px;
}

#cabildo img {
    max-width: 60px;
    width: 100%;
    height: 75px;
    object-fit: contain;
}

@media(max-width: 720px) {
    footer #menus {
        grid-template-columns: 100%;
        gap: 3rem;
    }

    footer #menus ul, footer #menus > * {
        gap: 7px;
    }

    div#cabildo .cabildo-container {
        place-content: center;
    }

    div.legal, div#cabildo {
        position: relative;
        bottom: unset;
    }

    div.legal {
        padding: 0 0 20px;
    }

    div#cabildo {
        padding: 0;
    }
}


@media(max-width: 470px) {

    div.legal > p {
        display: none;
    }

    div.legal {
        flex-flow: column;
        align-items: center;
    }

}