Spaces:
Running
Running
File size: 1,019 Bytes
e4623a0 13ecfdc e4623a0 13ecfdc e4623a0 13ecfdc e4623a0 13ecfdc e4623a0 13ecfdc e4623a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
/* Custom styles */
:root {
--primary: #d63031;
--primary-dark: #b71c1c;
--secondary: #000000;
--light: #ffffff;
--light-bg: #f8f9fa;
--dark: #212529;
}
#hero {
min-height: 100vh;
}
/* Smooth scrolling for anchor links */
html {
scroll-behavior: smooth;
}
/* Custom underline animation */
.hover-underline-animation {
display: inline-block;
position: relative;
}
.hover-underline-animation::after {
content: '';
position: absolute;
width: 100%;
transform: scaleX(0);
height: 2px;
bottom: 0;
left: 0;
background-color: currentColor;
transform-origin: bottom right;
transition: transform 0.25s ease-out;
}
.hover-underline-animation:hover::after {
transform: scaleX(1);
transform-origin: bottom left;
}
/* Custom fade-in animation */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.fade-in {
animation: fadeIn 1s ease-in-out;
}
/* Section spacing */
section {
padding-top: 5rem;
padding-bottom: 5rem;
} |