.calendarForm { display: flex; flex-direction: column; padding: 20px; text-align: center; } .calendarForm .calendar { height: auto; } .cc1 { display: flex; gap: 30px; margin-bottom: 10px; justify-content: center; } .cc { display: flex; gap: 30px; margin-bottom: 10px; justify-content: center; } .calendarTable { display: flex; justify-content: center; width: 100%; border-collapse: collapse; text-align: center; margin-bottom: 4%; } .cld .calendar .header h2 { display: flex; } .cld .calendar .header h2 button { width: 30%; }