footer {
    padding: 7vw;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    color: #fff;
    line-height: 1em;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

footer>div:first-child {
    margin-bottom: 2rem;
    width: 100%;
}

footer>div:first-child img {
    width: 60vw;
    margin: 0 auto 20vh auto;
}

footer>div:last-child {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 1vw 8vw;
}

footer>div:last-child img {
    width: 15vw;
}

.footer-links>a {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: #fff;
    text-decoration: none;
}

.footer-links>a svg {
    width: 1rem;
    height: 1rem;
}

@media screen and (min-width: 64rem) {
    footer {
        padding: 5vw;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    footer>div:first-child {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 0;
    }

    footer>div:first-child img {
        width: 20vw;
        margin: 0 0 5vh 0;
    }

    footer>div:last-child {
        gap: 1vw 5vw;
    }

    footer>div:last-child img {
        width: 8vw;
        max-width: 150px;
    }

    .footer-links>a {
        margin-top: 1rem;
        gap: 1em;
    }

    .footer-links>a svg {
        width: 2vh;
        height: 2vh;
    }
}