#input{ display: flex; margin: auto; /* min-height: 15rem; */ /* min-width: 25rem; */ } body{ background-color:#2d2e2e; } h1{ text-align: center; font-family: cursive; color: whitesmoke; margin: 15px; } .button{ display: flex; justify-content: center; align-items: center; padding: 30px; } #main{ display: flex; justify-items: center; flex-direction: column; } button{ font-size: 35px; margin: 3%; background-color:cornflowerblue; border-radius: 15px; color: white; padding: 5px; } #output{ background-color: cornflowerblue; max-width: 60%; height: 15rem; margin: auto; color: white; padding: 12px; border-radius: 15px; font-size: 3rem; box-shadow:grey; }