i want to create codes html and css inline codes and these snetneces (Non Invasive Prenatal Testing
Non Invasive Prenatal Screening / Testing of Fetal Trisomy:
-Analysis of Fetal Cell-Free DNA in Maternal Blood
-99% Proven Accuracy for detection & Low False Positive Rate : Downs Syndrome, Lymphocytic Leukemia, and Edward’s Syndrome.
-Based on NGS Bioinformatics
) and this styles i wnat to use ( :root {
--c-bg-primary: rgba(43, 43, 43, 0.5); /* #2b2b2b with 0.5 opacity */
--c-text-primary: white;
--c-gold: #D1C287;
--c-accent: #4F3F02;
--f-primary: 'Lato', sans-serif;
--s-border-radius: 8px;
--transition-speed: 0.3s;
--container-max-width: 1100px;
--fade-in-duration: 0.6s;
}
) and don't add htlm and head tags and make it cool design and use this image in this codes (https://longevacare.com/wp-content/uploads/2024/07/030de1b7-cb5c-43d1-86ae-4b01932ee3d6.jpg) and type full codes
Assistant
Sure! Below is a complete HTML snippet with embedded CSS that incorporates your provided content and styles. This design features a modern, sleek layout utilizing the specified image and CSS variables for a cohesive look.
Defined all the colors, fonts, and other reusable styling properties for consistency and easy maintenance.
Body Styling:
Centered the container both vertically and horizontally.
Set a dark background to make the content stand out.
Container:
Positioned relative to contain the background image and content.
Applied a semi-transparent background using --c-bg-primary for a modern overlay effect.
Added border-radius and box-shadow for smooth edges and depth.
Included a fade-in animation for a sleek entrance effect.
Background Image:
Set the provided image as a background with cover and center positioning to ensure it looks good on all screen sizes.
Adjusted the height for responsiveness.
Content Styling:
Padded the content for spacing.
Styled headings with the specified gold and accent colors.
Styled the list with proper spacing and line-height for readability.
Responsive Design:
Added media queries to adjust the image height and font sizes on smaller screens, ensuring the design remains user-friendly on mobile devices.
How to Use:
Integration: Since you've requested not to include the <html> and <head> tags, ensure that this snippet is placed within the <body> of your existing HTML document.
Fonts: The Lato font is used as the primary font. Make sure to include it in your project for consistency. You can add it by including the following line within your <head> section if it's not already included: