Do you suggest I move the buttons margin back into the html then?
function hideAllButtons(button) {
button.querySelectorAll(".play, .pause, .initial, .speaker").forEach(hide);
}
function getPlay(button) {
return button.querySelector(".play");
}
function getPause(button) {
return button.querySelector(".pause");
}
<div class="playButtonsc wrapc">
<div class="playButtonc svoefm" data-audio="http://163.172.187.253:8081/radio/svoefm/icecast.audio">
<svg class="play" style="margin: 15px 36px;" focusable="false" width="12" height="14" viewbox="0 0 85 100">
<path d="M81 44.6c5 3 5 7.8 0 10.8L9 98.7c-5 3-9 .7-9-5V6.3c0-5.7 4-8 9-5l72 43.3z">
</path>
</svg>
<svg class="pause hide" style="margin: 15px 37px;" focusable="false" width="10" height="14" viewbox="0 0 60 100">
<path d="M0 8c0-5 3-8 8-8s9 3 9 8v84c0 5-4 8-9 8s-8-3-8-8V8zm43 0c0-5 3-8 8-8s8 3 8 8v84c0 5-3 8-8 8s-8-3-8-8V8z">
</path>
</svg>
</div>
<div class="playButtonc soundpark" data-audio="http://163.172.187.253:8081/radio/soundeep/icecast.audio">
<svg class="play" style="margin: 15px 41px;" focusable="false" width="12" height="14" viewbox="0 0 85 100">
<path d="M81 44.6c5 3 5 7.8 0 10.8L9 98.7c-5 3-9 .7-9-5V6.3c0-5.7 4-8 9-5l72 43.3z">
</path>
</svg>
<svg class="pause hide" style="margin: 15px 42px;" focusable="false" width="10" height="14" viewbox="0 0 60 100">
<path d="M0 8c0-5 3-8 8-8s9 3 9 8v84c0 5-4 8-9 8s-8-3-8-8V8zm43 0c0-5 3-8 8-8s8 3 8 8v84c0 5-3 8-8 8s-8-3-8-8V8z">
</path>
</svg>
</div>
<div class="playButtonc cavoparadisoclub" data-audio="http://s5.onweb.gr:8488/;">
<svg class="play" style="margin: 15px 36px;" focusable="false" width="12" height="14" viewbox="0 0 85 100">
<path d="M81 44.6c5 3 5 7.8 0 10.8L9 98.7c-5 3-9 .7-9-5V6.3c0-5.7 4-8 9-5l72 43.3z">
</path>
</svg>
<svg class="pause hide" style="margin: 15px 37px;" focusable="false" width="10" height="14" viewbox="0 0 60 100">
<path d="M0 8c0-5 3-8 8-8s9 3 9 8v84c0 5-4 8-9 8s-8-3-8-8V8zm43 0c0-5 3-8 8-8s8 3 8 8v84c0 5-3 8-8 8s-8-3-8-8V8z">
</path>
</svg>
</div>
<div class="lines"></div>
</div>