Я пытаюсь отцентрировать изображения - одно на другое.
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
div.out {
display: flex;
justify-content: center;
}
div.in {
display: flex;
flex-direction: column;
justify-content: center;
}
div.div1 {
background-color: violet;
width: 100%;
height: 100%;
}
.top {
width: 100px;
height: 100px;
position: absolute;
z-index: 999;
}
.bottom {
width: 200px;
height: 200px;
position: absolute;
}
<div class="out div1">
<div class="in">
<img class='top' src="./one.jpg" />
<img class='bottom' src="./background.jpg" />
</div>
</div>
кодовый код здесь: https://codepen.io/anon/pen/MzLRaR
Я не могу справиться с выравниванием по центру обоих изображений, таких как: 
Любые советы или как справиться с этим наилучшим образом?