cyberuslabs / style.css
fancycashew2's picture
<!-- HERO -->
ffcbd60 verified
Raw
History Blame Contribute Delete
3.67 kB
/* Additional custom styles for enhanced animations */
body {
--glow-intensity: 0.8;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #1e293b;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, #e65103, #ff6d00);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #e65103;
}
/* Smooth Scrolling */
html {
scroll-behavior: smooth;
}
/* Selection Color */
::selection {
background: rgba(230, 81, 3, 0.3);
color: #f5f5f5;
}
/* Loading Animation */
#loading-overlay {
position: fixed;
inset: 0;
background: #0f172a;
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
}
.loader {
width: 50px;
height: 50px;
border: 3px solid #1e293b;
border-top-color: #e65103;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* 3D Tilt Effect for Cards */
.card-gradient {
transform-style: preserve-3d;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card-gradient:hover {
transform: rotateY(5deg) rotateX(5deg) translateY(-10px);
}
/* Glowing Text Effect */
.text-glow {
text-shadow: 0 0 10px rgba(230, 81, 3, calc(var(--glow-intensity) * 0.5));
}
/* Gradient Border Animation */
.animated-border {
position: relative;
}
.animated-border::before {
content: '';
position: absolute;
inset: -2px;
background: linear-gradient(45deg, #e65103, #ff6d00, #ff8c42, #e65103);
border-radius: inherit;
z-index: -1;
animation: border-animation 3s linear infinite;
background-size: 400% 400%;
}
@keyframes border-animation {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Enhanced Button Hover Effects */
.btn-primary, .btn-secondary {
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}
.btn-primary::after, .btn-secondary::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transform: translateX(-100%);
transition: transform 0.6s ease;
}
.btn-primary:hover::after, .btn-secondary:hover::after {
transform: translateX(100%);
}
/* Staggered Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
/* Gradient Text Animation */
@keyframes gradient-shift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.animated-gradient-text {
background: linear-gradient(90deg, #e65103, #ff8c42, #e65103);
background-size: 200% 200%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: gradient-shift 3s ease infinite;
}
/* Responsive Adjustments for Pyramid */
@media (max-width: 768px) {
.pyramid-face h3 {
font-size: 1.5rem;
}
#pyramid-container {
height: 500px;
}
}
/* Glow Pulse Variation */
.glow-pulse-slow {
animation: glow-pulse 4s ease-in-out infinite alternate;
}
.glow-pulse-fast {
animation: glow-pulse 1s ease-in-out infinite alternate;
}
/* Tech Icon Hover Enhancement */
.tech-icon {
transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.tech-icon:hover {
transform: scale(1.2) rotate(15deg);
filter: drop-shadow(0 0 15px rgba(230, 81, 3, var(--glow-intensity)));
}