What you can do is to change display: block
to display: inline-block
instead
then add text-align: center
to their parents instead of margin: 0 auto
as follow:
.button {
display: inline-block;
text-decoration: none;
color: #103d82;
background: #fff;
border: 1px solid #d2cfcd;
font-size: 1.4rem;
line-height: 1;
padding: 10px;
text-align: center;
}
div {
text-align: center;
}