
/* General Styles */
body {
    font-family: Arial, sans-serif;
   /* background: #0A2A5E; /* Dark blue background */
   background: #c6c7c4;
    color: #333333;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Calendar Wrapper */
.calendar-container {
    min-height: 600px;
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    width: 90%; /* Make the width responsive */
    max-width: 1200px; /* Max width for larger screens */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Sidebar (Weather & Tasks) */
.sidebar {
    background: #353b3c;
    color: white;
    padding: 20px;
    width: 35%;
    min-width: 250px; /* Ensure sidebar doesn't get too narrow */
}

.weather {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.tasks {
    margin-top: 20px;
}

.task {
    background: rgba(255, 255, 255, 0.2);
    color:#f5f5f5;;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Calendar Section */
.calendar {
    width: 65%;
    padding: 20px;
    text-align: center;
    overflow: hidden; /* Prevent content overflow */
}

h2 {
    font-size: 24px;
    font-weight: bold;
    color: #353b3c;
    margin-bottom: 10px;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    margin: 10px;
}
.navigation-YM {
    margin: 10px;
    font-size: 16px;
    font-weight: bold;
}

.nav-btn {
    background: #E74C3C;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #C0392B;
}

/* Year Selector */
.year-select {
    padding: 5px;
    border-radius: 5px;
    border: 3px solid #ccccccdb;
    margin-bottom: 10px;
}

/* Calendar Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    width: 14.2%;
    height: 50px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
}

th {
    background: #f5f5f5;
    font-weight: bold;
}

td {
    cursor: pointer;
    transition: 0.3s;
}

/* Active Date */
td.active {
    background: #E74C3C;
    color: white;
    font-weight: bold;
    border-radius: 50%;
}

/* General Button Styles */
button {
    background: #846a6a;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin: 10px;
}
select {
    padding: 8px;
    font-size: 14px;
    border-radius: 5px;
    border: 3px solid #846a6a;
    background: #edefeb;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
}

select:hover {
    border-color: #E74C3C;
}

.agendaside{
    font-size: 16px;
    font: weight 50px;
    color: #333;
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    width: 25%;
}

input{
    padding: 7px 1px;
    border: 3px solid #846a6a;
    border-radius: 5px;
}

.hTabale{
    color: black;
    background: #5A7FF0;
    background: #c6c7c4;
}
.event {
    font-size: 12px;
    color: rgb(79, 7, 26);
    display: block;
}
.commemorative-day {
    background: #cee5f2;
    font-weight: bold;
}
.taskDay{
    font-size: 12px;
    color: rgb(79, 7, 26);
    display: block;
}

.task-day{
    background-color: rgb(0, 255, 136);
    background: #cee397;
    font-weight: bold; 
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .calendar-container {
        flex-direction: column;
        width: 100%;
    }

    .sidebar {
        width: 100%;
        padding: 15px;
    }

    .calendar {
        width: 100%;
        padding: 15px;
    }

    table {
        font-size: 12px;
    }
}

@media (max-width: 500px) {
    .sidebar {
        min-width: 100%;
        margin-bottom: 20px;
    }

    .calendar {
        padding: 10px;
    }

    h2 {
        font-size: 20px;
    }
}
