.social-networks {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 42px;
}

.social-network__link:hover .social-network__img {
    opacity: 0.3;
    transition: var(--transition-in);
}

.social-network__link:not(:hover) .social-network__img {
    opacity: 1;
    transition: var(--transition-out);
}

/* FOOTER */
footer {
    display: flex;
    width: 100%;
    border-top: 1px solid #C8C8C8;
    justify-content: center;
}

.footer__content {
    width: var(--section-width);
    display: flex;
    flex-direction: row;
    align-self: center;
    align-items: center;
    justify-content: space-between;
    padding: 42px 0 42px 0;
}

.footer-links {
    display: flex;
    flex-direction: row;
}

.footer-links__contacts, .footer-links__social, .footer-links__agreements {
    display: flex;
    flex-direction: column;
}

.footer-links__contacts {
    margin: 0 71px 0 0;
}

.footer-links__social {
    margin: 0 79px 0 0;
}

.footer-links__contacts-title, .footer-links__social-title {
    font-size: 27px;
    margin: 0 0 17px 0;
}

.footer-link {
    margin: 0 0 14px 0;
}

.footer-link:hover {
    color: #ABABAB;
    transition: var(--transition-in);
}

.footer-link:not(:hover) {
    color: var(--gray-color);
    transition: var(--transition-out);
}

.footer-links__agreements .footer-link:first-child {
    margin: 50px 0 14px 0;
}

@media all and (max-width: 1599px){
    .social-networks {
        gap: clamp(2.375rem, 0.125rem + 2.5vw, 2.625rem);
    }

    /* FOOTER */
    footer {
        border-top: 1px solid #C8C8C8;
    }

    .footer__content {
        padding: clamp(2.375rem, 0.125rem + 2.5vw, 2.625rem) 0 clamp(2.375rem, 0.125rem + 2.5vw, 2.625rem) 0;
    }

    .footer-links__contacts {
        margin: 0 clamp(4rem, 0.063rem + 4.375vw, 4.438rem) 0 0;
    }

    .footer-links__social {
        margin: 0 clamp(4.438rem, -0.063rem + 5vw, 4.938rem) 0 0;
    }

    .footer-links__contacts-title, .footer-links__social-title {
        font-size: clamp(1.5rem, -0.188rem + 1.875vw, 1.688rem);
        margin: 0 0 clamp(0.938rem, -0.188rem + 1.25vw, 1.063rem) 0;
    }

    .footer-link {
        margin: 0 0 clamp(0.813rem, 0.25rem + 0.625vw, 0.875rem) 0;
    }

    .footer-links__agreements .footer-link:first-child {
        margin: clamp(2.813rem, 0rem + 3.125vw, 3.125rem) 0 clamp(0.813rem, 0.25rem + 0.625vw, 0.875rem) 0;
    }
}

@media all and (max-width: 1439px) {
    .footer__content {
        flex-direction: column;
        padding: 50px 0 50px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
        margin: 50px 0 50px 0;
    }

    .footer-links__contacts, .footer-links__social {
        margin: 0;
    }

    .footer-links__contacts-link, .footer-links__contacts-title, .footer-links__social-link, .footer-links__social-title, .footer-links__agreements-link {
        text-align: center;
    }

    .footer-links__agreements .footer-link:first-child {
        margin: 0 0 13px 0;
    }
}

@media all and (max-width: 768px) {
    .footer__content {
        padding: clamp(1.313rem, 0.018rem + 6.473vw, 3.125rem) 0 clamp(1.313rem, 0.018rem + 6.473vw, 3.125rem) 0;
    }

    .footer-links {
        flex-direction: column;
        gap: clamp(0.75rem, -0.054rem + 4.018vw, 1.875rem);
        margin: clamp(1.313rem, 0.018rem + 6.473vw, 3.125rem) 0 clamp(1.313rem, 0.018rem + 6.473vw, 3.125rem) 0;
    }

    .footer-links__contacts-title, .footer-links__social-title {
        font-size: clamp(0.625rem, 0rem + 3.125vw, 1.5rem);
        margin: 0 0 clamp(0.375rem, -0.027rem + 2.009vw, 0.938rem) 0;
    }

    .footer-links__agreements .footer-link:first-child {
        margin: 0 0 clamp(0.313rem, -0.045rem + 1.786vw, 0.813rem) 0;
    }

    .social-networks {
        gap: clamp(1rem, 0.018rem + 4.911vw, 2.375rem);
    }

    .social-network__img {
        width: clamp(0.875rem, 0.027rem + 4.241vw, 2.063rem);
    }
}