footer {
    background-color: var(--primary-color);
    width: 100%;
    padding: 30px 0;
    flex: 0 0 auto;
}

.info-footer {
    max-width: 1350px;
    margin: 0 clamp(0.625rem, 23.371vw - 10.608rem, 17.438rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 20px;
}

.info-footer .links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-footer .links a {
    color: white;
}

.info-footer .links a:hover {
    opacity: 0.7;
}

.info-footer .links a i {
    margin-right: 5px;
}

.copyright {
    text-align: center;
    font-size: 14px;
    max-width: 610px;
    margin: 20px auto 0;
    color: white;
}

.members a:hover {
    opacity: 0.5;
}

.members {
    display: flex;
    width: 370px;
    justify-content: space-between;
    align-items: center;
}

.members img {
    width: 110px;
    object-fit: contain;
}

footer a:hover a {
    opacity: 0.7;
}

@media (width <=768px) {
    .info-footer {
        text-align: center;
        justify-content: center;
    }

    .info-footer .links {
        width: 100%;
    }

    .members {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
}

/* Телефон: подвала нет — адрес, телефон и почта есть в меню шапки (граница та же, что у шапки, header.css) */
@media (width < 700px) {
    footer {
        display: none;
    }
}
