diff --git a/src/assets/styles/pages/layouts/About.css b/src/assets/styles/pages/layouts/About.css index 4964716..832164f 100644 --- a/src/assets/styles/pages/layouts/About.css +++ b/src/assets/styles/pages/layouts/About.css @@ -111,8 +111,30 @@ } + .text-left, .text-right { - text-align: center; + text-align: right; } -} \ No newline at end of file +} + +@media (min-width: 768px) and (max-width: 1024px) { + .mobile-text { + padding: 1.5rem; + /* Adjust padding for mobile */ + /* Semi-transparent background for better readability */ + /* Rounded corners */ + backdrop-filter: blur(10px); + /* Apply blur effect */ + } + + .second-pg{ + margin-left:33%; + } +} + +@media (min-width: 350px) and (max-width: 768px) { + .micromaze-head{ + font-size: 2rem; + } +} diff --git a/src/assets/styles/pages/layouts/Hero.css b/src/assets/styles/pages/layouts/Hero.css index b8b51d8..bc30ee3 100644 --- a/src/assets/styles/pages/layouts/Hero.css +++ b/src/assets/styles/pages/layouts/Hero.css @@ -82,10 +82,26 @@ font-style: normal; /* Adjusted value to move the image lower */ } -@media (min-width: 350px) and (max-width: 1200px) { +@media (min-width: 350px) and (max-width: 480px) { .hero-heading { position: relative; - font-size: 5.5rem; + font-size: 6rem; + margin-left: -3%; + } +} + +@media (min-width: 480px) and (max-width: 640px) { + .hero-heading { + position: relative; + font-size: 7.5rem; + margin-left: -3%; + } +} + +@media (min-width: 640px) and (max-width: 1024px) { + .hero-heading { + position: relative; + font-size: 9rem; margin-left: -3%; } } diff --git a/src/pages/layouts/About.jsx b/src/pages/layouts/About.jsx index 45f3c6b..970cfc4 100644 --- a/src/pages/layouts/About.jsx +++ b/src/pages/layouts/About.jsx @@ -20,13 +20,13 @@ const About = () => { animate={{ opacity: 1, scale: 1 }} transition={{ duration: 1, delay: 0.5 }} > -

What is MicroMaze?

+

What is MicroMaze?

{/* Text Sections */} {