<div class="oval"></div>
<div class="container">
<div class="box"></div>
<div class="box"></div>
</div>
<style>
body {
display: grid;
place-items: center;
margin: 0;
background: #F28BBB;
}
.oval {
width: 19rem;
height: 23.5rem;
border-radius: 10rem;
outline: 1.5rem solid #B03F7D;
transform: translate(0, -2.5rem);
}
.container {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
gap: 5rem;
overflow: visible;
height: 100%;
top: 0;
}
.box {
width: 8.45rem;
height: 5rem;
background: #680039;
z-index: 3;
}
</style>