1<!--Lenis Smooth Scroll-->
2<style>
3html.lenis {
4 height: auto;
5}
6.lenis.lenis-smooth {
7 scroll-behavior: auto;
8}
9.lenis.lenis-smooth [data-lenis-prevent] {
10 overscroll-behavior: contain;
11}
12.lenis.lenis-stopped {
13 overflow: hidden;
14}
15</style>
1<!--Lenis Smooth Scroll-->
2<script src="https://cdn.jsdelivr.net/gh/studio-freight/lenis@1.0.23/bundled/lenis.min.js"></script>
3<script>
4// LENIS SMOOTH SCROLL
5let lenis;
6if (Webflow.env("editor") === undefined) {
7 lenis = new Lenis({
8 lerp: 0.1,
9 wheelMultiplier: 0.7,
10 gestureOrientation: "vertical",
11 normalizeWheel: false,
12 smoothTouch: false
13 });
14 function raf(time) {
15 lenis.raf(time);
16 requestAnimationFrame(raf);
17 }
18 requestAnimationFrame(raf);
19}
20$("[data-lenis-start]").on("click", function () {
21 lenis.start();
22});
23$("[data-lenis-stop]").on("click", function () {
24 lenis.stop();
25});
26$("[data-lenis-toggle]").on("click", function () {
27 $(this).toggleClass("stop-scroll");
28 if ($(this).hasClass("stop-scroll")) {
29 lenis.stop();
30 } else {
31 lenis.start();
32 }
33});
34</script>
1<!--Video Lightbox-->
2<style>
3.w-lightbox-frame, .w-lightbox-embed {
4 width: 80vw;
5 height: 80vh;
6}
7</style>
1<!--Video Lightbox-->
2<style>
3.w-lightbox-backdrop {
4 background: rgba(0,0,0,0.2) !important;
5 backdrop-filter: blur(4px);
6}
7</style>
1<!--Name-->
2data-preserve-aspect-ratio
3
4<!--Value-->
5xMidYMid slice