.container{ justify-content: center; align-items: center; margin-top:250px; padding-left: 15px; padding-right: 15px; } #logo { height: inherit; width: auto; } #logoContainer { display: flex; height: inherit; width: 100%; justify-content: flex-end; } #error { width: 100%; text-align: left; background-color: #ff3838; }