body {
    font-family: 'Poppins', sans-serif, Arial, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #f0f0f0;
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 20px; 
}

h1 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 10px;
}

h1, h2 {
    letter-spacing: 0.5px;
}

p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
}

a {
    color: #00aaff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.accordion {
    background-color: #1e1e1e;
    color: #ffffff;
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 18px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.accordion:hover {
    background-color: #333333;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.accordion.active {
    background-color: #555;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.panel {
    padding: 0 18px;
    background-color: #2c2c2c;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.panel.show {
    max-height: 1000px;
    padding: 20px;
}

.panel p, .panel ul {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
}

.panel ul {
    list-style-type: disc;
    padding-left: 20px;
}

.panel a {
    color: #00aaff;
    text-decoration: none;
}

.panel a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .entry {
        padding-left: 20px;
        padding-right: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
        max-width: 100%;
    }
    
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    p, ul li {
        font-size: 16px;
    }
}


.search-container {
    position: relative;
    max-width: 400px;
    margin: 20px auto;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 20px; 
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #3b3b3b, #4a4a4a);
    color: #f0f0f0;
    font-size: 18px;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.search-input:focus {
    background: linear-gradient(135deg, #4a4a4a, #5a5a5a);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.search-icon:hover {
    color: #ffffff;
}

.search-input::placeholder {
    color: #aaaaaa;
    opacity: 1;
}







#calendar-container {
    display: none;
    width: 410px;
    height: 300px;
    border: solid 2px #444444;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background-color: #1e1e1e;
    margin: 20px auto;
}

#calendar-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(0.9);
    border-radius: 10px;
}


.calendar-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    padding: 10px;
    border-radius: 0;
    color: #ffffff;
    transition: color 0.3s ease;
}

.calendar-button:hover {
    background-color: transparent;
    color: #ffffff;
}

.calendar-button i {
    transition: color 0.3s ease;
}

.calendar-button:hover i {
    color: #ffffff;
}

.filters {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    gap: 10px;
}





body.light-mode {
    background-color: #f5f5f5;
    color: #333333;
}

body.light-mode h1,
body.light-mode h2 {
    color: #333333;
}

body.light-mode a {
    color: #0077cc;
}

body.light-mode .accordion {
    background-color: #ffffff;
    color: #333333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body.light-mode .accordion:hover {
    background-color: #f0f0f0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

body.light-mode .accordion.active {
    background-color: #e8e8e8;
}

body.light-mode .panel {
    background-color: #f9f9f9;
    color: #333333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body.light-mode .panel p,
body.light-mode .panel ul,
body.light-mode .panel li {
    color: #333333;
}

body.light-mode .panel a {
    color: #0077cc;
}

body.light-mode .panel a:hover {
    color: #005999;
}

body.light-mode .search-input {
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    color: #333333;
}

body.light-mode .search-input:focus {
    background: linear-gradient(135deg, #d0d0d0, #e0e0e0);
}

body.light-mode .search-icon {
    color: #333333;
}

body.light-mode #calendar-container {
    background-color: #f5f5f5;
}

body.light-mode .calendar-button i {
    color: #333333;
}

body.light-mode .calendar-button i.fa-moon {
    display: none;
}

body.light-mode .calendar-button i.fa-sun {
    display: inline;
}

.calendar-button i.fa-moon {
    display: inline;
}

.calendar-button i.fa-sun {
    display: none;
}

body.light-mode .panel ul {
    color: #333333;
    list-style-type: disc;
}

body.light-mode .panel ul li {
    color: #333333;
}

body.light-mode .panel h2 {
    color: #333333;
}


@media (min-width: 769px) {
    
    .header-container {
        display: flex;
        justify-content:space-around;
        align-items: center;
        max-width: 1200px;
        margin: 20px auto;
    }

    
    .title-container {
        flex-grow: 1;
    }

    
    .search-theme-container {
        display: flex;
        align-items: center;
        gap: 20px; 
    }

    .search-container {
        margin: 0;
    }

    .theme-toggle {
        margin: 0;
    }

    
    .search-input {
        width: 300px; 
    }
}


@media (max-width: 768px) {
    .header-container {
        display: block; 
    }

    .title-container {
        text-align: center;
    }

    .search-theme-container {
        justify-content: center;
    }
}


@media (min-width: 769px) {
    .title-container h1 {
        text-align: left;
        margin: 0; 
    }
}


@media (max-width: 768px) {
    .title-container h1 {
        text-align: center;
    }
}
