footer h1 {
    color: var(--shades);
}

footer {
    background-color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-column: 1/-1;
    border-top: 3px solid var(--accent);
}

.footer__items {
    display: flex;
    list-style: none;
}

.footer__items li {
    line-height: 1.5;
}

.footer_info {
    padding-right: 40px;
}

.footer__items a {
    color: lightgray;
    display: block;
    font-size: 0.89rem;
    padding: 10px 15px;
    text-align: center;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.footer__items a:hover {
    color: white;
}

.footer_nav {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

@media (max-width: 1200px) {
    footer {
        justify-content: center;
        flex-direction: column;
    }

    .footer_info .footer__items {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .footer_nav {
        display: none;
    }
}
