#prefooter {
    display: grid;
    grid-template-columns: 1fr;
    place-content: center;
    place-items: center;
}

#prefooter .bg-image.color-forms {
    background-color: var(--white);
}

#prefooter .prefooter-image.bg-image {
    height: 120px;
}

.contact-methods {
    width: 100%;
    background-color: var(--contact-methods);
    padding: 50px 15px;
}

.contact-methods h2 {
    margin: 0 0 10px;
    font-size: 25px;
}

.contact-methods .content {
    margin: 0 auto 45px;
}

.contact-methods .content p {
    font-size: 20px;
    font-weight: 300;
}

#prefooter .contact-methods-container {
    width: 100%;
    display: grid;
    place-content: start center;
    place-items: end center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
    max-width: 860px;
    margin: auto;
    place-self: center;
}

#prefooter .content-container {
    text-align: center;
}

#prefooter .contact-method {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    place-items: center;
    place-content: center;
}

footer #contact a, footer #contact a:hover, footer #contact a:active, footer #contact a:focus {
    color: var(--white);
    font-size: 16px;
    font-weight: 400;
}

footer #contact a:nth-of-type(2) {
    margin: 2em 0 0;
}

#prefooter .contact-method a {
    color: var(--white);
    background-color: var(--footer-color);
    border-radius: 3em;
    padding: 5px 25px;
    max-width: 300px;
    width: 210px;
    font-size: 15px;
    font-weight: 400;
}

footer {
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background-color: var(--footer-color);
    color: var(--white);
    padding: 50px 15px;
}

footer section {
    width: 100%;
    display: grid;
}

footer a {
    color: var(--white);
}

footer section#menus div:has(>ul) {
    max-width: 1280px;
    width: 100%;
    border-bottom: solid 1px var(--white);
    margin: auto;
}

footer section#menus ul {
    display: grid;
    place-content: center;
    place-items: center;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0 20px;
}

footer section#menus section.legal ul {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

footer section#menus section.legal ul a {
    font-size: 13px;
    width: 100%;
    white-space: nowrap;
}

footer section#menus section.footer ul {
    grid-template-columns: repeat(auto-fit, 150px);
}

footer section#menus section.footer ul a {
    font-size: 16px;
    text-transform: uppercase;
}

footer #kit-digital {
    margin: 2em 0 0;
    display: grid;
    place-content: center;
    place-items: center;
    gap: 1em;
}

footer #kit-digital .content p {
    font-size: 16px;
    text-transform: uppercase;
    width: 100%;
    font-family: 'Lato', sans-serif;
}

footer #kit-digital .images {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 600px;
}

@media(max-width: 760px) {
    #prefooter .contact-methods-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media(max-width: 700px) {
    footer section#menus ul {
        grid-template-columns: 1fr !important;
        gap: .5em;
    }

    footer section#menus section.legal ul a {
        white-space: normal;
    }
}

@media(max-width: 600px) {
    footer #kit-digital .images {
        flex-flow: column;
        gap: 2em;
        align-items: center;
        justify-content: center;
    }

    footer #kit-digital .images img {
        max-width: fit-content;
    }
}