Spaces:
Sleeping
Sleeping
File size: 7,802 Bytes
3f13f2e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 | /* ==========================
Global reset & base
========================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root{
--bg-dark: #000;
--panel-dark: #111;
--muted: #444;
--accent: #68E905;
--accent-2: #a5c747;
--button: #68E905;
--button-text: #000;
--surface: #1a1a1a;
--glass: rgba(255,255,255,0.03);
--max-width: 1200px;
}
/* sensible defaults */
html,body {
height: 100%;
font-family: Arial, sans-serif;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
color: #fff;
background: linear-gradient(270deg, #000000, #32002f, #1c0000);
background-size: 400% 400%;
animation: gradient 8s ease infinite;
min-height: 100vh;
overflow-y: auto; /* allow vertical scroll */
-webkit-overflow-scrolling: touch;
}
/* ==========================
Background & moving layer
========================== */
.moving-background{
position: fixed;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
background-image: linear-gradient(to right, #222, #333, #444);
background-size: 300px 100vh;
animation: move-background 10s linear infinite;
opacity: 0.12;
}
@keyframes move-background {
0% { transform: translateX(0); }
100% { transform: translateX(-300px); }
}
@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* ==========================
Layout containers
========================== */
.app-container {
display: flex;
min-height: 100vh;
max-width: var(--max-width);
margin: 0 auto;
position: relative;
z-index: 2;
}
/* Sidebar */
.sidebar {
background-color: #343a40;
color: #fff;
padding: 20px;
width: 220px;
min-height: 100vh;
}
/* Main content */
.content {
flex: 1 1 auto;
display: flex;
flex-direction: column;
padding: 24px;
}
/* Use a centered main area for single-column pages (login/forms/etc) */
main {
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem;
width: 100%;
z-index: 3;
}
/* ==========================
Navbar
========================== */
.navbar {
background-color: rgba(0,0,0,0.6);
padding: 0.75rem 1rem;
display: flex;
justify-content: center;
align-items: center;
z-index: 4;
position: relative;
gap: 1rem;
}
.navbar ul {
list-style: none;
display: flex;
gap: 0.75rem;
align-items: center;
margin: 0;
padding: 0;
}
.navbar li { margin: 0; }
.nav-link {
color: var(--accent);
text-shadow: 0 0 6px rgba(104,233,5,0.12);
padding: 10px 18px;
border-radius: 20px;
display: inline-block;
text-decoration: none;
font-weight: 600;
transition: box-shadow 150ms ease;
}
.nav-link:hover,
.nav-links a:hover {
box-shadow: 0 0 10px var(--accent-2), 0 0 20px var(--accent-2);
color: #fff;
}
/* active class */
.nav-links a.active {
background: rgba(104,233,5,0.08);
color: var(--accent);
}
/* ==========================
Forms / Cards
========================== */
.form-container {
background-color: #0f0f10;
padding: 20px;
border-radius: 12px;
margin: 20px auto;
max-width: 600px;
box-shadow: 0 6px 24px rgba(0,0,0,0.6);
transform: translateY(0);
animation: slideIn 0.45s ease both;
z-index: 3;
}
@keyframes slideIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Inputs and buttons */
input[type="file"], input[type="text"], input[type="password"], textarea, select, button {
margin: 10px 0;
padding: 10px 12px;
width: 100%;
border: none;
border-radius: 8px;
background-color: #222;
color: #fff;
font-size: 1rem;
outline: none;
transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
input[type="file"]:hover, input[type="text"]:hover, textarea:hover {
transform: translateY(-1px);
background-color: #2a2a2a;
}
button {
background-color: var(--button);
color: var(--button-text);
cursor: pointer;
border-radius: 8px;
padding: 12px 14px;
font-weight: 700;
border: none;
}
button:hover {
filter: brightness(0.95);
}
/* Login container / auth card */
.login-container {
width: 100%;
max-width: 520px;
background-color: rgba(0,0,0,0.6);
padding: 36px;
border-radius: 20px;
box-shadow: 0 0 140px rgba(134,5,233,0.12);
margin: 60px auto;
}
/* Results box */
.results-container {
background-color: #050505;
padding: 20px;
border-radius: 8px;
margin: 20px auto;
max-width: 640px;
box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
/* Pricing cards */
.pricing-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
padding: 40px 12px;
}
.pricing-plan {
background-color: #222;
padding: 20px;
border-radius: 10px;
box-shadow: 0 6px 18px rgba(134,5,233,0.06);
width: 260px;
color: #fff;
}
/* Contact form */
.contact-container { display:flex; flex-direction:column; align-items:center; padding:40px; }
.contact-container form {
width:100%;
max-width:520px;
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
padding:20px;
border-radius: 10px;
box-shadow: 0 0 120px rgba(165,199,71,0.04);
}
/* Buttons common */
.btn {
background-color: var(--button);
color: var(--button-text);
padding: 10px 18px;
border-radius: 8px;
border: none;
cursor: pointer;
}
/* ==========================
Text & small utilities
========================== */
h1, h2 {
margin: 20px 0;
color: var(--accent);
text-align: center;
}
p { color: #ddd; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
/* subtle label color */
label { color: var(--accent); font-weight:600; display:block; margin-bottom:6px; }
/* ==========================
Glowing cursor effect
========================== */
.glowing-effect {
position: fixed;
left: 0;
top: 0;
width: 180px;
height: 180px;
pointer-events: none;
transform: translate(calc(var(--x, 0) - 50%), calc(var(--y, 0) - 50%));
mix-blend-mode: screen;
filter: blur(36px);
z-index: 9999;
background: radial-gradient(circle at center, rgba(104,150,255,0.20) 0%, rgba(104,150,255,0.06) 40%, transparent 70%);
transition: transform 0.04s linear;
}
.glowing-effect.js-generated { opacity: 0.95; }
/* ==========================
Small screens / responsive
========================== */
@media (max-width: 992px) {
.sidebar { display: none; }
.app-container { padding: 0 12px; }
.login-container { margin: 28px auto; padding: 28px; }
.pricing-plan { width: 220px; }
}
@media (max-width: 576px) {
.navbar { flex-direction: column; gap: 8px; padding: 0.5rem; }
.navbar ul { flex-wrap: wrap; gap: 8px; justify-content:center; }
.form-container, .results-container, .login-container, .contact-container form {
width: 95%;
padding: 16px;
margin: 12px auto;
}
.glowing-effect { width: 120px; height: 120px; filter: blur(28px); }
h1 { font-size: 1.4rem; }
}
/* ==========================
Accessibility & reductions
========================== */
/* reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
* { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
/* ==========================
Minor helpers
========================== */
.text {
color: #fff;
font-style: italic;
text-shadow: 0 0 8px #ee00ff;
text-align: center;
z-index: 3;
}
.download-link {
display:inline-block;
margin-top:8px;
padding:8px 12px;
background:#007bff;
color:#fff;
border-radius:6px;
text-decoration:none;
}
/* ensure overlays sit above content */
.app-overlay { position:relative; z-index:5; }
|