footer {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    position: relative;
}

footer > img {
    padding: 2em 0 20px;
}

.bg-image.footer-deco-container {
    display: grid;
    place-content: center;
    place-items: center;
}

.bg-image.footer-deco {
    position: absolute;
    height: 64px;
    max-width: 1452px;
    width: 100%;
    transform: translate(0px, -14px);
}

.prefooter {
    height: 485px;
    margin: 2em auto -1px;
}

.prefooter.bg-image.full {
    background-size: contain;
}

footer a {
    color: unset;
    text-decoration: none;
}

.footer-container {
    padding: 45px 15px;
    display: flex;
    flex-flow: column;
    gap: 2em;
    justify-content: center;
    align-items: center;
    background-color: var(--crokis-grey);
}

.footer-container .contacto {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    width: 100%;
    max-width: 980px;
    text-align: left;
}

.footer-container .contacto a {
    text-align: left;
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    line-height: 1;
}

.footer-container .contacto a::before {
    content: ' ';
    position: absolute;
    height: 38px;
    width: 12px;
    left: -25px;
    top: 0;
}

.footer-container .contacto div:first-of-type a::before {
    background-color: var(--crokis-green);
}

.footer-container .contacto div:nth-of-type(2) a::before {
    background-color: var(--crokis-blue);
}

.footer-container .contacto div:nth-of-type(3) a::before {
    background-color: var(--crokis-red);
}

.footer-container .contacto div:last-of-type a::before {
    background-color: var(--crokis-yellow);
}

.bg-image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 1920px;
    margin: auto;
    width: 100%;
}

.bg-image.full {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    max-width: unset;
    margin: auto;
    width: 100%;
}

.menu-legal_menu-container ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, 135px);
    place-content: center;
    place-items: center;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.menu-legal_menu-container ul a {
    text-decoration: none;
    color: unset;
    font-size: 13px;
    font-family: 'Lato', sans-serif;
}

.kit .images, .kit {
    display: grid;
    place-content: center;
    place-items: center;
    gap: 1em;
}

.kit {
    text-align: center;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
}

.kit .images {
    grid-template-columns: 1fr 1fr;
}

footer .identity a {
    color: var(--enlace-footer);
    text-decoration: none;
    font-size: 14px;
}

.menus {
    display: flex;
    flex-flow: column;
    gap: 1em;
    width: 100%;
    margin: auto;
    max-width: 1280px;
}

div.menus > :first-of-type {
    padding: 0 0 1em;
    border-bottom: solid 1px var(--footer-separator);
}

.direccion {
    text-align: center;
}

.direccion a {
    text-decoration: none;
    color: unset;
    font-size: 14px;
    width: auto;
    display: block;
    max-width: fit-content;
    margin: auto;
}

@media(max-width: 1710px) {
    .prefooter.bg-image.full {
        background-size: cover;
    }
}

@media (max-width: 1060px) {
    .footer-container .contacto {
        display: grid;
        grid-template-columns: 400px;
        place-content: start center;
        place-items: center start;
        gap: 2em 3em;
    }

    .footer-container {
        gap: 4em;
    }
}

@media(max-width: 710px) {
    .menu-legal_menu-container ul {
        grid-template-columns: 1fr !important;
    }
}

@media(max-width: 570px) {
    .kit .images {
        grid-template-columns: 1fr;
        gap: 3em;
    }
}

@media(max-width: 500px) {
    footer nav ul {
        grid-template-columns: 1fr !important;
    }
}

@media(max-width: 480px) {
    .footer-container .contacto div {
        transform: translate(20px, 0);
    }

    .footer-container .contacto {
        grid-template-columns: 1fr;
    }
}