body { background-color: #eeeeee; /* Set the background color of the entire page */ margin: 0; padding: 0; } .center-container { display: flex; flex-direction: column; /* 세로 방향으로 정렬 */ align-items: center; height: 100vh; } form { width: 30%; padding: 20px; /* background-color: #00adb5;s */ text-align: center; } h1 { margin-top: 0; margin-bottom: 10px; color: #333333; font-size: 24px; font-family: "Lato"; } h2 { display: flex; align-items: center; justify-content: space-between; white-space: nowrap; margin: 0; } .timeStartEnd { display: flex; align-items: center; justify-content: space-between; white-space: nowrap; margin: 0; } input { width: 100%; padding: 10px; margin: 8px 0; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; } button { width: 60%; padding: 10px; margin-top: 16px; background-color: #3498db; color: white; border: none; border-radius: 4px; cursor: pointer; } button:hover { background-color: #2980b9; } .header { display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; /* h4 태그를 가운데 정렬합니다. */ gap: 10px; } .header button { width: 70px; padding: 8px; margin: auto; } .header button:first-child { margin-right: 20px; } .header button:last-child { margin-left: 20px; } .purpose-selector { margin: 20px; } .calendarTable { display: flex; justify-content: center; width: 100%; border-collapse: collapse; text-align: center; margin-bottom: 4%; } .calendarTable .cellb { color: gray; /* 회색으로 글자색 지정 */ } /* cella 클래스에 대한 스타일 */ .calendarTable .cella { color: black; /* 검정색으로 글자색 지정 */ } .calendarTable .dragging { background-color: red; } .calendarTable .noDate { background-color: gray; } .title-box { text-align: center; border-width: 1px; border-color: black; border-style: solid; margin: 10px; padding: 2px 10px; } /* Media queries for responsiveness */ @media (max-width: 768px) { form { width: 80%; } } @media (max-width: 576px) { form { width: 90%; } }