Sample Page

/* --- Base Variables & Resets --- */ :root { --primary-color: #2563eb; --secondary-color: #1e40af; --text-color: #333; --bg-color: #f8fafc; --card-bg: #ffffff; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; scroll-behavior: smooth; } body { background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; } a { text-decoration: none; color: inherit; } /* --- Navigation --- */ #navbar { position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); z-index: 1000; transition: all 0.3s ease; } .nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; max-width: 1200px; margin: 0 auto; } .logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); } .nav-links { list-style: none; display: flex; gap: 2rem; } .nav-links a:hover { color: var(--primary-color); } .hamburger { display: none; font-size: 1.5rem; cursor: pointer; } /* --- Hero Section --- */ .hero { height: 100vh; display: flex; align-items: center; padding: 0 5%; max-width: 1200px; margin: 0 auto; } .hero-content h1 { font-size: 4rem; margin-bottom: 0.5rem; } .highlight { color: var(--primary-color); } .hero-content h2 { font-size: 2rem; font-weight: 400; color: #64748b; margin-bottom: 1rem; } .hero-content p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 600px; } .btn { padding: 0.8rem 2rem; background-color: var(--primary-color); color: white; border-radius: 5px; font-weight: 600; transition: background 0.3s; } .btn:hover { background-color: var(--secondary-color); } /* --- General Section Styling --- */ section { padding: 5rem 5%; max-width: 1200px; margin: 0 auto; } .section-title { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; color: var(--primary-color); } /* --- Skills / About --- */ .skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .skill-card { background: var(--card-bg); padding: 2rem; border-radius: 10px; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.3s; } .skill-card:hover { transform: translateY(-5px); } .skill-card i { font-size: 3rem; color: var(--primary-color); margin-bottom: 1rem; } /* --- Experience Timeline --- */ .timeline { max-width: 800px; margin: 0 auto; border-left: 3px solid var(--primary-color); padding-left: 2rem; } .timeline-item { position: relative; margin-bottom: 2rem; } .timeline-item::before { content: ''; position: absolute; left: -2.45rem; top: 0; width: 15px; height: 15px; background: var(--primary-color); border-radius: 50%; } .timeline-item h4 { color: #64748b; margin-bottom: 0.5rem; } /* --- Projects --- */ .project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .project-card { background: var(--card-bg); padding: 2rem; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); } .project-card h3 { margin-bottom: 1rem; } .tags { margin-top: 1.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; } .tags span { background: #e2e8f0; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; } /* --- Contact --- */ .contact { text-align: center; } .contact-info { margin-top: 2rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; } .contact-link { font-size: 1.2rem; font-weight: 600; } .contact-link i { color: var(--primary-color); margin-right: 0.5rem; } /* --- Footer --- */ footer { text-align: center; padding: 2rem; background: #1e293b; color: white; } /* --- Responsive Design --- */ @media (max-width: 768px) { .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: white; padding: 1rem 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .nav-links.active { display: flex; text-align: center; } .hamburger { display: block; } .hero-content h1 { font-size: 3rem; } }