.icon-img { display: flex; justify-content: center; align-items: center; } .icon-decoration { position: absolute; pointer-events: none; }