cosmic-explorer / style.css
Nico85525's picture
ameliore ce site
947dfa4 verified
Raw History Blame Contribute Delete
1.54 kB
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary-color: #6366f1;
--secondary-color: #8b5cf6;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
body {
background-color: #0f172a;
color: #f1f5f9;
overflow-x: hidden;
}
.gradient-bg {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.card-hover:hover {
transform: translateY(-10px);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.image-card {
transition: all 0.3s ease;
border-radius: 1rem;
overflow: hidden;
background: rgba(30, 41, 59, 0.7);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.image-card:hover {
transform: scale(1.03);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
100% { transform: translateY(0px); }
}
.pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.loading-spinner {
width: 3rem;
height: 3rem;
border: 5px solid rgba(99, 102, 241, 0.3);
border-top: 5px solid var(--primary-color);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}