.log-entry-form { text-align: center; margin: 20px auto; /* Center the form */ max-width: 400px; /* Limit form width */ } .log-entry-form input, .log-entry-form button { display: block; /* Stack fields on top of each other */ padding: 10px; margin: 5px auto; /* Center fields */ border: 1px solid #ccc; border-radius: 5px; font-family: baskerville, serif; font-size: 16px; width: 80%; } .log-entry-form button { background-color: #52BE80; color: white; border: none; cursor: pointer; }