can you make this sites background all purple and like the good looking purple very…
- User
can you make this sites background all purple and like the good looking purple very modern and stuff
/* Body Styling */ body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: #333; background-color: #f4f4f4; /* Remove default smooth scrolling to implement custom scroll */ scroll-behavior: auto; } /* Container */ .container { width: 90%; max-width: 1200px; margin: auto; padding: 20px 0; } /* Header Styling */ header { background: linear-gradient(135deg, #6b73ff, #000dff); color: white; padding: 40px 0; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; } /* Header Text */ header h1 { font-family: 'Montserrat', sans-serif; font-size: 3em; margin-bottom: 10px; animation: slideInDown 1s ease-out; } header p { font-size: 1.5em; opacity: 0.9; margin-bottom: 30px; animation: slideInUp 1s ease-out; } /* Header Button Group */ .button-group { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; animation: fadeIn 1s ease-in-out; } /* Button Styling */ .button-group a, .button-group button { background-color: #fff; color: #000dff; border: none; padding: 15px 20px; border-radius: 50px; cursor: pointer; font-weight: bold; transition: background-color 0.3s, color 0.3s, transform 0.3s; text-decoration: none; position: relative; overflow: hidden; display: inline-block; } /* Ripple Effect for Buttons */ .button-group a::after, .button-group button::after { content: ''; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; background: rgba(0, 13, 255, 0.15); transition: all 0.75s; border-radius: 50%; z-index: -1; transform: translate(-50%, -50%) scale(0); } /* Hover Effects for Buttons */ .button-group a:hover::after, .button-group button:hover::after { transform: translate(-50%, -50%) scale(1); } .button-group a:hover, .button-group button:hover { background-color: #000dff; color: #fff; transform: translateY(-3px); } /* Models Section */ .models-section { padding: 60px 0; background-color: white; } .models-section h2 { text-align: center; margin-bottom: 40px; font-size: 2.5em; color: #333; animation: fadeIn 1s ease-in-out; } .models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; } .model-card { background: #ffffff; border: 1px solid #e0e0e0; border-radius: 15px; padding: 30px 20px; transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s, transform 0.6s; text-align: center; position: relative; overflow: hidden; opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; } /* Staggered Animation for Model Cards */ .model-card:nth-child(1) { animation-delay: 0.2s; } .model-card:nth-child(2) { animation-delay: 0.4s; } .model-card:nth-child(3) { animation-delay: 0.6s; } .model-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(107, 115, 255, 0.1); transform: rotate(45deg); z-index: 0; } .model-card h3 { margin-bottom: 15px; color: #000dff; z-index: 1; position: relative; } .model-card p { color: #555; line-height: 1.5; z-index: 1; position: relative; } .model-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); } /* Pricing Section */ .pricing-section { padding: 60px 0; background-color: #f9f9f9; } .pricing-section h2 { text-align: center; margin-bottom: 40px; font-size: 2.5em; color: #333; animation: fadeIn 1s ease-in-out; } .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .plan-card { background: #ffffff; border: 1px solid #e0e0e0; border-radius: 15px; padding: 30px 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s, transform 0.6s; position: relative; overflow: hidden; opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; } /* Staggered Animation for Pricing Cards */ .plan-card:nth-child(1) { animation-delay: 0.2s; } .plan-card:nth-child(2) { animation-delay: 0.4s; } .plan-card:nth-child(3) { animation-delay: 0.6s; } .plan-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(107, 115, 255, 0.05); transform: rotate(45deg); z-index: 0; } .plan-card h3 { margin-bottom: 10px; font-size: 1.8em; color: #000dff; z-index: 1; position: relative; } .price { font-size: 2em; margin: 20px 0; color: #333; z-index: 1; position: relative; } .price span { font-size: 0.6em; color: #666; } .features { text-align: left; margin-bottom: 20px; list-style: none; z-index: 1; position: relative; } .features li { margin-bottom: 10px; padding-left: 25px; position: relative; } .features li::before { content: "✔️"; position: absolute; left: 0; color: #28a745; } /* Highlighted Plan (Pro) */ .recommended { border: 2px solid #000dff; background-color: #f0f4ff; } .recommended h3 { color: #000dff; } /* Pricing Buttons */ .pricing-button-plan { display: inline-block; background-color: #000dff; color: #fff; border: none; padding: 12px 25px; border-radius: 25px; cursor: pointer; font-weight: bold; text-decoration: none; transition: background-color 0.3s, color 0.3s, transform 0.3s; position: relative; overflow: hidden; } .pricing-button-plan::after { content: ''; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; background: rgba(0, 13, 255, 0.15); transition: all 0.75s; border-radius: 50%; z-index: -1; transform: translate(-50%, -50%) scale(0); } .pricing-button-plan:hover::after { transform: translate(-50%, -50%) scale(1); } .pricing-button-plan:hover { background-color: #fff; color: #000dff; border: 1px solid #000dff; transform: translateY(-3px); } /* Adjust button styles for recommended plan */ .recommended .pricing-button-plan { background-color: #28a745; } .recommended .pricing-button-plan:hover { background-color: #fff; color: #28a745; border: 1px solid #28a745; } /* Footer Styling */ footer { background-color: #333; color: #fff; text-align: center; padding: 20px 0; margin-top: 60px; } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideInDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes slideInUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Responsive Typography */ @media (max-width: 768px) { header h1 { font-size: 2.5em; } header p { font-size: 1.2em; } .models-section h2, .pricing-section h2 { font-size: 2em; } .button-group a, .button-group button { padding: 12px 20px; font-size: 0.9em; } .plan-card h3 { font-size: 1.5em; } .price { font-size: 1.5em; } .pricing-button-plan { padding: 10px 20px; font-size: 0.9em; } } @media (max-width: 480px) { header h1 { font-size: 2em; } header p { font-size: 1em; } .models-section h2, .pricing-section h2 { font-size: 1.5em; } .button-group a, .button-group button { padding: 10px 16px; font-size: 0.8em; } .plan-card h3 { font-size: 1.2em; } .price { font-size: 1.2em; } .pricing-button-plan { padding: 8px 16px; font-size: 0.8em; } } </style><!-- Header Section --> <header> <div class="container"> <!-- Removed Logo Image --> <h1>Welcome to Zanity API</h1> <p>Revolutionising AI</p> <!-- Button Group --> <div class="button-group"> <button class="pricing-button">Pricing</button> <a href="https://api.zanity.net/docs" class="docs-button">Docs</a> <a href="https://api.zanity.net/playground" class="playground-button" target="_blank" rel="noopener noreferrer">Playground</a> <a href="https://discord.gg/4DRjqaFkhd" class="discord-button" target="_blank" rel="noopener noreferrer">Discord</a> </div> </div> </header> <!-- Models Section --> <section class="models-section" id="models-section"> <div class="container"> <h2>Access The Top AI Models</h2> <div class="models-grid"> <!-- GPT o1 Card --> <div class="model-card"> <h3>GPT o1</h3> <p>Experience the power of the latest generation language model with advanced natural language understanding and generation capabilities.</p> </div> <!-- Claude 3.5-Sonnet Card --> <div class="model-card"> <h3>Claude 3.5-Sonnet</h3> <p>Benefit from a versatile conversational AI that excels in maintaining context and providing accurate, insightful responses.</p> </div> <!-- Gemini Card --> <div class="model-card"> <h3>Gemini</h3> <p>Unlock innovative solutions with a model designed for complex problem-solving and enhanced AI integration.</p> </div> <!-- Additional Model Cards (Optional) --> <!-- <div class="model-card"> <h3>Model Name</h3> <p>Brief description of the model's capabilities.</p> </div> --> </div> </div> </section> <!-- Pricing Section --> <section class="pricing-section" id="pricing-section"> <div class="container"> <h2>Pricing Plans</h2> <div class="pricing-grid"> <!-- Basic Plan --> <div class="plan-card"> <h3>Basic Plan</h3> <p class="price">€0<span> / month</span></p> <ul class="features"> <li>5 requests per minute</li> <li>1 IP address</li> <li>500 requests daily limit</li> <li>Access to some models</li> </ul> <a href="https://discord.gg/4DRjqaFkhd" class="pricing-button-plan">Get Started</a> </div> <!-- Pro Plan (Recommended) --> <div class="plan-card recommended"> <h3>Pro Plan</h3> <p class="price">€10<span> / month</span></p> <ul class="features"> <li>15 requests per minute</li> <li>5 IP addresses</li> <li>2000 requests daily limit</li> <li>Access to all models</li> </ul> <a href="https://ko-fi.com/voidi/tiers" class="pricing-button-plan">Get Started</a> </div> <!-- Enterprise Plan --> <div class="plan-card"> <h3>Enterprise Plan</h3> <p class="price">€20+<span> / month</span></p> <ul class="features"> <li>Custom requests per minute</li> <li>Custom IP addresses</li> <li>Custom requests daily limit</li> <li>Access to all models</li> <li>Early access to new models</li> <li>Access to o1 and o1-mini</li> </ul> <a href="https://discord.gg/9Xz2gY6KSv" class="pricing-button-plan">Contact Us</a> </div> </div> </div> </section> <!-- Footer Section --> <footer> <div class="container"> <p>© 2024 Zanity API. All rights reserved.</p> </div> </footer> <!-- Optional JavaScript for Custom Scroll Animation --> <script> // Get the pricing button and the pricing section const pricingButton = document.querySelector('.pricing-button'); const pricingSection = document.getElementById('pricing-section'); // Function to perform smooth scroll with easing function smoothScroll(target, duration) { const targetPosition = target.getBoundingClientRect().top + window.pageYOffset; const startPosition = window.pageYOffset; const distance = targetPosition - startPosition; let startTime = null; function animation(currentTime) { if (startTime === null) startTime = currentTime; const timeElapsed = currentTime - startTime; const run = ease(timeElapsed, startPosition, distance, duration); window.scrollTo(0, run); if (timeElapsed < duration) requestAnimationFrame(animation); } // Ease function (easeInOutCubic) function ease(t, b, c, d) { t /= d/2; if (t < 1) return c/2*t*t*t + b; t -= 2; return c/2*(t*t*t + 2) + b; } requestAnimationFrame(animation); } // Event listener for pricing button pricingButton.addEventListener('click', (e) => { e.preventDefault(); smoothScroll(pricingSection, 1000); // Scroll over 1 second }); // Optional: Highlight the pricing button when the pricing section is in view window.addEventListener('scroll', () => { const sectionTop = pricingSection.getBoundingClientRect().top; const sectionBottom = pricingSection.getBoundingClientRect().bottom; if (sectionTop <= 100 && sectionBottom >= 100) { pricingButton.style.backgroundColor = '#000dff'; pricingButton.style.color = '#fff'; } else { pricingButton.style.backgroundColor = '#fff'; pricingButton.style.color = '#000dff'; } }); </script> - Assistant
Certainly! I've updated your website's stylesheet to feature a modern and aesthetically pleasing purple theme. This includes altering the background colors, gradients, buttons, and other elements to ensure a cohesive and visually appealing design. Below is the revised HTML with embedded CSS reflecting these changes:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Sanity API - Welcome & Pricing</title> <!-- Google Fonts for Modern Typography --> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@600&display=swap" rel="stylesheet"> <style> /* Reset some default styles */ * { margin: 0; padding: 0; box-sizing: border-box; } /* Body Styling */ body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: #f4f4f4; background-color: #1a1a2e; /* Dark Purple Background */ /* Remove default smooth scrolling to implement custom scroll */ scroll-behavior: auto; } /* Container */ .container { width: 90%; max-width: 1200px; margin: auto; padding: 20px 0; } /* Header Styling */ header { background: linear-gradient(135deg, #8e2de2, #4a00e0); /* Modern Purple Gradient */ color: white; padding: 60px 0; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; } /* Header Text */ header h1 { font-family: 'Montserrat', sans-serif; font-size: 3em; margin-bottom: 10px; animation: slideInDown 1s ease-out; } header p { font-size: 1.5em; opacity: 0.9; margin-bottom: 30px; animation: slideInUp 1s ease-out; } /* Header Button Group */ .button-group { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; animation: fadeIn 1s ease-in-out; } /* Button Styling */ .button-group a, .button-group button { background-color: #6a0dad; /* Purple Button Background */ color: #f4f4f4; border: none; padding: 15px 20px; border-radius: 50px; cursor: pointer; font-weight: bold; transition: background-color 0.3s, color 0.3s, transform 0.3s; text-decoration: none; position: relative; overflow: hidden; display: inline-block; } /* Ripple Effect for Buttons */ .button-group a::after, .button-group button::after { content: ''; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; background: rgba(106, 13, 173, 0.15); /* Purple Ripple */ transition: all 0.75s; border-radius: 50%; z-index: -1; transform: translate(-50%, -50%) scale(0); } /* Hover Effects for Buttons */ .button-group a:hover::after, .button-group button:hover::after { transform: translate(-50%, -50%) scale(1); } .button-group a:hover, .button-group button:hover { background-color: #f4f4f4; color: #6a0dad; transform: translateY(-3px); } /* Models Section */ .models-section { padding: 60px 0; background-color: #2e003e; /* Darker Purple */ } .models-section h2 { text-align: center; margin-bottom: 40px; font-size: 2.5em; color: #f4f4f4; animation: fadeIn 1s ease-in-out; } .models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; } .model-card { background: #411d5f; /* Medium Purple */ border: 1px solid #6a0dad; border-radius: 15px; padding: 30px 20px; transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s, transform 0.6s; text-align: center; position: relative; overflow: hidden; opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; } /* Staggered Animation for Model Cards */ .model-card:nth-child(1) { animation-delay: 0.2s; } .model-card:nth-child(2) { animation-delay: 0.4s; } .model-card:nth-child(3) { animation-delay: 0.6s; } .model-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(110, 13, 173, 0.1); /* Purple Overlay */ transform: rotate(45deg); z-index: 0; } .model-card h3 { margin-bottom: 15px; color: #f4f4f4; z-index: 1; position: relative; } .model-card p { color: #d1c4e9; line-height: 1.5; z-index: 1; position: relative; } .model-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(106, 13, 173, 0.3); } /* Pricing Section */ .pricing-section { padding: 60px 0; background-color: #1a1a2e; /* Dark Purple */ } .pricing-section h2 { text-align: center; margin-bottom: 40px; font-size: 2.5em; color: #f4f4f4; animation: fadeIn 1s ease-in-out; } .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .plan-card { background: #2e003e; /* Darker Purple */ border: 1px solid #6a0dad; border-radius: 15px; padding: 30px 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s, transform 0.6s; position: relative; overflow: hidden; opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; } /* Staggered Animation for Pricing Cards */ .plan-card:nth-child(1) { animation-delay: 0.2s; } .plan-card:nth-child(2) { animation-delay: 0.4s; } .plan-card:nth-child(3) { animation-delay: 0.6s; } .plan-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(106, 13, 173, 0.05); /* Subtle Purple Overlay */ transform: rotate(45deg); z-index: 0; } .plan-card h3 { margin-bottom: 10px; font-size: 1.8em; color: #f4f4f4; z-index: 1; position: relative; } .price { font-size: 2em; margin: 20px 0; color: #f4f4f4; z-index: 1; position: relative; } .price span { font-size: 0.6em; color: #d1c4e9; } .features { text-align: left; margin-bottom: 20px; list-style: none; z-index: 1; position: relative; } .features li { margin-bottom: 10px; padding-left: 25px; position: relative; color: #d1c4e9; } .features li::before { content: "✔️"; position: absolute; left: 0; color: #8e2de2; } /* Highlighted Plan (Pro) */ .recommended { border: 2px solid #8e2de2; background-color: #4a00e0; } .recommended h3 { color: #f4f4f4; } /* Pricing Buttons */ .pricing-button-plan { display: inline-block; background-color: #6a0dad; /* Purple Button */ color: #f4f4f4; border: none; padding: 12px 25px; border-radius: 25px; cursor: pointer; font-weight: bold; text-decoration: none; transition: background-color 0.3s, color 0.3s, transform 0.3s; position: relative; overflow: hidden; } .pricing-button-plan::after { content: ''; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; background: rgba(106, 13, 173, 0.15); /* Purple Ripple */ transition: all 0.75s; border-radius: 50%; z-index: -1; transform: translate(-50%, -50%) scale(0); } .pricing-button-plan:hover::after { transform: translate(-50%, -50%) scale(1); } .pricing-button-plan:hover { background-color: #f4f4f4; color: #6a0dad; border: 1px solid #6a0dad; transform: translateY(-3px); } /* Adjust button styles for recommended plan */ .recommended .pricing-button-plan { background-color: #8e2de2; /* Brighter Purple */ } .recommended .pricing-button-plan:hover { background-color: #f4f4f4; color: #8e2de2; border: 1px solid #8e2de2; } /* Footer Styling */ footer { background-color: #0f0f16; /* Very Dark Purple */ color: #f4f4f4; text-align: center; padding: 20px 0; margin-top: 60px; } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideInDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes slideInUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Responsive Typography */ @media (max-width: 768px) { header h1 { font-size: 2.5em; } header p { font-size: 1.2em; } .models-section h2, .pricing-section h2 { font-size: 2em; } .button-group a, .button-group button { padding: 12px 20px; font-size: 0.9em; } .plan-card h3 { font-size: 1.5em; } .price { font-size: 1.5em; } .pricing-button-plan { padding: 10px 20px; font-size: 0.9em; } } @media (max-width: 480px) { header h1 { font-size: 2em; } header p { font-size: 1em; } .models-section h2, .pricing-section h2 { font-size: 1.5em; } .button-group a, .button-group button { padding: 10px 16px; font-size: 0.8em; } .plan-card h3 { font-size: 1.2em; } .price { font-size: 1.2em; } .pricing-button-plan { padding: 8px 16px; font-size: 0.8em; } } </style> </head> <body> <!-- Header Section --> <header> <div class="container"> <!-- Removed Logo Image --> <h1>Welcome to Zanity API</h1> <p>Revolutionising AI</p> <!-- Button Group --> <div class="button-group"> <button class="pricing-button">Pricing</button> <a href="https://api.zanity.net/docs" class="docs-button">Docs</a> <a href="https://api.zanity.net/playground" class="playground-button" target="_blank" rel="noopener noreferrer">Playground</a> <a href="https://discord.gg/4DRjqaFkhd" class="discord-button" target="_blank" rel="noopener noreferrer">Discord</a> </div> </div> </header> <!-- Models Section --> <section class="models-section" id="models-section"> <div class="container"> <h2>Access The Top AI Models</h2> <div class="models-grid"> <!-- GPT o1 Card --> <div class="model-card"> <h3>GPT o1</h3> <p>Experience the power of the latest generation language model with advanced natural language understanding and generation capabilities.</p> </div> <!-- Claude 3.5-Sonnet Card --> <div class="model-card"> <h3>Claude 3.5-Sonnet</h3> <p>Benefit from a versatile conversational AI that excels in maintaining context and providing accurate, insightful responses.</p> </div> <!-- Gemini Card --> <div class="model-card"> <h3>Gemini</h3> <p>Unlock innovative solutions with a model designed for complex problem-solving and enhanced AI integration.</p> </div> <!-- Additional Model Cards (Optional) --> <!-- <div class="model-card"> <h3>Model Name</h3> <p>Brief description of the model's capabilities.</p> </div> --> </div> </div> </section> <!-- Pricing Section --> <section class="pricing-section" id="pricing-section"> <div class="container"> <h2>Pricing Plans</h2> <div class="pricing-grid"> <!-- Basic Plan --> <div class="plan-card"> <h3>Basic Plan</h3> <p class="price">€0<span> / month</span></p> <ul class="features"> <li>5 requests per minute</li> <li>1 IP address</li> <li>500 requests daily limit</li> <li>Access to some models</li> </ul> <a href="https://discord.gg/4DRjqaFkhd" class="pricing-button-plan">Get Started</a> </div> <!-- Pro Plan (Recommended) --> <div class="plan-card recommended"> <h3>Pro Plan</h3> <p class="price">€10<span> / month</span></p> <ul class="features"> <li>15 requests per minute</li> <li>5 IP addresses</li> <li>2000 requests daily limit</li> <li>Access to all models</li> </ul> <a href="https://ko-fi.com/voidi/tiers" class="pricing-button-plan">Get Started</a> </div> <!-- Enterprise Plan --> <div class="plan-card"> <h3>Enterprise Plan</h3> <p class="price">€20+<span> / month</span></p> <ul class="features"> <li>Custom requests per minute</li> <li>Custom IP addresses</li> <li>Custom requests daily limit</li> <li>Access to all models</li> <li>Early access to new models</li> <li>Access to o1 and o1-mini</li> </ul> <a href="https://discord.gg/9Xz2gY6KSv" class="pricing-button-plan">Contact Us</a> </div> </div> </div> </section> <!-- Footer Section --> <footer> <div class="container"> <p>© 2024 Zanity API. All rights reserved.</p> </div> </footer> <!-- Optional JavaScript for Custom Scroll Animation --> <script> // Get the pricing button and the pricing section const pricingButton = document.querySelector('.pricing-button'); const pricingSection = document.getElementById('pricing-section'); // Function to perform smooth scroll with easing function smoothScroll(target, duration) { const targetPosition = target.getBoundingClientRect().top + window.pageYOffset; const startPosition = window.pageYOffset; const distance = targetPosition - startPosition; let startTime = null; function animation(currentTime) { if (startTime === null) startTime = currentTime; const timeElapsed = currentTime - startTime; const run = ease(timeElapsed, startPosition, distance, duration); window.scrollTo(0, run); if (timeElapsed < duration) requestAnimationFrame(animation); } // Ease function (easeInOutCubic) function ease(t, b, c, d) { t /= d/2; if (t < 1) return c/2*t*t*t + b; t -= 2; return c/2*(t*t*t + 2) + b; } requestAnimationFrame(animation); } // Event listener for pricing button pricingButton.addEventListener('click', (e) => { e.preventDefault(); smoothScroll(pricingSection, 1000); // Scroll over 1 second }); // Optional: Highlight the pricing button when the pricing section is in view window.addEventListener('scroll', () => { const sectionTop = pricingSection.getBoundingClientRect().top; const sectionBottom = pricingSection.getBoundingClientRect().bottom; if (sectionTop <= 100 && sectionBottom >= 100) { pricingButton.style.backgroundColor = '#8e2de2'; pricingButton.style.color = '#f4f4f4'; } else { pricingButton.style.backgroundColor = '#6a0dad'; pricingButton.style.color = '#f4f4f4'; } }); </script> </body> </html>Changes and Enhancements:
-
Color Palette: A cohesive purple color scheme has been implemented using various shades of purple to give the website a modern and stylish look.
- Body Background: Changed to a deep dark purple (
#1a1a2e) to provide a sleek base. - Header Gradient: Updated to a vibrant purple gradient (
#8e2de2to#4a00e0). - Buttons: Primary buttons now have a solid purple background (
#6a0dad) with hover effects that invert colors for better interactivity. - Sections:
- Models Section: Uses a slightly darker purple (
#2e003e) to differentiate from the body while maintaining the theme. - Pricing Section: Matches the body with the same dark purple (
#1a1a2e) for consistency.
- Models Section: Uses a slightly darker purple (
- Cards: Model and pricing cards have been styled with medium purples (
#411d5f) and borders in a vibrant purple (#6a0dad) to make them stand out.
- Body Background: Changed to a deep dark purple (
-
Text Colors: Adjusted to ensure readability against the dark purple backgrounds.
- Primary text is set to light shades (
#f4f4f4) for high contrast. - Secondary text uses lighter purples (
#d1c4e9) to complement the main text and background.
- Primary text is set to light shades (
-
Buttons and Hover Effects:
- Buttons have a sleek ripple effect with semi-transparent purples to enhance user experience.
- Hover states invert the button colors and add subtle transformations for a modern feel.
-
Card Animations: Maintained the staggered fade-in animations to keep the dynamic feel of the site.
-
Footer: Updated to a very dark purple (
#0f0f16) to complement the overall theme while ensuring the footer stands out. -
Responsive Design: Ensured that typography and button sizes adjust appropriately for different screen sizes, maintaining usability and aesthetics across devices.
-
Button Highlight on Scroll: Enhanced the scroll interaction by updating the pricing button's color when the pricing section is in view, making navigation intuitive.
Additional Recommendations:
- Accessibility: Ensure that all interactive elements are accessible via keyboard navigation and screen readers. Use ARIA labels where necessary.
- Contrast Ratios: Double-check contrast ratios to make sure that text is easily readable against background colors, especially for users with visual impairments.
- Performance: Optimize images and consider using CSS variables for easier theme management if you plan to expand the theme customization in the future.
- Consistency: Maintain consistency in button styles and card designs to ensure a unified look throughout the website.
Feel free to further customize the colors and styles to better fit your brand's identity. Let me know if you need any more adjustments or additional features!
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.