:root { --background-color: #f0f0f0; --text-color: #333; --card-background: #ffffff; --button-background: #007acc; --button-hover: #005fa3; } .theme-white { --background-color: #f9f8f6; --text-color: #1e1e1e; --card-background: #ffffff; --button-background: #e5e5e5; --button-hover: #cccccc; } .theme-blue { --background-color: #d7e7f9; --text-color: #002d72; --card-background: #e0f2ff; --button-background: #007acc; --button-hover: #005fa3; } .theme-black { --background-color: #333333; --text-color: #ffffff; --card-background: #444444; --button-background: #1f1f1f; --button-hover: #000000; } .theme-red { --background-color: #fbe4e4; --text-color: #8b0000; --card-background: #ffe5e5; --button-background: #d32f2f; --button-hover: #b71c1c; } .theme-green { --background-color: #e7f4e7; --text-color: #004d00; --card-background: #e0ffe0; --button-background: #388e3c; --button-hover: #2e7d32; } @media (prefers-color-scheme: dark) { .theme-white { --background-color: #1e1e1e; --text-color: #ffffff; --card-background: #333333; --button-background: #555555; --button-hover: #777777; } .theme-blue { --background-color: #001f3f; --text-color: #ffffff; --card-background: #002d72; --button-background: #005fa3; --button-hover: #007acc; } .theme-black { --background-color: #000000; --text-color: #e5e5e5; --card-background: #1c1c1c; --button-background: #333333; --button-hover: #555555; } .theme-red { --background-color: #330000; --text-color: #ffaaaa; --card-background: #8b0000; --button-background: #b71c1c; --button-hover: #d32f2f; } .theme-green { --background-color: #002200; --text-color: #ccffcc; --card-background: #004d00; --button-background: #2e7d32; --button-hover: #388e3c; } } @media (prefers-color-scheme: dark) { :root { --background-color: #1e1e1e; --text-color: #ffffff; --card-background: #2e2e2e; --button-background: #1f6fb2; --button-hover: #145b8c; } } .mana-icon { font-family: 'mana', sans-serif; font-size: 24px; cursor: pointer; padding: 5px; margin-right: 10px; } .mana-icon:hover { opacity: 0.8; } /* Ensure the menu follows the theme */ body.theme-white .menu-content { background-color: var(--background-color); color: var(--text-color); } body.theme-blue .menu-content { background-color: var(--background-color); color: var(--text-color); } body.theme-black .menu-content { background-color: var(--background-color); color: var(--text-color); } body.theme-red .menu-content { background-color: var(--background-color); color: var(--text-color); } body.theme-green .menu-content { background-color: var(--background-color); color: var(--text-color); } body { font-family: 'Sorts Mill Goudy', serif; background-color: var(--background-color); color: var(--text-color); margin: 0; padding: 20px; } .container { max-width: 600px; margin: 0 auto; background-color: var(--card-background); padding: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); border-radius: 8px; } h1 { text-align: center; margin-bottom: 20px; } form div { margin-bottom: 15px; } label { display: block; margin-bottom: 5px; } input, select, textarea { width: 100%; padding: 8px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; background-color: var(--card-background); color: var(--text-color); } button { display: block; width: 100%; padding: 10px; background-color: var(--button-background); color: white; border: none; border-radius: 4px; cursor: pointer; margin-top: 10px; } button:hover { background-color: var(--button-hover); } #csv-output { margin-top: 20px; height: 200px; background-color: var(--card-background); color: var(--text-color); } .card-popup { position: fixed; bottom: 20px; right: 20px; max-width: 20%; z-index: 1000; background-color: rgba(0, 0, 0, 0.7); padding: 10px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); opacity: 0; transition: opacity 0.5s ease-in-out; display: none; } .card-popup img { width: 100%; height: auto; border-radius: 4px; } @media (max-width: 600px) { .card-popup { max-width: 40%; } } @media (max-width: 400px) { .card-popup { max-width: 60%; } } .menu { position: relative; display: inline-block; } .hamburger-menu { cursor: pointer; font-size: 30px; color: var(--text-color); } .menu-content { display: none; position: absolute; top: 40px; left: 0; background-color: var(--background-color); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); padding: 10px; z-index: 1; min-width: 150px; border-radius: 4px; } .menu-content label, .menu-content input { color: var(--text-color); } .menu-content.show { display: block; } /* Dark mode styles */ body.dark-mode .menu-content { background-color: #333; } body.dark-mode .hamburger-menu, body.dark-mode .menu-content label, body.dark-mode .menu-content input { color: white; } footer { text-align: center; font-size: 0.5rem; /* Smaller font size */ color: #666; /* A lighter color for the text */ margin-top: 0px; padding: 1px; } footer a { color: #007acc; /* Link color matching the theme */ text-decoration: none; } footer a:hover { text-decoration: underline; /* Underline on hover for emphasis */ }