body, #root-div { width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; } body { padding: 3rem; background: #f8f4f1; font-family: Helvetica Neue, Arial, sans-serif; } form { width: 50%; display: flex; flex-direction: column; align-items: center; } label { font-weight: bold; } input { font-size: 20px; padding: 5px; } label, input { width: 100%; } #submit-button, #show-hide { background-color: #fc5f48; color: white; border: 1px solid white; transition: 0.3s ease; width: 50%; cursor: pointer; padding: 10px 20px; border-radius: 5px; } #submit-button:hover, #show-hide:hover { color: #fc5f48; background-color: white; border: 1px solid #fc5f48; } #input-container { display: flex; width: 100%; justify-content: center; align-items: center; gap: 10px; } #show-hide { width: fit-content; padding: 5px; height: 100%; }