Spaces:
Running
Running
/* Creative CSS Effects for Econovation Website */ | |
/* Gradient Backgrounds */ | |
.gradient-bg { | |
background: linear-gradient(135deg, #0a2463, #004e89); | |
color: white; | |
} | |
.gradient-text { | |
background: linear-gradient(90deg, #0a2463, #3a6ea5); | |
-webkit-background-clip: text; | |
background-clip: text; | |
color: transparent; | |
display: inline-block; | |
} | |
/* Glass Morphism Effect */ | |
.glass-card { | |
background: rgba(255, 255, 255, 0.25); | |
backdrop-filter: blur(10px); | |
-webkit-backdrop-filter: blur(10px); | |
border-radius: 10px; | |
border: 1px solid rgba(255, 255, 255, 0.18); | |
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); | |
} | |
/* Animated Gradient Button */ | |
.gradient-btn { | |
background-size: 200% 200%; | |
background-image: linear-gradient(45deg, #0a2463, #1e5f74, #3a6ea5, #0a2463); | |
animation: gradient-shift 4s ease infinite; | |
color: white; | |
border: none; | |
border-radius: 5px; | |
padding: 10px 20px; | |
cursor: pointer; | |
transition: transform 0.3s ease, box-shadow 0.3s ease; | |
} | |
.gradient-btn:hover { | |
transform: translateY(-3px); | |
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); | |
} | |
@keyframes gradient-shift { | |
0% { background-position: 0% 50%; } | |
50% { background-position: 100% 50%; } | |
100% { background-position: 0% 50%; } | |
} | |
/* Floating Animation */ | |
.float { | |
animation: float 6s ease-in-out infinite; | |
} | |
@keyframes float { | |
0% { transform: translateY(0px); } | |
50% { transform: translateY(-20px); } | |
100% { transform: translateY(0px); } | |
} | |
/* Glow Effect */ | |
.glow { | |
box-shadow: 0 0 10px rgba(10, 36, 99, 0.5), | |
0 0 20px rgba(30, 95, 116, 0.3), | |
0 0 30px rgba(58, 110, 165, 0.1); | |
transition: box-shadow 0.3s ease; | |
} | |
.glow:hover { | |
box-shadow: 0 0 15px rgba(10, 36, 99, 0.6), | |
0 0 30px rgba(30, 95, 116, 0.4), | |
0 0 45px rgba(58, 110, 165, 0.2); | |
} | |
/* Particle Canvas Background */ | |
.particle-container { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
overflow: hidden; | |
z-index: -1; | |
} | |
/* Blur Card Effect */ | |
.blur-card { | |
position: relative; | |
overflow: hidden; | |
} | |
.blur-card::before { | |
content: ''; | |
position: absolute; | |
top: -10px; | |
left: -10px; | |
right: -10px; | |
bottom: -10px; | |
background: inherit; | |
filter: blur(10px) saturate(2); | |
z-index: -1; | |
} | |
/* Neon Text Effect */ | |
.neon-text { | |
color: #fff; | |
text-shadow: 0 0 5px #fff, | |
0 0 10px #fff, | |
0 0 15px #0a2463, | |
0 0 20px #1e5f74, | |
0 0 25px #3a6ea5, | |
0 0 30px #004e89, | |
0 0 35px #0a2463; | |
} | |
/* 3D Card Effect */ | |
.card-3d { | |
transition: transform 0.5s ease; | |
transform-style: preserve-3d; | |
} | |
.card-3d:hover { | |
transform: rotateY(10deg) rotateX(10deg); | |
} | |
/* Animated Border */ | |
.animated-border { | |
position: relative; | |
} | |
.animated-border::after { | |
content: ''; | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
width: 0; | |
height: 2px; | |
background: linear-gradient(90deg, #0a2463, #3a6ea5); | |
transition: width 0.3s ease; | |
} | |
.animated-border:hover::after { | |
width: 100%; | |
} | |
/* Frosted Glass Navigation */ | |
.frosted-nav { | |
background: rgba(255, 255, 255, 0.7); | |
backdrop-filter: blur(10px); | |
-webkit-backdrop-filter: blur(10px); | |
border-bottom: 1px solid rgba(255, 255, 255, 0.18); | |
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); | |
} | |
/* Animated Gradient Background */ | |
.animated-gradient-bg { | |
background: linear-gradient(-45deg, #0a2463, #1e5f74, #3a6ea5, #004e89); | |
background-size: 400% 400%; | |
animation: gradient 15s ease infinite; | |
} | |
@keyframes gradient { | |
0% { background-position: 0% 50%; } | |
50% { background-position: 100% 50%; } | |
100% { background-position: 0% 50%; } | |
} | |
/* Ripple Effect */ | |
.ripple { | |
position: relative; | |
overflow: hidden; | |
} | |
.ripple::after { | |
content: ""; | |
display: block; | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
top: 0; | |
left: 0; | |
pointer-events: none; | |
background-image: radial-gradient(circle, #fff 10%, transparent 10.01%); | |
background-repeat: no-repeat; | |
background-position: 50%; | |
transform: scale(10, 10); | |
opacity: 0; | |
transition: transform .5s, opacity 1s; | |
} | |
.ripple:active::after { | |
transform: scale(0, 0); | |
opacity: 0.3; | |
transition: 0s; | |
} | |
/* Shiny Button Effect */ | |
.shiny-btn { | |
position: relative; | |
overflow: hidden; | |
} | |
.shiny-btn::before { | |
content: ''; | |
position: absolute; | |
top: 0; | |
left: -100%; | |
width: 100%; | |
height: 100%; | |
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
transition: 0.5s; | |
} | |
.shiny-btn:hover::before { | |
left: 100%; | |
} | |
/* Crystal Glass Navigation Bar */ | |
.crystal-nav { | |
background: rgba(255, 255, 255, 0.2); | |
backdrop-filter: blur(15px); | |
-webkit-backdrop-filter: blur(15px); | |
border: 1px solid rgba(255, 255, 255, 0.3); | |
border-radius: 0 0 15px 15px; | |
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); | |
margin: 0 15px; | |
width: calc(100% - 30px); | |
padding: 0 20px; | |
} | |
.crystal-nav .nav-link { | |
color: rgba(0, 0, 0, 0.8); | |
font-weight: 500; | |
position: relative; | |
transition: all 0.3s ease; | |
} | |
.crystal-nav .nav-link:hover { | |
color: #0a2463; | |
transform: translateY(-2px); | |
} | |
.crystal-nav .nav-link::after { | |
content: ''; | |
position: absolute; | |
bottom: -5px; | |
left: 0; | |
width: 0; | |
height: 2px; | |
background: linear-gradient(90deg, #0a2463, #3a6ea5); | |
transition: width 0.3s ease; | |
} | |
.crystal-nav .nav-link:hover::after { | |
width: 100%; | |
} | |
.crystal-nav .logo-container { | |
display: flex; | |
align-items: center; | |
gap: 10px; | |
} | |
.crystal-nav .logo-container img { | |
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1)); | |
transition: transform 0.3s ease; | |
} | |
.crystal-nav .logo-container:hover img { | |
transform: scale(1.05); | |
} |