/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #e6e9f0, #eef1f4);
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
    background: linear-gradient(to bottom right, #333, #444);
    color: #fff;
}

/* Container Styles */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 20px;
    background-color: #5cb85c; /* Header background color */
    padding: 20px;
    border-radius: 8px;
}

header h1 {
    color: #fff;
    margin-bottom: 10px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    text-decoration: none;
    color: #fff; /* Link color */
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffdd57; /* Hover color */
}

.toggle-button {
    background-color: #ff5722; /* Button color */
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-button:hover {
    background-color: #e64a19; /* Hover effect for button */
}

/* Main Styles */
main {
    text-align: center;
    padding: 20px;
}

.welcome-message {
    background-color: #f9f9f9; /* Background color for welcome message */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.welcome-message h2 {
    color: #333;
}

.features {
    margin-top: 20px;
}

.features h3 {
    color: #5cb85c;
}

.features ul {
    list-style-type: none;
    padding: 0;
}

.features li {
    background-color: #f8f8f8; /* Background color for list items */
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    color: #333;
    transition: background-color 0.3s;
}

.features li:hover {
    background-color: #e7f1e6; /* Hover effect for list items */
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}

/* Dark Mode Specific Styles */
body.dark-mode header {
    background-color: #444; /* Dark mode header color */
}

body.dark-mode header h1 {
    color: #88ff88; /* Header text color in dark mode */
}

body.dark-mode nav a {
    color: #fff;
}

body.dark-mode footer {
    color: #ccc;
}

body.dark-mode .features li {
    background-color: #555; /* List item background in dark mode */
    color: #fff; /* Text color in dark mode */
}
