 .post-gallery a { display: block; float: left; width: 12.5%; padding-right: 1px; padding-bottom: 1px; box-sizing: border-box; height: 85px; } .post-gallery a img { width: 100%; display:block; height: 100%; object-fit: cover; } @media screen and (max-width: 600px) { .post-gallery a { width: 24.5%; } } @media screen and (max-width: 400px) { .post-gallery a { width: 49.5%; } } .btn-abo { display: inline-block; height: 50px; padding: 0 20px; line-height: 50px; text-align: center; border-radius: 2px; color: #fff; border: 1px solid #bd0d48; margin: 0 10px; margin-top: 30px; font-size: 20px; background: #bd0d48; transition: all 0.3s ease-in-out; } .btn-abo:hover { color: #bd0d48; background: #fff; }