Spaces:
Running
Running
/* Base styles */ | |
:root { | |
--primary: #3B82F6; | |
--primary-hover: #2563EB; | |
--secondary: #4B5563; | |
--bg-dark: #111827; | |
--bg-darker: #0F172A; | |
} | |
/* Language toggle */ | |
[lang="en"] { display: none; } | |
.lang-en [lang="en"] { display: block; } | |
.lang-en [lang="es"] { display: none; } | |
/* Layout */ | |
.container { | |
@apply max-w-6xl mx-auto px-4; | |
} | |
/* Navigation */ | |
.nav-link { | |
@apply transition-all duration-300; | |
} | |
.nav-link:hover { | |
transform: translateY(-2px); | |
} | |
/* Cards */ | |
.card { | |
@apply transition-all duration-300 bg-gray-800 bg-opacity-50 p-6 rounded-lg border border-gray-700; | |
background: linear-gradient(135deg, rgba(31, 41, 55, 0.98), rgba(17, 24, 39, 0.98)); | |
} | |
.card:hover { | |
transform: translateY(-2px); | |
@apply shadow-lg border-opacity-50; | |
} | |
/* Buttons */ | |
.btn { | |
@apply transition-all duration-300 inline-flex items-center justify-center gap-2; | |
} | |
.btn:hover { | |
transform: translateY(-1px); | |
} | |
/* Timeline */ | |
.timeline ol { | |
@apply border-l-2 border-gray-600 pl-6; | |
} | |
.timeline li { | |
@apply relative mb-6; | |
} | |
.timeline li:before { | |
content: ''; | |
@apply absolute -left-[27px] top-1 w-4 h-4 bg-blue-500 rounded-full; | |
} | |
/* Tooltips */ | |
.tooltip { | |
@apply absolute bottom-full right-0 mb-2 bg-black text-white text-sm py-1 px-2 rounded opacity-0 transition-opacity; | |
} | |
.group:hover .tooltip { | |
@apply opacity-100; | |
} | |
/* Contact buttons */ | |
.contact-btn { | |
@apply btn p-4 rounded-full group relative; | |
} | |
.contact-btn.whatsapp { | |
@apply bg-green-600 hover:bg-green-700; | |
} | |
.contact-btn.email { | |
@apply bg-blue-600 hover:bg-blue-700; | |
} | |
/* Responsive */ | |
@media (max-width: 768px) { | |
.card { | |
@apply p-4; | |
} | |
.timeline ol { | |
@apply pl-4; | |
} | |
} |