<div class="carousel">
<button id="retroceder">Retroceder</button>
<div id="imagen"></div>
<button id="avanzar">Avanzar</button>
</div>
<div class="controles">
<button id="play">Play</button>
<button id="stop" disabled>Stop</button>
</div>
.carousel {
max-width: 800px;
margin: 0 auto;
display: flex;
}
#imagen {
width: 100%;
height: 400px;
background-size: cover;
}