Spaces:
Running
Running
| /* Base page styling */ | |
| body { | |
| padding: 2rem; | |
| font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif; | |
| background-color: #f9fafb; /* subtle light background */ | |
| color: #111827; /* strong dark text */ | |
| line-height: 1.6; | |
| font-size: 16px; | |
| margin: 0; | |
| } | |
| /* Header Styling */ | |
| h1 { | |
| font-size: 1.75rem; | |
| font-weight: 600; | |
| margin-top: 0; | |
| margin-bottom: 0.75rem; | |
| color: #1f2937; /* deep gray */ | |
| letter-spacing: -0.025em; | |
| } | |
| /* Paragraph Styling */ | |
| p { | |
| color: rgb(107, 114, 128); /* slate gray */ | |
| font-size: 1rem; | |
| margin-bottom: 10px; | |
| margin-top: 5px; | |
| } | |
| /* Card Component */ | |
| .card { | |
| max-width: 620px; | |
| margin: 2rem auto; | |
| padding: 1.5rem; | |
| border: 1px solid #e5e7eb; /* soft border */ | |
| border-radius: 16px; | |
| background-color: #ffffff; | |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), | |
| 0 1px 2px rgba(0, 0, 0, 0.1); | |
| transition: box-shadow 0.3s ease, transform 0.3s ease; | |
| } | |
| /* Last Paragraph in Card: remove bottom margin */ | |
| .card p:last-child { | |
| margin-bottom: 0; | |
| } | |
| /* Hover effect on card */ | |
| .card:hover { | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), | |
| 0 10px 15px rgba(0, 0, 0, 0.06); | |
| transform: translateY(-2px); | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 640px) { | |
| body { | |
| padding: 1rem; | |
| } | |
| .card { | |
| padding: 1rem; | |
| border-radius: 12px; | |
| } | |
| h1 { | |
| font-size: 1.5rem; | |
| } | |
| p { | |
| font-size: 0.95rem; | |
| } | |
| } | |