Hmayda's picture
i also plan to add course and blog sections and please redesign it and make it responsive
6e72093 verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
scroll-behavior: smooth;
}
.skill-card {
background-color: #f5f3ff;
color: #4f46e5;
padding: 0.75rem 1rem;
border-radius: 0.5rem;
text-align: center;
font-weight: 500;
transition: all 0.3s ease;
}
.skill-card:hover {
background-color: #e0e7ff;
transform: translateY(-2px);
}
.experience-card {
background-color: white;
padding: 2rem;
border-radius: 1rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: transform 0.3s ease;
}
.experience-card:hover {
transform: translateY(-5px);
}
.project-card,
.course-card,
.blog-card {
background-color: white;
border-radius: 0.75rem;
overflow: hidden;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: all 0.3s ease;
}
.project-card:hover,
.course-card:hover,
.blog-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.btn-primary {
display: inline-block;
background-color: #4f46e5;
color: white;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 500;
transition: all 0.3s ease;
}
.btn-primary:hover {
background-color: #4338ca;
transform: translateY(-2px);
}
.btn-secondary {
display: inline-block;
background-color: #e0e7ff;
color: #4f46e5;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
font-weight: 500;
transition: all 0.3s ease;
}
.btn-secondary:hover {
background-color: #c7d2fe;
transform: translateY(-2px);
}
.badge {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
}
.badge[data-level="beginner"] {
background-color: #d1fae5;
color: #065f46;
}
.badge[data-level="intermediate"] {
background-color: #dbeafe;
color: #1e40af;
}
.badge[data-level="advanced"] {
background-color: #fce7f3;
color: #9d174d;
}
@media (max-width: 640px) {
.grid-cols-2,
.grid-cols-3,
.grid-cols-4 {
grid-template-columns: 1fr;
}
.hero-section {
flex-direction: column;
}
.contact-section .grid-cols-2 {
grid-template-columns: 1fr;
gap: 2rem;
}
}
.tech-tag {
background-color: #e0e7ff;
color: #4f46e5;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.875rem;
font-weight: 500;
}
.certification-card {
background-color: white;
padding: 1.5rem;
border-radius: 0.75rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: transform 0.3s ease;
}
.certification-card:hover {
transform: translateY(-5px);
}
.social-icon {
display: flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
background-color: #e0e7ff;
color: #4f46e5;
transition: all 0.3s ease;
}
.social-icon:hover {
background-color: #4f46e5;
color: white;
transform: translateY(-2px);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #c7d2fe;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a5b4fc;
}