GRV-Summit-Site/app/globals.css
“kirukib” 1a710aa3c6
Some checks are pending
Deploy to Cloudflare Workers (OpenNext) / deploy (push) Waiting to run
first commit + project setup
2026-05-20 11:57:21 +03:00

192 lines
4.5 KiB
CSS

@import "tailwindcss";
@custom-variant dark (&:is(.dark *));
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--font-sans: var(--font-body);
--font-display: var(--font-display);
--color-brand-green: #1a5c38;
--color-brand-green-dark: #0d3d26;
--color-brand-gold: #ffb300;
--color-brand-blue: #1f3d7e;
--color-brand-navy: #0f0404;
--color-surface-muted: #f7f7f7;
--color-text-muted: #767676;
}
:root {
--radius: 0.75rem;
--background: #ffffff;
--foreground: #0d3d26;
--card: #ffffff;
--card-foreground: #0d3d26;
--popover: #ffffff;
--popover-foreground: #0d3d26;
/* Primary: brand green · Secondary: white */
--primary: #1a5c38;
--primary-foreground: #ffffff;
--secondary: #ffffff;
--secondary-foreground: #1a5c38;
--muted: #f0f5f2;
--muted-foreground: #5a6b62;
--accent: #ffb300;
--accent-foreground: #0d3d26;
--destructive: #dc2626;
--border: #dce8e0;
--input: #dce8e0;
--ring: #1a5c38;
--hero: #0d3d26;
--section-muted: #f0f5f2;
--section-inverse: #1a5c38;
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground antialiased;
font-family: var(--font-body), system-ui, sans-serif;
}
h1,
h2,
h3,
h4 {
font-family: var(--font-display), system-ui, sans-serif;
letter-spacing: -0.02em;
}
}
@layer utilities {
.text-balance {
text-wrap: balance;
}
.section-inverse {
background: var(--section-inverse);
color: #fafafa;
}
.section-muted {
background: var(--section-muted);
}
.grain {
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.marquee {
animation: marquee 40s linear infinite;
}
@keyframes marquee {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
@media (prefers-reduced-motion: reduce) {
.marquee {
animation: none;
}
}
.ticket-notch::before,
.ticket-notch::after {
content: "";
position: absolute;
left: 50%;
width: 1.5rem;
height: 1.5rem;
transform: translateX(-50%);
border-radius: 9999px;
background: var(--section-inverse, #0a0a0a);
}
.ticket-notch::before {
top: -0.75rem;
}
.ticket-notch::after {
bottom: -0.75rem;
}
/* Navbar tickets CTA — glow + text + arrow */
@keyframes ticket-glow {
0%,
100% {
box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.4);
}
50% {
box-shadow: 0 0 0 10px rgba(255, 179, 0, 0);
}
}
@keyframes ticket-text-pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.06);
}
}
@keyframes ticket-arrow-nudge {
0%,
100% {
transform: translateX(0);
}
50% {
transform: translateX(4px);
}
}
.ticket-cta-pulse {
animation: ticket-glow 2.2s ease-in-out infinite;
}
.ticket-cta-text {
display: inline-block;
animation: ticket-text-pulse 2.2s ease-in-out infinite;
}
.ticket-cta-arrow {
animation: ticket-arrow-nudge 2.2s ease-in-out infinite;
}
@keyframes ticket-card-enter {
from {
opacity: 0;
transform: translateY(24px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.ticket-card-enter {
animation: ticket-card-enter 0.6s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
.ticket-cta-pulse,
.ticket-cta-text,
.ticket-cta-arrow,
.ticket-card-enter {
animation: none;
}
}
}