
.calendar-name {
    font-size: 2.5rem; 
    font-weight: bold;
    color: #93A9C2; 
    letter-spacing: 1.5px; 
    margin-bottom: 20px; 
    text-align: center; 
}


.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}



.nav-icon {
    width: 24px; 
    height: 24px; 
    cursor: pointer; 
    margin: 0 5px; 
    transition: transform 0.2s; 
}

.nav-icon:hover {
    transform: scale(1.2); 
}

.calendar-header #currentMonth {
    font-size: 18px;
    font-weight: bold;
    margin: 0 20px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}

.calendar-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.days-of-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7일 기준 */
    gap: 5px; 
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;
    width: 100%;
}

.day-name {
    padding: 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    width: 100%; 
}

.day {
    height: 60px;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.2s;
    background-color: #ffffff;
    border: 1px solid #ccc;
}

.day:hover {
    background-color: #e3e3e3;
    transform: scale(1.05);
}

.day.today {
    font-weight: bold;
    border: 1px solid #93A9C2;
}


@media (max-width: 600px) {
    .calendar-container {
        width: 95%;
    }

    #calendar {
        gap: 3px;
    }

    .day {
        padding: 8px;
        height: 50px;
    }

    .calendar-header button {
        font-size: 14px;
        padding: 4px 8px;
    }

    .calendar-header #currentMonth {
        font-size: 16px;
    }
}
