homepage / style.css
CGood4's picture
Update the color scheme to be red, black, and white.
e4623a0 verified
Raw History Blame Contribute Delete
1.02 kB
/* 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;
}