#col-container { max-width: 600px; margin-left: auto; margin-right: auto; } #row-flex { display: flex; align-items: center; justify-content: center; } .filenameshow{ height:85px; } .spaceH{ padding-top:45px; } .logoimage{ } .center { display: block; margin-left: auto; margin-right: auto; width: 50%; }