body {
    font-family: Arial, sans-serif;
    padding: 20px;
    margin: 0;
    background-color: var(--background-color) !important;
    color: #f1f1f1 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.centered{
    height: 100vh;
}

h1 {
    color: var(--text-color)!important;
    margin-bottom: 10px;
}

.red {
    color: red;
}

.green {
    color: green;
}

.controls {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.controls input, .controls button {
    padding: 8px 12px;
    font-size: 16px;
}

.month {
    border: 1px solid var(--text-color);
    border-radius: 4px;
    padding: 10px;
    background-color: var(--background-color);
}

.month h2 {
    text-align: center;
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--text-color);
}

.month > div{
    color: var(--text-color);
}

#yearContainer {
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

.calendar .header {
    font-weight: bold;
    cursor: default;
}

.holiday {
    background-color: #007BFF !important;
    font-weight: bold;
    color: #fff;
}

.religious {
    background-color: #FFC107 !important;
    font-weight: bold;
    color: #ffffff;
}

.row {
    margin: 0 !important;
}
.undisplayed {
    display: none!important;
}

input {
    text-align: center;
    border-radius: 10px;
    border: 1px solid var(--background-color);
    color: #000!important;
}

#holiday-info {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    z-index: 10;
    width: fit-content;
}

#saint-info {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    z-index: 10;
    width: fit-content;
}

#religious-holiday-info {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    z-index: 10;
    width: fit-content;
}

@media screen and (max-width: 962px) {
    .calendar {
        gap: 0;
    }
    .month {
        gap: 0;
    }
    .controls button {
        margin-top: 10px;
    }
}

.logo-container {
    display: flex; 
    justify-content: center;
    margin-bottom: 10px;
}

.logo {
    width: 150px;
    height: auto;
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.footer {
    display: none;
    height: 50px;
    margin-top: 20px;
    text-align: center;
    color: var(--text-color);
    padding: 10px;
}

body.dark-mode #theme-toggle .fa-moon, body.light-mode #theme-toggle .fa-sun {
    display: none;
}

body.dark-mode #theme-toggle .fa-sun, body.light-mode #theme-toggle .fa-moon {
    display: block;
}

.fa-moon{
    color: #000;
}

.religious-holiday {
    background-color: #007BFF !important;
    font-weight: bold;
    color: #ffffff;
}

.logofooter {
    width: 150px;
    height: auto;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f44336;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 90%;
    text-align: center;
}
.notification.show {
    opacity: 1;
}