Spaces:
Sleeping
Sleeping
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| body { | |
| /* CHANGED: Now looking for 'bg.png' */ | |
| background-image: url('/assets/bg.png'); | |
| /* Keeps the background fixed while you scroll (Parallax feel) */ | |
| background-attachment: fixed; | |
| background-size: cover; | |
| background-position: center; | |
| background-repeat: no-repeat; | |
| /* Fallback color if image fails to load */ | |
| background-color: #FAFAFA; | |
| /* Mobile smoothness */ | |
| overscroll-behavior-y: none; | |
| -webkit-tap-highlight-color: transparent; | |
| } | |
| /* The "Frost" Overlay - Keeps the text readable over the drops */ | |
| body::before { | |
| content: ""; | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(255, 255, 255, 0.4); /* Slightly stronger frost for PNGs */ | |
| backdrop-filter: blur(10px); | |
| z-index: -1; | |
| pointer-events: none; | |
| } | |
| /* Hide Scrollbars */ | |
| .no-scrollbar::-webkit-scrollbar { | |
| display: none; | |
| } | |
| .no-scrollbar { | |
| -ms-overflow-style: none; | |
| scrollbar-width: none; | |
| } | |
| /* Safe Area for notch phones */ | |
| .pt-safe-top { | |
| padding-top: env(safe-area-inset-top); | |
| } | |
| .mb-safe { | |
| padding-bottom: env(safe-area-inset-bottom); | |
| } | |