.calendarForm { display: flex; flex-direction: column; padding: 20px; text-align: center; align-items: stretch; width: auto; margin: 0 auto; /* 가운데 정렬을 위한 추가 */ } .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%; } @media (max-width: 768px) { form { width: 80%; } } @media (max-width: 576px) { form { width: 90%; } }