@import url('inline-font1_1'); :root { --primary-color: #3498db; /* Example blue */ --secondary-color: #2ecc71; /* Example green */ --background-color: #f4f4f4; /* Light gray background */ --text-color: #333; /* Dark gray text */ --heading-font: 'Roboto', sans-serif; --body-font: 'Lato', sans-serif; --container-width: 900px; } body { font-family: var(--body-font); line-height: 1.6; color: var(--text-color); background-color: var(--background-color); margin: 0; padding: 0; font-size: 16px; /* Base font size */ } .container { max-width: var(--container-width); margin: 20px auto; padding: 25px; background-color: #ffffff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); border-radius: 8px; } h1, h2, h3, h4 { font-family: var(--heading-font); color: var(--primary-color); margin-top: 1.5em; margin-bottom: 0.8em; line-height: 1.3; } h1 { font-size: 2.8em; text-align: center; color: #2c3e50; /* Darker shade for main heading */ margin-bottom: 1em; border-bottom: 2px solid var(--secondary-color); padding-bottom: 10px; } h2 { font-size: 2.2em; color: var(--primary-color); border-bottom: 1px solid #ddd; padding-bottom: 8px; } h3 { font-size: 1.8em; color: var(--secondary-color); } h4 { font-size: 1.4em; color: #555; } p { margin-bottom: 1.2em; text-align: justify; } ul { list-style: disc; margin-left: 25px; margin-bottom: 1.2em; } li { margin-bottom: 0.6em; } a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; } a:hover { color: var(--secondary-color); text-decoration: underline; } img { max-width: 100%; height: auto; display: block; margin: 20px auto; border-radius: 5px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); } .image-caption { text-align: center; font-style: italic; color: #777; margin-top: -10px; margin-bottom: 20px; font-size: 0.9em; } .cta-button { display: inline-block; background-color: var(--secondary-color); color: #ffffff; padding: 12px 25px; font-size: 1.1em; font-weight: bold; text-align: center; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; margin: 20px auto; display: block; width: fit-content; } .cta-button:hover { background-color: #27ae60; /* Darker green */ transform: translateY(-2px); text-decoration: none; color: #fff; } /* Responsive Design */ @media (max-width: 1000px) { .container { width: 90%; padding: 20px; } } @media (max-width: 768px) { h1 { font-size: 2.4em; } h2 { font-size: 2em; } h3 { font-size: 1.6em; } body { font-size: 15px; } .container { width: 95%; padding: 15px; } } @media (max-width: 480px) { h1 { font-size: 2em; } h2 { font-size: 1.7em; } h3 { font-size: 1.4em; } body { font-size: 14px; } .container { padding: 10px; margin: 10px auto; } ul { margin-left: 15px; } .cta-button { padding: 10px 20px; font-size: 1em; } }