.footer {
    background-color: var(--color-1);
    color: var(--color-3);
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer .row:nth-child(1){
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-gap: 40px;
}

.footer h3{
    display: block;
    font-size: var(--font-size-4);
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
}

.footer ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-gap: 10px;
    font-size: var(--font-size-6);
}

.footer ul ul{display: inline-grid;grid-auto-flow: column;}

.footer ul ul ul{
    grid-auto-flow: row;
}

.footer .row:nth-child(2) ul{
    font-size: var(--font-size-1);
    grid-auto-flow: column;
    justify-content: right;
    grid-gap: 20px;
}

.footer img {
    max-width: 100%;
    height: auto;
}

.copyright {
    font-size: var(--font-size-7);
    text-align: right;
    display: block;
}

@media screen and (max-width: 1200px) {
    .footer .row:nth-child(1){
        grid-template-columns: repeat(2, auto);
    }
}

@media screen and (max-width: 720px) {
    .footer .row:nth-child(1){
        grid-template-columns: repeat(1, auto);
    }
}
