body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; color: #333; background-color: #f4f4f4; } header { background-color: #4CAF50; padding: 20px; text-align: center; color: #fff; } .navbar { display: flex; background-color: #333; justify-content: center; padding: 10px; } .navbar a { color: #fff; padding: 14px 20px; text-decoration: none; text-align: center; } .navbar a:hover { background-color: #ddd; color: #000; } .navbar a.active { background-color: #4CAF50; color: #fff; } main { padding: 20px; } footer { background-color: #333; color: #fff; text-align: center; padding: 10px; position: fixed; width: 100%; bottom: 0; }