/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Nav */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #fefae0;
    text-align: center;
}


header {
    position: sticky;
    top: 0;
    background-color: #cce3de;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: auto;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4a5759;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .logo img {
        height: 40px;
    }
}

.calendar {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden

}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #4a5759;
    color: white;
}

.calendar-header h2 {
    margin: 0;
    align-items: center;
}

button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

button:hover {
    opacity: 0.8;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
}

td {
    height: 50px;
    cursor: pointer;
}

td:hover {
    background-color: #f0f8ff;
}

.selected-date {
    background-color: #b0c4b1;
    color: white;
}

.event-list {
    width: 100%;
    max-width: 600px;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

#new-event {
    padding: 10px;
    width: 80%;
    margin: 10px 0;
}

#add-event {
    padding: 10px 20px;
    background-color: #4a5759;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 auto;
}

#add-event:hover {
    opacity: 0.9;
}

/* Footer */

footer{
    background-color:  #faedcd;
    margin-top: 50px;
}