skyflytravel.hu/app/globals.css

169 lines
3.6 KiB
CSS

@import "tailwindcss";
@theme {
--font-sans: var(--font-inter);
--color-background: hsl(var(--background));
--color-foreground: hsl(var(--foreground));
--color-card: hsl(var(--card));
--color-card-foreground: hsl(var(--card-foreground));
--color-popover: hsl(var(--popover));
--color-popover-foreground: hsl(var(--popover-foreground));
--color-primary: hsl(var(--primary));
--color-primary-foreground: hsl(var(--primary-foreground));
--color-secondary: hsl(var(--secondary));
--color-secondary-foreground: hsl(var(--secondary-foreground));
--color-muted: hsl(var(--muted));
--color-muted-foreground: hsl(var(--muted-foreground));
--color-accent: hsl(var(--accent));
--color-accent-foreground: hsl(var(--accent-foreground));
--color-destructive: hsl(var(--destructive));
--color-destructive-foreground: hsl(var(--destructive-foreground));
--color-border: hsl(var(--border));
--color-input: hsl(var(--input));
--color-ring: hsl(var(--ring));
}
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 224 71.4% 4.1%;
--card: 0 0% 100%;
--card-foreground: 224 71.4% 4.1%;
--popover: 0 0% 100%;
--popover-foreground: 224 71.4% 4.1%;
--primary: 42 74% 49%;
/* Mustard Gold/Yellow from screenshot */
--primary-foreground: 0 0% 100%;
--secondary: 0 0% 10%;
/* Dark Grey from screenshot */
--secondary-foreground: 0 0% 100%;
--muted: 0 0% 96%;
--muted-foreground: 0 0% 45%;
--accent: 42 74% 95%;
--accent-foreground: 42 74% 20%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 20% 98%;
--border: 0 0% 90%;
--input: 0 0% 90%;
--ring: 42 74% 49%;
--radius: 0.75rem;
}
.dark {
--background: 0 0% 10%;
--foreground: 0 0% 98%;
--card: 0 0% 10%;
--card-foreground: 0 0% 98%;
--popover: 0 0% 10%;
--popover-foreground: 0 0% 98%;
--primary: 42 74% 49%;
--primary-foreground: 0 0% 10%;
--secondary: 0 0% 20%;
--secondary-foreground: 0 0% 100%;
--muted: 0 0% 15%;
--muted-foreground: 0 0% 65%;
--accent: 42 74% 15%;
--accent-foreground: 42 74% 90%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 210 20% 98%;
--border: 0 0% 20%;
--input: 0 0% 20%;
--ring: 42 74% 49%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground font-sans;
font-feature-settings: "rlig" 1, "calt" 1;
}
html {
scroll-behavior: smooth;
}
}
@utility bg-diagonal {
background: linear-gradient(135deg, #D9A321 0%, #B8860B 100%);
}
@utility animation-delay-2000 {
animation-delay: 2s;
}
@utility animation-delay-4000 {
animation-delay: 4s;
}
@keyframes float {
0% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-20px) rotate(2deg);
}
100% {
transform: translateY(0px) rotate(0deg);
}
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
@keyframes blob {
0% {
transform: translate(0px, 0px) scale(1);
}
33% {
transform: translate(30px, -50px) scale(1.1);
}
66% {
transform: translate(-20px, 20px) scale(0.9);
}
100% {
transform: translate(0px, 0px) scale(1);
}
}
.animate-blob {
animation: blob 7s infinite;
}
@media (prefers-reduced-motion: reduce) {
.animate-blob,
.animate-float {
animation: none !important;
}
}
/* reCAPTCHA badge visibility control */
.grecaptcha-badge {
visibility: hidden !important;
opacity: 0;
transition: opacity 0.5s ease, visibility 0.5s;
}
.show-captcha .grecaptcha-badge {
visibility: visible !important;
opacity: 1;
}