body {
    font-family: sans-serif;
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.6;
    background-color: #F1E7D0;
    color: #333;
}

h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.25em;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0.25em;
}

p, li {
    margin-bottom: .25em;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: rgb(255 78 0);
    text-decoration: underline;
}

footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #666;
}


/* Dropdown Menu Styles */

.menu {
    position: fixed;
    top: 20px;
    right: 20px;
}

.menu-icon {
    cursor: pointer;
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon div {
    height: 4px;
    background-color: #333;
    border-radius: 2px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
}

.dropdown a {
    display: block;
    padding: 8px 12px;
}

.dropdown a:hover {
    background-color: #f9f9f9;
}


/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #2B2B2B;  /* Dark background */
        color: #F2F0EF;             /* Light text for contrast */
    }

    footer {
        color: #AAAAAA;             /* Slightly lighter footer text */
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    a:hover {
        color: rgb(255 78 0);
    }

    .menu-icon div {
        background-color: #EDEDED;  /* Light menu icon for dark background */
    }

    .dropdown {
        background-color: #3A3A3A;  /* Darker dropdown background */
        border: 1px solid #555;     /* Subtle border for contrast */
    }

    .dropdown a:hover {
        background-color: #4A4A4A;  /* Slight hover effect in dark mode */
    }
}
