#col-container { max-width: 600px; margin-left: auto; margin-right: auto; } #row-flex { display: flex; align-items: center; justify-content: center; } .leftimage .rightimage{ float:left; filter: drop-shadow(20px 20px 10px white); } .leftimage{ padding-top:40px; margin-left:310px; } .rightimage{ padding-top:40px; margin-right:320px; } .filenameshow{ height:85px; }