diff --git a/src/pages/tarot/Tarot.css b/src/pages/tarot/Tarot.css index 7c90115..9d8f9dd 100644 --- a/src/pages/tarot/Tarot.css +++ b/src/pages/tarot/Tarot.css @@ -40,6 +40,20 @@ z-index: 0; } +.tarot__hero-video { + position: absolute; + inset: 0; + width: 100%; + height: 100%; + object-fit: cover; + z-index: 0; + pointer-events: none; +} + +@media (prefers-reduced-motion: reduce) { + .tarot__hero-video { display: none; } +} + .tarot__hero-overlay { position: absolute; inset: 0; diff --git a/src/pages/tarot/Tarot.jsx b/src/pages/tarot/Tarot.jsx index 3384bb3..40f2dfb 100644 --- a/src/pages/tarot/Tarot.jsx +++ b/src/pages/tarot/Tarot.jsx @@ -6,6 +6,17 @@ export default function Tarot() { return (
+
@@ -64,10 +75,6 @@ export default function Tarot() {