devmahd's picture
Objectif du site
61f78ab verified
Raw History Blame Contribute Delete
1.33 kB
/* Custom styles to complement Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
scroll-behavior: smooth;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f5f0e6;
}
::-webkit-scrollbar-thumb {
background: #d4a017;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #b38812;
}
/* Animation for sections */
section {
transition: all 0.3s ease;
}
/* Custom button hover effect */
.btn-hover-effect {
position: relative;
overflow: hidden;
z-index: 1;
}
.btn-hover-effect::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.1);
transform: translateX(-100%);
transition: transform 0.3s ease;
z-index: -1;
}
.btn-hover-effect:hover::after {
transform: translateX(0);
}
/* Project card hover effect */
.project-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
transform: translateY(-5px);
}
/* Skill icon animation */
.skill-icon {
transition: transform 0.3s ease;
}
.skill-card:hover .skill-icon {
transform: scale(1.1) rotate(5deg);
}