footer{ position: relative; background-color: black; color: #ffffff; overflow-x: scroll; margin: 0; &:before{ content: ''; position: absolute; top: -3px; width: 100%; height: 3px; background-image: url('/graphics/rawline.png'); } .info-block{ display: flex; margin: 0; & > div{ margin: 0 30px 0 10px; } } a{ color: #738cdb; } ul{ list-style: none; } } .footer-content{ min-width: 500px; } @media screen and (max-device-width: 500px){ footer{ font-size: 8pt; .info-block{ display: block; margin: 0; & > div{ margin: 0 30px 0 10px; } p{ margin: 0; } } } }