-
@@ -135,7 +137,7 @@ import bearRight from '../graphics/bear_blue.svg';
// bg graphic parallax
// kudos to https://keithclark.co.uk/articles/pure-css-parallax-websites/ (1/12/2024)
- .parallax {
+ .parallax-container {
position: absolute;
width: 100%;
height: 100svh;
@@ -148,7 +150,7 @@ import bearRight from '../graphics/bear_blue.svg';
height: 100svh;
transform-style: preserve-3d;
- div {
+ .parallax {
position: absolute;
top: 0;
left: 0;
@@ -188,6 +190,17 @@ import bearRight from '../graphics/bear_blue.svg';
translateY(-50%);
}
+ .hero-brand {
+ $offset: 50px;
+ position: absolute;
+ right: -$offset;
+ top: 50%;
+ transform: translate(
+ calc(clamp(#{-$offset}, -12vw, 0px) - 10px),
+ calc(50% + 150px)
+ );
+ }
+
.bear-left {
position: absolute;
left: -$offset-left;
@@ -211,7 +224,7 @@ import bearRight from '../graphics/bear_blue.svg';