essence-horizon / style.css
CodeSerenity's picture
create web professional DESIGN IN THE MIDDLE MARKET OF ESSENCE
0551b5e verified
/* Custom styles that complement Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Custom button animations */
.btn-scale {
transition: transform 0.3s ease;
}
.btn-scale:hover {
transform: translateY(-2px);
}
/* Section padding consistency */
section {
padding-top: 5rem;
padding-bottom: 5rem;
}
/* Hero section text shadow */
.hero-text {
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Card hover effects */
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
/* Custom underline animation */
.link-underline {
position: relative;
display: inline-block;
}
.link-underline::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 0;
background-color: currentColor;
transition: width 0.3s ease;
}
.link-underline:hover::after {
width: 100%;
}