diff --git a/public/assets/images/home/whereNew.jpg b/public/assets/images/home/whereNew.jpg new file mode 100644 index 0000000..159a31a Binary files /dev/null and b/public/assets/images/home/whereNew.jpg differ diff --git a/src/styles/aboutSection.module.css b/src/styles/aboutSection.module.css index 0279c9d..fc117fd 100644 --- a/src/styles/aboutSection.module.css +++ b/src/styles/aboutSection.module.css @@ -119,25 +119,16 @@ width: 100%; height: 100%; /* Use the requested image */ - background-image: url('/assets/images/home/where.webp'); + background-image: url('/assets/images/home/whereNew.jpg'); background-attachment: fixed; - background-position: center right; - /* Align right for the text-left layout */ + background-position: center; background-repeat: no-repeat; background-size: cover; + min-height: 400px; - /* On larger screens, position center of image at 75% of viewport width (center of right half) */ + /* On larger screens, adjust positioning */ @media (min-width: 1024px) { - background-size: 38vw auto; - background-position: 73% center; - } -} - -/* Mobile fallback for fixed attachment */ -@media (max-width: 1024px) { - .parallaxImage { - background-attachment: scroll; - min-height: 400px; + background-size: cover; background-position: center; } } \ No newline at end of file