body { margin: 0; font-family: 'Roboto', sans-serif; background-color: #121212; /* Slightly darker background */ color: #e0e0e0; /* Lighter text for better contrast */ line-height: 1.7; font-size: 16px; } .container { max-width: 900px; margin: 0 auto; padding: 0 20px; } /* Header */ header { background-color: #1e1e1e; padding: 25px 0; text-align: center; border-bottom: 1px solid #333; } header .logo { max-width: 70px; /* Adjusted size */ margin-bottom: 10px; vertical-align: middle; } header h1 { color: #ffffff; margin: 0 0 0 15px; font-size: 2.8em; display: inline-block; vertical-align: middle; } /* Navigation */ nav { background-color: #282828; padding: 15px 0; text-align: center; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #333; } nav ul { list-style: none; padding: 0; margin: 0; } nav ul li { display: inline-block; margin: 0 15px; } nav ul li a { color: #569cd6; text-decoration: none; font-size: 1.1em; padding: 5px 10px; border-radius: 4px; transition: background-color 0.3s ease; } nav ul li a:hover, nav ul li a.active { background-color: #333; text-decoration: none; } /* Main Content */ main { padding: 30px 0; } section { background-color: #1e1e1e; padding: 25px; margin-bottom: 30px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); } section.image-gallery { /* Be more specific or use the ID #gallery if preferred */ background-color: #1e1e1e; /* This is from your general section style, which is fine */ padding: 25px; /* Also from general section style */ margin-bottom: 30px; /* Also from general section style */ border-radius: 8px; /* Also from general section style */ box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Also from general section style */ text-align: center; /* To center the inline-block images */ /* Remove problematic styles like max-width, specific border, specific margin, cursor from the container */ } h2 { color: #ffffff; border-bottom: 2px solid #569cd6; /* Accent border */ padding-bottom: 10px; margin-top: 0; /* Removed default margin-top for consistency inside sections */ margin-bottom: 20px; font-size: 2em; } p { margin-bottom: 18px; color: #c0c0c0; /* Slightly softer than main text for paragraphs */ } /* Code Blocks */ pre { background-color: #2c2c2c; /* Slightly different shade for pre */ padding: 20px; overflow-x: auto; font-family: 'Source Code Pro', monospace; color: #dcdcdc; border-radius: 6px; border: 1px solid #383838; font-size: 0.95em; } code { /* Inline code */ color: #acacac; font-family: 'Source Code Pro', monospace; background-color: #2c2c2c; padding: 3px 6px; border-radius: 4px; font-size: 0.9em; } pre code { /* Code inside pre, reset some properties */ padding: 0; background-color: transparent; font-size: inherit; /* Inherit font size from pre */ } a { color: #569cd6; text-decoration: none; transition: color 0.3s ease; } a:hover { color: #79b8f3; /* Lighter shade on hover */ text-decoration: underline; } /* Image Gallery */ .image-gallery { background-color: #1e1e1e; /* This is from your general section style, which is fine */ padding: 25px; /* Also from general section style */ margin-bottom: 30px; /* Also from general section style */ border-radius: 8px; /* Also from general section style */ box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Also from general section style */ text-align: center; /* To center the inline-block images */ } .image-gallery img { max-width: calc(33.333% - 20px); /* Adjusted for potentially 3 images per row, play with this */ /* Or, for smaller thumbnails like in your screenshot, you might want a fixed width: */ /* max-width: 150px; */ height: auto; border: 2px solid #444; border-radius: 6px; margin: 10px; /* This creates space around each image */ display: inline-block; /* Allows text-align:center on parent to work & respects margin/padding */ vertical-align: top; /* Aligns images nicely if they have different heights */ cursor: pointer; /* Indicates images are clickable */ transition: transform 0.3s ease, box-shadow 0.3s ease; } .image-gallery img:hover { transform: scale(1.03); box-shadow: 0 0 15px rgba(86, 156, 214, 0.5); } /* For smaller screens, stack images */ @media (max-width: 900px) { /* Adjusted breakpoint */ .image-gallery img { max-width: calc(50% - 20px); /* Two images per row */ } } @media (max-width: 600px) { /* Adjusted breakpoint */ .image-gallery img { max-width: calc(100% - 20px); /* Full width (one image per row) */ } } .modal { display: none; position: fixed; z-index: 2000; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); } .modal-content { margin: auto; display: block; width: auto; /* Auto width */ max-width: 80%; /* Max width */ max-height: 80vh; /* Max height related to viewport height */ animation-name: zoom; animation-duration: 0.4s; } .modal-caption { margin: 15px auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 10px 0; height: 50px; /* Give it some height */ font-size: 1.1em; } /* Add Animation */ @keyframes zoom { from {transform:scale(0.5)} to {transform:scale(1)} } /* The Close Button */ .close-modal { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; } .close-modal:hover, .close-modal:focus { color: #bbb; text-decoration: none; cursor: pointer; } .goals-projections { background-color: #232323; /* Slightly different background */ padding: 25px; margin: 30px 0; border-radius: 8px; border-left: 5px solid #569cd6; /* Accent border */ } .goals-projections h2 { margin-top: 0; border-bottom: none; /* Remove border as section already distinct */ } .goals-projections p { color: #b0b0b0; } .goals-projections strong { color: #ffffff; /* Make strong tags stand out more */ } /* Task List Styling */ ul.task-list { /* Added a class for better targeting */ list-style: none; padding-left: 0; } ul.task-list li.task-list-item { margin-bottom: 12px; /* Increased spacing */ padding-left: 25px; /* Indent for custom bullet */ position: relative; font-size: 1.05em; } ul.task-list li.task-list-item::before { content: ""; /* Remove default bullet to use checkbox */ position: absolute; left: 0; top: 5px; /* Adjust alignment with text */ /* Custom checkbox styling can be done here if not using input[type=checkbox] */ } .task-list-item input[type="checkbox"] { margin-right: 12px; vertical-align: middle; transform: scale(1.2); /* Slightly larger checkboxes */ cursor: not-allowed; /* Since they are disabled */ } /* Footer */ footer { background-color: #1e1e1e; padding: 25px 0; text-align: center; color: #808080; margin-top: 40px; border-top: 1px solid #333; font-size: 0.9em; } /* Contact Section (styling for items within .contact-section if needed) */ .contact-section { text-align: center; /* This was in .contact before */ } .contact-section p { margin-bottom: 10px; }