275 lines
6.9 KiB
CSS
275 lines
6.9 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--brand-primary: #139957;
|
|
--brand-primary-deep: #0d854a;
|
|
--brand-secondary: #ff5600;
|
|
--brand-surface: #f4fbf7;
|
|
--brand-muted: #d8eee1;
|
|
--brand-ink: #0f2f20;
|
|
}
|
|
|
|
[data-theme='aqua'] {
|
|
color-scheme: light;
|
|
--color-base-100: oklch(98% 0.002 247.839);
|
|
--color-base-200: oklch(96% 0.003 264.542);
|
|
--color-base-300: oklch(92% 0.006 264.531);
|
|
--color-base-content: oklch(21% 0.034 264.665);
|
|
--color-primary: oklch(84% 0.238 128.85);
|
|
--color-primary-content: oklch(27% 0.072 132.109);
|
|
--color-secondary: oklch(71% 0.202 349.761);
|
|
--color-secondary-content: oklch(28% 0.109 3.907);
|
|
--color-accent: oklch(67% 0.182 276.935);
|
|
--color-accent-content: oklch(25% 0.09 281.288);
|
|
--color-neutral: oklch(13% 0.028 261.692);
|
|
--color-neutral-content: oklch(98% 0.002 247.839);
|
|
--color-info: oklch(68% 0.169 237.323);
|
|
--color-info-content: oklch(97% 0.013 236.62);
|
|
--color-success: oklch(76% 0.233 130.85);
|
|
--color-success-content: oklch(98% 0.031 120.757);
|
|
--color-warning: oklch(70% 0.213 47.604);
|
|
--color-warning-content: oklch(98% 0.016 73.684);
|
|
--color-error: oklch(65% 0.241 354.308);
|
|
--color-error-content: oklch(97% 0.014 343.198);
|
|
--radius-selector: 2rem;
|
|
--radius-field: 2rem;
|
|
--radius-box: 2rem;
|
|
--size-selector: 0.3125rem;
|
|
--size-field: 0.3125rem;
|
|
--border: 1px;
|
|
--depth: 0;
|
|
--noise: 1;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Manrope', 'Segoe UI', sans-serif;
|
|
@apply text-base-content;
|
|
background:
|
|
linear-gradient(
|
|
135deg,
|
|
color-mix(in oklab, var(--color-primary) 14%, #f5fcf8) 0%,
|
|
color-mix(in oklab, #f7fff9 84%, white) 28%,
|
|
color-mix(in oklab, var(--color-success) 16%, #f2fbf6) 52%,
|
|
color-mix(in oklab, #f4fff8 82%, white) 76%,
|
|
color-mix(in oklab, var(--color-accent) 8%, #f7fff8) 100%
|
|
);
|
|
background-size: 220% 220%;
|
|
animation: fregat-aurora 22s ease-in-out infinite;
|
|
color: var(--color-base-content);
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.lk-shell {
|
|
@apply min-h-screen;
|
|
position: relative;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.lk-shell::before,
|
|
.lk-shell::after {
|
|
content: '';
|
|
position: fixed;
|
|
inset: -30%;
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
filter: blur(52px);
|
|
}
|
|
|
|
.lk-shell::before {
|
|
background:
|
|
radial-gradient(circle at 18% 22%, rgba(132, 227, 174, 0.34) 0%, rgba(132, 227, 174, 0) 40%),
|
|
radial-gradient(circle at 78% 16%, rgba(186, 248, 214, 0.26) 0%, rgba(186, 248, 214, 0) 45%);
|
|
animation: fregat-float-a 18s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.lk-shell::after {
|
|
background:
|
|
radial-gradient(circle at 85% 82%, rgba(95, 194, 140, 0.2) 0%, rgba(95, 194, 140, 0) 42%),
|
|
radial-gradient(circle at 30% 78%, rgba(200, 255, 228, 0.24) 0%, rgba(200, 255, 228, 0) 40%);
|
|
animation: fregat-float-b 24s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.lk-content-canvas {
|
|
border: 1px solid rgba(255, 255, 255, 0.52);
|
|
border-radius: 2rem;
|
|
background:
|
|
linear-gradient(160deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.36));
|
|
box-shadow:
|
|
0 22px 60px rgba(16, 73, 44, 0.16),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.72);
|
|
-webkit-backdrop-filter: blur(16px) saturate(170%);
|
|
backdrop-filter: blur(16px) saturate(170%);
|
|
padding: clamp(1rem, 1.2vw, 1.5rem);
|
|
}
|
|
|
|
.surface-card {
|
|
border: 1px solid color-mix(in oklab, var(--color-base-content) 12%, white);
|
|
background: rgba(255, 255, 255, 0.95);
|
|
box-shadow:
|
|
0 16px 36px rgba(24, 66, 44, 0.1),
|
|
0 1px 0 rgba(255, 255, 255, 0.62) inset;
|
|
}
|
|
|
|
.fregat-header-glass {
|
|
background: transparent;
|
|
}
|
|
|
|
.fregat-header-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
height: 350%;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
backdrop-filter: blur(16px) saturate(180%);
|
|
-webkit-mask-image: linear-gradient(to bottom, black 0%, black 20%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.1) 65%, transparent 100%);
|
|
mask-image: linear-gradient(to bottom, black 0%, black 20%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.1) 65%, transparent 100%);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.fregat-header-row {
|
|
gap: 0.5rem;
|
|
--fregat-pill-shell-px: 0.5rem;
|
|
--fregat-pill-shell-py: 0.5rem;
|
|
}
|
|
|
|
.fregat-pill-shell {
|
|
padding-inline: var(--fregat-pill-shell-px);
|
|
padding-block: var(--fregat-pill-shell-py);
|
|
}
|
|
|
|
.fregat-pill-glass {
|
|
position: relative;
|
|
isolation: isolate;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
box-shadow:
|
|
0 8px 32px rgba(31, 38, 135, 0.2),
|
|
inset 0 4px 20px rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.fregat-pill-glass::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
border-radius: inherit;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
box-shadow:
|
|
inset -10px -8px 0 -11px rgba(255, 255, 255, 1),
|
|
inset 0 -9px 0 -8px rgba(255, 255, 255, 1);
|
|
opacity: 0.45;
|
|
filter: blur(1px) brightness(115%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.fregat-pill-glass > * {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.fregat-pill-right {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.fregat-pill-center {
|
|
min-width: 0;
|
|
}
|
|
|
|
.fregat-pill-brand {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.lk-nav-link {
|
|
@apply inline-flex items-center gap-2 rounded-full px-4 py-2 text-sm font-semibold transition-all duration-200;
|
|
color: color-mix(in oklab, var(--color-base-content) 78%, transparent);
|
|
}
|
|
|
|
.lk-nav-link:hover {
|
|
background: rgba(255, 255, 255, 0.44);
|
|
color: var(--color-base-content);
|
|
}
|
|
|
|
.lk-nav-link-active {
|
|
background: color-mix(in oklab, var(--color-primary) 86%, white);
|
|
color: var(--color-primary-content);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.11);
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.fregat-header-row {
|
|
min-height: 3rem;
|
|
--fregat-pill-shell-px: 0.75rem;
|
|
}
|
|
|
|
.fregat-pill-brand,
|
|
.fregat-pill-center,
|
|
.fregat-pill-right {
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
.fregat-pill-brand {
|
|
left: 0;
|
|
}
|
|
|
|
.fregat-pill-center {
|
|
left: 50%;
|
|
width: max-content;
|
|
max-width: min(54vw, 900px);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.fregat-pill-right {
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
.fregat-pill-brand {
|
|
padding-inline: 0.75rem;
|
|
}
|
|
|
|
.lk-nav-link {
|
|
padding-inline: 0.7rem;
|
|
padding-block: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.product-card-anim {
|
|
animation: product-card-in 0.55s ease-out both;
|
|
}
|
|
|
|
@keyframes fregat-aurora {
|
|
0% { background-position: 0% 30%; }
|
|
50% { background-position: 100% 70%; }
|
|
100% { background-position: 0% 30%; }
|
|
}
|
|
|
|
@keyframes fregat-float-a {
|
|
from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
|
|
to { transform: translate3d(2.5%, 1.8%, 0) scale(1.05); }
|
|
}
|
|
|
|
@keyframes fregat-float-b {
|
|
from { transform: translate3d(2%, 2%, 0) scale(1.02); }
|
|
to { transform: translate3d(-2%, -1%, 0) scale(1.06); }
|
|
}
|
|
|
|
@keyframes product-card-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(14px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|