Spaces:
Running

storeogencro / style.css
donceops's picture
please du må lage knappene bedre jeg liker ikke leie jeg vil at det skal være mindre mindre er bedre
76eeb0a verified
Raw History Blame
4.37 kB
/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
:root {
--amber-500: #f59e0b;
--amber-600: #d97706;
--amber-700: #b45309;
--gold-500: #fbbf24;
--gold-600: #f59e0b;
}
body {
font-family: 'Inter', sans-serif;
background-color: #0a0a0a;
color: #f9fafb;
background-image: url('http://static.photos/luxury/1200x630/42');
background-size: cover;
background-attachment: fixed;
background-position: center;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #1f2937;
}
::-webkit-scrollbar-thumb {
background: var(--fuchsia-600);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--fuchsia-500);
}
/* Luxury animations */
.animate-fadeIn {
opacity: 0;
animation: fadeIn 1.2s ease forwards;
}
.animate-text-glow {
animation: textGlow 3s ease infinite;
}
@keyframes textGlow {
0% { filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.5)); }
50% { filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.8)); }
100% { filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.5)); }
}
.animate-slideIn {
opacity: 0;
transform: translateY(30px);
animation: slideIn 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}
.animate-fadeInUp {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.8s ease forwards;
}
.animate-scaleIn {
animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes fadeIn {
to { opacity: 1; }
}
@keyframes slideIn {
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes scaleIn {
0% { transform: scale(0.8); opacity: 0; }
100% { transform: scale(1); opacity: 1; }
}
/* Gold text glow */
.text-gold-glow {
text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}
/* Product card glow */
.card-glow:hover {
box-shadow: 0 0 50px rgba(251, 191, 36, 0.5);
transform: translateY(-10px) scale(1.02);
transition: all 0.3s ease;
}
/* Animation for hero section */
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.floating {
animation: float 3s ease-in-out infinite;
}
/* Gradient text utility */
.bg-gradient-text {
background: linear-gradient(90deg, var(--amber-500), var(--gold-500));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.hero-content {
padding-top: 4rem;
}
.hero-title {
font-size: 2.5rem;
}
}
/* Button hover effects */
.btn-hover-effect {
transition: all 0.3s ease;
padding: 0.5rem 1rem;
font-size: 0.875rem;
}
.btn-hover-effect:hover {
transform: translateY(-1px);
box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}
/* Luxury border animation */
.luxury-border {
position: relative;
}
.luxury-border::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 2px solid transparent;
border-radius: inherit;
background: linear-gradient(45deg, var(--amber-500), var(--gold-500), var(--amber-500)) border-box;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: destination-out;
mask-composite: exclude;
pointer-events: none;
}
/* Pre-order badge */
.pre-order-badge {
position: absolute;
top: 10px;
right: 10px;
background: linear-gradient(45deg, var(--amber-500), var(--gold-500));
color: #111827;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-weight: bold;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Card hover effects */
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}
/* Section padding utilities */
.section-padding {
padding: 5rem 0;
}
/* Background utilities */
.bg-dark-gradient {
background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}
/* Text utilities */
.text-glow {
text-shadow: 0 0 10px rgba(217, 70, 239, 0.5);
}