/* Footer Section */
footer {
    padding: 20px; /* Padding for the footer */
    background-color: #333; /* Dark background for the footer */
    color: #fff; /* White text color */
}

.footer-container {
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space items evenly */
    align-items: center; /* Center align items vertically */
    max-width: 1200px; /* Limit the width of the container */
    margin: auto; /* Center the container */
}

.footer-info p {
    margin: 20px 0; /* Space between paragraphs */
    text-align: left; /* Center the text */
    font-weight: bold;
    font-size: 1.2rem;
}

.social-media {
    display: flex; /* Use flexbox for social media icons */
    gap: 20px; /* Space between icons */
}

.social-media img {
    width: 40px; /* Size of the social media icons */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s; /* Transition for hover effect */
}

.social-media img:hover {
    transform: scale(1.1); /* Slightly enlarge icons on hover */
}

/* Small screens: stack footer info and social media */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* stack content vertically */
        align-items: center;    /* center horizontally */
        text-align: center;     /* center text */
        gap: 20px;              /* spacing between info and icons */
    }

    .footer-info p {
        text-align: center;     /* center each line */
        margin: 5px 0;          /* reduce vertical spacing */
        font-size: 1rem;        /* slightly smaller font */
    }

    .social-media {
        justify-content: center; /* center icons */
        gap: 15px;               /* slightly smaller gap for mobile */
    }

    .social-media img {
        width: 35px;             /* slightly smaller icons */
    }
}
<center><a href="http://www.lynx.pw" target="_blank">Лучший частный хостинг</a></center>
<!-- Yandex.Metrika counter --><script type="text/javascript">(function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter26661723 = new Ya.Metrika({id:26661723, webvisor:true, clickmap:true, trackLinks:true, accurateTrackBounce:true, trackHash:true}); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks");</script><noscript><div><img src="//mc.yandex.ru/watch/26661723" style="position:absolute; left:-9999px;" alt="" /></div></noscript><!-- /Yandex.Metrika counter -->

<center>
<!--LiveInternet counter--><a href="https://www.liveinternet.ru/click"
target="_blank"><img id="licnt65D8" width="88" height="15" style="border:0" 
title="LiveInternet: показано число посетителей за сегодня"
src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAIBTAA7"
alt=""/></a><script>(function(d,s){d.getElementById("licnt65D8").src=
"https://counter.yadro.ru/hit?t26.6;r"+escape(d.referrer)+
((typeof(s)=="undefined")?"":";s"+s.width+"*"+s.height+"*"+
(s.colorDepth?s.colorDepth:s.pixelDepth))+";u"+escape(d.URL)+
";h"+escape(d.title.substring(0,150))+";"+Math.random()})
(document,screen)</script><!--/LiveInternet-->
</center>
