|
6 | 6 | 1. RESET & GLOBAL SETTINGS (Complements Tailwind’s Preflight)
|
7 | 7 | ------------------------------------------------------------------------- */
|
8 | 8 |
|
9 |
| -/* Additional focus styling for accessibility */ |
10 |
| -*, *::before, *::after { |
11 |
| - margin: 0; |
12 |
| - padding: 0; |
13 |
| - box-sizing: border-box; |
14 |
| -} |
15 | 9 |
|
16 |
| -html { |
17 |
| - font-size: 16px; |
18 |
| - scroll-behavior: smooth; |
19 |
| - scroll-snap-type: y mandatory; |
20 |
| -} |
21 |
| - |
22 |
| -body { |
23 |
| - line-height: 1.6; |
24 |
| - padding: var(--base-padding, 1rem); |
25 |
| - overflow-x: hidden; |
26 |
| - position: relative; |
27 |
| -} |
28 |
| - |
29 |
| -/* Additional focus styling for accessibility */ |
30 |
| -:focus { |
31 |
| - outline: 2px dashed var(--primary-color); |
32 |
| - outline-offset: 4px; |
33 |
| -} |
34 | 10 |
|
35 | 11 | /* -------------------------------------------------------------------------
|
36 | 12 | 2. CSS VARIABLES (THEMING, SIZING, & ANIMATION SETTINGS)
|
37 | 13 | ------------------------------------------------------------------------- */
|
38 |
| -:root { |
39 |
| - /* Colors – calm, professional palette */ |
40 |
| - --primary-color: #007BFF; /* Professional blue */ |
41 |
| - --primary-hover: #0056b3; |
42 |
| - --accent-color: #6C7B8B; /* Gray-blue tone for accents */ |
43 |
| - --neon-green: #A8DADC; /* Calm pastel blue (for /* Clear, dark text */ |
44 |
| - --modal-bg: #ffffff; |
45 |
| - --modal-border: #cccccc; |
46 |
| - --modal-shadow: rgba(0, 0, 0, 0.1); |
47 |
| - |
48 |
| - /* Spacing & Sizing */ |
49 |
| - --base-padding: 1rem; |
50 |
| - --container-max-width: 1140px; |
51 |
| - --bubble-size: 60px; |
52 |
| - |
53 |
| - /* Animation Durations */ |
54 |
| - --float-duration: 8s; |
55 |
| - --tiktok-duration: 3s; |
56 |
| - --shimmer-duration: 2s; |
57 |
| - --neon-pulse-duration: 5s; |
58 |
| - --emoji-toggle-interval: 5000ms; |
59 |
| - |
60 |
| - /* Effects */ |
61 |
| - --float-effect: 3px; |
62 |
| -} |
63 | 14 |
|
64 | 15 | /* -------------------------------------------------------------------------
|
65 | 16 | 3. TYPOGRAPHY & TEXT UTILITIES
|
66 | 17 | ------------------------------------------------------------------------- */
|
67 |
| -h1, h2, h3, h4, h5, h6:hover { |
68 |
| - font-family: 'M PLUS Rounded 1c', sans-serif; |
69 |
| - margin-bottom: 0.5em; |
70 |
| - text-transform: uppercase; |
71 |
| - letter-spacing: 0.05em; |
72 |
| - /* Subtle neon glow effect */ |
73 |
| - text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color); |
74 |
| -} |
75 |
| - |
76 |
| -p:hover { |
77 |
| - margin-bottom: 1em; |
78 |
| - font-size: 1rem; |
79 |
| - line-height: 1.5; |
80 |
| -} |
81 |
| - |
82 |
| -/* Utility classes */ |
83 |
| -.text-center { text-align: center; } |
84 |
| -.text-white { color: #ffffff !important; } |
85 |
| -.text-muted { color: #777777 !important; } |
86 | 18 |
|
87 | 19 | /* -------------------------------------------------------------------------
|
88 | 20 | 4. LAYOUT & STRUCTURAL CONTAINERS
|
89 | 21 | ------------------------------------------------------------------------- */
|
90 |
| -/* Bootstrap-like containers */ |
91 |
| -.container, |
92 |
| -.container-fluid:hover { |
93 |
| - max-width: var(--container-max-width); |
94 |
| - margin: 0 auto; |
95 |
| - padding: 0 15px; |
96 |
| -} |
97 |
| - |
98 |
| -/* Sticky header for consistent navigation */ |
99 |
| -header:hover { |
100 |
| - position: absolute; |
101 |
| - top: 0; |
102 |
| - left: 0; |
103 |
| - width: 100%; |
104 |
| - z-index: 9999; |
105 |
| - padding: 1.5rem; |
106 |
| - background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); |
107 |
| - border-bottom: 3px solid var(--primary-hover); |
108 |
| - overflow: hidden; |
109 |
| -} |
110 |
| - |
111 |
| -/* Full background images navigation */ |
112 |
| -.bg-image-full { |
113 |
| - background-size: cover; |
114 |
| - background-position: center; |
115 |
| - background-repeat: no-repeat; |
116 |
| -} |
117 |
| - |
118 |
| -header::after { |
119 |
| - content: ""; |
120 |
| - position: absolute; |
121 |
| - top: 0; |
122 |
| - left: 0; |
123 |
| - width: 100%; |
124 |
| - height: 100%; |
125 |
| - background: rgba(0, 0, 0, 0.2); |
126 |
| - z-index: 1; |
127 |
| -} |
128 |
| - |
129 |
| - |
130 |
| -footer:hover { |
131 |
| - padding: 2rem 0; |
132 |
| - text-align: center; |
133 |
| - font-size: 0.9rem; |
134 |
| - margin-top: 2rem; |
135 |
| -} |
136 |
| - |
137 |
| -/* Main slide-in container for content */ |
138 |
| -.slide-container { |
139 |
| - width: 100vw; |
140 |
| - min-height: 100vh; |
141 |
| - animation: slideIn 1s ease-out forwards; |
142 |
| - padding: 2rem 0; |
143 |
| -} |
144 | 22 |
|
145 | 23 | @keyframes slideIn {
|
146 | 24 | from { transform: translateY(100vh); opacity: 0; }
|
|
0 commit comments