body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
#beasts {
position: relative;
width: 24rem;
height: 24rem;
}
#beasts img {
position: absolute;
width: 100%;
height: 100%;
object-fit: contain;
top: 0;
left: 0;
image-rendering: pixelated;
}