/* Reset and Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } body { /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */ font-family: "Roboto Mono", monospace; line-height: 1.6; color: #ffffff; background-color: #0f172a; } button { font-family: "Roboto Mono", monospace; } button::hover { transform: scale(1.05); transition: all 0.2s ease-in-out; box-shadow: 0 0 10px #ff6a00; } .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } /* Utility Classes */ .accent { color: #f97316; } .section-title { font-size: 2.5rem; font-weight: bold; margin-bottom: 1.5rem; } .section-divider { width: 3rem; height: 0.25rem; background-color: #f97316; margin: 0 auto 3rem; } /* Header */ .header { padding: 1.5rem 0; position: fixed; top: 0; width: 100%; background-color: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); z-index: 1000; } .nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } .nav-brand { font-size: 1.25rem; font-weight: bold; color: #ffffff; text-decoration: none; } .nav-menu { display: flex; gap: 2rem; } .nav-link { color: #ffffff; text-decoration: none; transition: color 0.3s ease; } .nav-link:hover { color: #f97316; } .nav-toggle { display: none; font-size: 1.5rem; cursor: pointer; } /* Hero Section */ .hero { padding: 8rem 0 5rem; min-height: 100vh; display: flex; align-items: center; } .hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; } .hero-title { font-size: 4rem; font-weight: bold; margin-bottom: 1.5rem; } .hero-subtitle { font-size: 1.1rem; margin-bottom: 2rem; } .hero-role { font-size: 3rem; font-weight: bold; margin-bottom: 2rem; letter-spacing: 0.1rem; } .hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; } .avatar-below { margin-top:2rem; text-align: center; } .btn { padding: 0.75rem 1.5rem; border: none; border-radius: 0.375rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; } .btn-primary { background-color: #f97316; color: white; } .btn-primary:hover { background-color: #ea580c; } .btn-outline { background-color: transparent; color: white; border: 2px solid white; } .btn-outline:hover { background-color: white; color: #0f172a; } .btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; } .tech-stack { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 20px; margin-bottom: 30px; } .tech-badge { background-color: #1e293b; color: #cbd5e1; padding: 0.5rem 0.75rem; border-radius: 1rem; font-size: 0.875rem; } /* Profile Image */ .profile-container { position: relative; width: 20rem; height: 20rem; margin: 0 auto; } .gradient-bg { position: absolute; border-radius: 50%; } .gradient-1 { inset: 0; background: linear-gradient(45deg, #f97316, #dc2626); opacity: 0.2; } .gradient-2 { inset: 1rem; background: linear-gradient(45deg, #f97316, #dc2626); opacity: 0.4; } .profile-img { position: relative; z-index: 10; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; } /* About & Services Section */ .about-services { padding: 5rem 0; } .about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; } .services { display: flex; flex-direction: column; gap: 2rem; margin-top: 5rem; } .service-item { display: flex; align-items: flex-start; gap: 1rem; } .service-icon { color: #f97316; font-size: 2rem; margin-top: 0.25rem; } .service-text h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; color:#f97316; } .service-text p { color: #b0b0b0; } .about-text { color: #b0b0b0; margin-bottom: 2rem; } .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .stat-item { text-align: center; } .stat-number { font-size: 2rem; font-weight: bold; color: #f97316; margin-bottom: 0.5rem; } .stat-label { font-size: 0.875rem; color: #b0b0b0; } /* Social Media Section */ .social-media { padding: 5rem 0; background-color: #111827; } .social-media-content { text-align: center; } .social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .social-card { display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #1e293b; border-radius: 1rem; padding: 2rem 1rem; color: white; text-decoration: none; transition: all 0.3s ease; border: 2px solid transparent; position: relative; overflow: hidden; } .social-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)); opacity: 0; transition: opacity 0.3s ease; } .social-card:hover::before { opacity: 1; } .social-card i { font-size: 3rem; margin-bottom: 1rem; transition: transform 0.3s ease; } .social-card span { font-weight: 500; } .social-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .social-card:hover i { transform: scale(1.2); } /* Social card colors */ .youtube { border-color: #ff0000; } .youtube i { color: #ff0000; } .tiktok { border-color: black; } .tiktok i { color : white; } .zalo { border-color: #0284c7; } .zalo i { color:white; } .zalo i img { width: 48px; height: 48px; } .facebook { border-color: #1877f2; } .facebook i { color: #1877f2; } .github { border-color: #6e5494; } .github i { color: #6e5494; } .linkedin { border-color: #0a66c2; } .linkedin i { color: #0a66c2; } .twitter { border-color: #1da1f2; } .twitter i { color: #1da1f2; } .instagram { border-color: #e4405f; } .instagram i { color: #e4405f; } /* Responsive adjustments for social grid */ @media (max-width: 768px) { .social-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 480px) { .social-grid { grid-template-columns: repeat(2, 1fr); } } /* Projects Section */ .projects { padding: 5rem 0; } .section-header { text-align: center; margin-bottom: 3rem; } .projects-slider { position: relative; border-radius: 1rem; padding: 1rem; } .slider-container { display: flex; transition: transform 0.5s ease-in-out; } .slide { min-width: 100%; opacity: 0; transition: opacity 0.5s ease-in-out; } .slide.active { opacity: 1; } .projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 1rem; } .project-card { /* background-color: #1e293b; */ border: 1px solid #334155; /* border-radius: 0.5rem; */ overflow: hidden; display: block; grid-template-columns: 1fr 1fr; transition: transform 0.3s ease, box-shadow 0.3s ease; /*new*/ padding: 1.5rem; background-color: #1e1f2b; border-radius: 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); margin-bottom: 2rem; animation: fadeIn 0.4s ease-in; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .project-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); } .animate-on-scroll { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; } .animate-on-scroll.active { opacity: 1; transform: translateY(0); } .project-info { padding: 1.5rem; } .project-title { font-size: 1.3rem; font-weight: bold; margin-bottom: 0.75rem; } .project-description { color: #b0b0b0; font-size: 0.875rem; margin-bottom: 1rem; line-height: 1.5; } .project-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; } .tech-tag { background-color: #374151; color: #d1d5db; padding: 4px 8px; border-radius: 8px; font-size: 0.75rem; font-weight: 500; display: inline-block; } .project-buttons { display: flex; gap: 0.75rem; } .project-preview { /* background-color: #0f172a; */ background-color: #1e1f2b; padding: 1rem; display: flex; align-items: center; justify-content: center; min-height: 200px; margin-top: 1rem; } .project-preview img { width: 100%; height: auto; border-radius: 0.5rem; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } /* Project Preview Styles */ .ecommerce-preview { width: 180px; height: 140px; background-color: #374151; border-radius: 0.5rem; padding: 0.5rem; } .preview-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; } .header-nav { width: 60px; height: 8px; background-color: #6b7280; border-radius: 0.25rem; } .header-cart { width: 20px; height: 8px; background-color: #f97316; border-radius: 0.25rem; } .preview-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; } .product-card { height: 40px; background-color: #4b5563; border-radius: 0.25rem; } .weather-preview { text-align: center; color: white; padding: 1rem; } .weather-icon { font-size: 3rem; margin-bottom: 0.5rem; } .weather-temp { font-size: 2rem; font-weight: bold; color: #f97316; margin-bottom: 0.25rem; } .weather-location { color: #94a3b8; margin-bottom: 1rem; } .weather-forecast { display: flex; gap: 0.5rem; justify-content: center; } .forecast-day { width: 30px; height: 40px; background-color: #374151; border-radius: 0.25rem; } .task-preview { display: flex; gap: 0.5rem; width: 180px; } .task-column { flex: 1; background-color: #374151; border-radius: 0.25rem; padding: 0.5rem; } .task-header { font-size: 0.75rem; color: #d1d5db; margin-bottom: 0.5rem; text-align: center; } .task-item { height: 20px; background-color: #4b5563; border-radius: 0.25rem; margin-bottom: 0.25rem; } .dashboard-preview { width: 160px; text-align: center; } .chart-container { display: flex; align-items: end; gap: 0.25rem; height: 80px; margin-bottom: 1rem; } .chart-bar { flex: 1; background: linear-gradient(to top, #f97316, #ea580c); border-radius: 0.125rem; } .metrics { display: flex; justify-content: space-around; } .metric { color: #f97316; font-weight: bold; } .crypto-preview { background-color: #374151; border-radius: 0.5rem; padding: 1rem; width: 160px; text-align: center; } .crypto-header { color: #94a3b8; font-size: 0.875rem; margin-bottom: 0.5rem; } .crypto-value { font-size: 1.5rem; font-weight: bold; color: white; margin-bottom: 0.25rem; } .crypto-change { color: #22c55e; font-size: 0.875rem; margin-bottom: 1rem; } .crypto-coins { display: flex; flex-direction: column; gap: 0.25rem; } .coin-item { display: flex; justify-content: space-between; font-size: 0.75rem; color: #d1d5db; } .recipe-preview { background-color: #374151; border-radius: 0.5rem; padding: 1rem; width: 160px; text-align: center; } .recipe-image { width: 100%; height: 60px; background: linear-gradient(135deg, #f97316, #ea580c); border-radius: 0.25rem; margin-bottom: 0.5rem; } .recipe-title { font-weight: bold; color: white; margin-bottom: 0.25rem; font-size: 0.875rem; } .recipe-time, .recipe-rating { font-size: 0.75rem; color: #94a3b8; margin-bottom: 0.25rem; } .recipe-ingredients { display: flex; flex-direction: column; gap: 0.125rem; margin-top: 0.5rem; } .ingredient { height: 8px; background-color: #4b5563; border-radius: 0.125rem; } .fitness-preview { text-align: center; color: white; } .fitness-stats { margin-bottom: 1rem; } .stat-circle { position: relative; width: 80px; height: 80px; margin: 0 auto; display: flex; align-items: center; justify-content: center; } .progress-ring { position: absolute; width: 100%; height: 100%; border: 4px solid #374151; border-top: 4px solid #f97316; border-radius: 50%; transform: rotate(-90deg); } .stat-circle span { font-weight: bold; color: #f97316; } .fitness-metrics { display: flex; flex-direction: column; gap: 0.5rem; } .metric-item { display: flex; justify-content: space-between; font-size: 0.875rem; } .metric-item span:first-child { color: #94a3b8; } .lms-preview { background-color: #374151; border-radius: 0.5rem; padding: 1rem; width: 180px; } .course-header { margin-bottom: 1rem; } .course-title { color: white; font-weight: bold; margin-bottom: 0.5rem; } .course-progress { background-color: #4b5563; height: 8px; border-radius: 0.25rem; overflow: hidden; } .progress-bar { width: 60%; height: 100%; background-color: #f97316; } .course-modules { display: flex; flex-direction: column; gap: 0.25rem; } .module { padding: 0.25rem 0.5rem; border-radius: 0.25rem; font-size: 0.75rem; background-color: #4b5563; color: #94a3b8; } .module.completed { background-color: #22c55e; color: white; } .module.current { background-color: #f97316; color: white; } /* Slider Controls */ .slider-controls { position: absolute; top: calc(50% - 50px); transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 1rem; pointer-events: none; } .slider-btn { background-color: rgba(249, 115, 22, 0.9); border: none; border-radius: 50%; width: 50px; height: 50px; color: white; font-size: 1.25rem; cursor: pointer; transition: all 0.3s ease; pointer-events: all; display: flex; align-items: center; justify-content: center; position:absolute; } .prev-btn { left: -50px; } .next-btn { right: -18px; } .slider-btn:hover { background-color: #ea580c; transform: scale(1.1); } .slider-btn:disabled { opacity: 0.5; cursor: not-allowed; } /* Dot Indicators */ .slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; } .dot { width: 12px; height: 12px; border-radius: 50%; background-color: #4b5563; cursor: pointer; transition: all 0.3s ease; } .dot.active { background-color: #f97316; transform: scale(1.2); } .dot:hover { background-color: #f97316; } .hide { display: none; } /* Project Filter Navigation */ .project-filter-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; padding: 1rem; background-color: #1e293b; border-radius: 1rem; border: 1px solid #334155; } .filter-btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; background-color: transparent; color: #94a3b8; border: 2px solid transparent; border-radius: 0.75rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; } .filter-btn::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent); transition: left 0.5s ease; } .filter-btn:hover::before { left: 100%; } .filter-btn:hover { color: #f97316; border-color: #f97316; transform: translateY(-2px); } .filter-btn.active { background-color: #f97316; color: white; border-color: #f97316; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3); background: linear-gradient(135deg, #ffa500, #ff7f50); } .filter-btn i { font-size: 1.125rem; } .filter-btn .count { background-color: rgba(255, 255, 255, 0.2); color: inherit; padding: 0.25rem 0.5rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 600; min-width: 1.5rem; text-align: center; } .filter-btn.active .count { background-color: rgba(255, 255, 255, 0.3); } /* Category Info */ .category-info { text-align: center; padding: 1rem; background-color: #1e293b; border-radius: 0.75rem; border: 1px solid #334155; } .category-stats { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; } .current-category { font-size: 1.125rem; font-weight: 600; color: #f97316; } .project-count { color: #b0b0b0; font-size: 0.875rem; } /* badges*/ .project-category-badge { display: inline-flex; align-items: center; text-transform: uppercase; letter-spacing: 0.05em; position: relative; overflow: hidden; transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent; backdrop-filter: blur(10px); font-size: 0.75rem; font-weight: 600; border-radius: 9999px; padding: 0.25rem 0.75rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); gap: 0.3rem; } .project-category-badge::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: left 0.6s ease; } .project-category-badge:hover::before { left: 100%; } .project-category-badge.web { background: linear-gradient(135deg, #0ea5e9, #0284c7, #0369a1); color: white; border-color: rgba(14, 165, 233, 0.3); box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3); } .project-category-badge.web:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4); border-color: rgba(255, 255, 255, 0.3); } /* Desktop Development Badge - Emerald Green Theme */ .project-category-badge.desktop { background: linear-gradient(135deg, #10b981, #059669, #047857); color: white; border-color: rgba(16, 185, 129, 0.3); box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3); } .project-category-badge.mobile:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4); border-color: rgba(255, 255, 255, 0.3); } /* Game Development Badge - Purple Cosmic Theme */ .project-category-badge.game { background: linear-gradient(135deg, #8b5cf6, #7c3aed, #6d28d9); color: white; border-color: rgba(139, 92, 246, 0.3); box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3); position: relative; } .project-category-badge.game::after { content: ""; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%); transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.3s ease; } .project-category-badge.game:hover::after { opacity: 1; } .project-category-badge.game:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4); border-color: rgba(255, 255, 255, 0.3); } /* Responsive Design for Projects */ @media (max-width: 1024px) { .projects-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } } @media (max-width: 768px) { .projects-grid { grid-template-columns: 1fr; gap: 1rem; } .project-card { grid-template-columns: 1fr; } .project-preview { min-height: 150px; } .slider-controls { padding: 0 0.5rem; } .slider-btn { width: 40px; height: 40px; font-size: 1rem; } .services { margin-top: 0; } } @media (max-width: 480px) { .project-buttons { flex-direction: column; } .slider-btn { width: 35px; height: 35px; font-size: 0.875rem; } } /* Contact Section */ .contact { padding: 5rem 0; } .contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; } .contact-title { font-size: 2.5rem; font-weight: bold; margin-bottom: 0.5rem; } .contact-subtitle { font-size: 2.5rem; font-weight: bold; margin-bottom: 2rem; } .contact-form { display: flex; flex-direction: column; gap: 1.5rem; } .form-group { display: flex; flex-direction: column; } .form-group label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; } .form-group input, .form-group textarea { background-color: #1e293b; border: 1px solid #334155; border-radius: 0.375rem; padding: 0.75rem 1rem; color: white; font-size: 1rem; } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: #f97316; } /* Footer */ .footer { padding: 3rem 0; border-top: 1px solid #1e293b; } .footer-content { text-align: center; } .footer-title { font-size: 1.25rem; font-weight: bold; margin-bottom: 0.5rem; } .footer-text { color: #b0b0b0; margin-bottom: 1.5rem; } .footer-link { color:#b0b0b0; text-decoration: none; } .social-links { display: flex; justify-content: center; gap: 1rem; } .social-link { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; color: #94a3b8; transition: color 0.3s ease; } .footer-link:hover, .social-link:hover { color: #f97316; transform: scale(1.1); transition: all 0.2s ease; } /* Responsive Design */ @media (max-width: 1260px) { .slider-btn { width: 45px; height: 45px; } .prev-btn { left: -35px; } .next-btn { right: -5px; } } @media(max-width: 1000px) { .project-card { display: block; } } @media (max-width: 768px) { .nav-menu { position: fixed; top: 100%; left: 0; width: 100%; background-color: #0f172a; flex-direction: column; padding: 2rem; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: all 0.3s ease; } .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; } .nav-toggle { display: block; } .hero-content { grid-template-columns: 1fr; text-align: center; } .hero-title { font-size: 3rem; } .hero-role { font-size: 2rem; } .hero-buttons { justify-content: center; flex-wrap: wrap; } .profile-container { width: 15rem; height: 15rem; } .about-content { grid-template-columns: 1fr; gap: 2rem; } .stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; } .projects-grid { grid-template-columns: 1fr; } .project-card { grid-template-columns: 1fr; } .contact-content { grid-template-columns: 1fr; gap: 2rem; } .section-title { font-size: 2rem; } .contact-title, .contact-subtitle { font-size: 2rem; } .prev-btn { left: -30px; } .next-btn { right: 0px; } } @media (max-width: 480px) { .container { padding: 0 1rem; } .hero { padding: 6rem 0 3rem; } .hero-title { font-size: 2.5rem; } .hero-role { font-size: 1.5rem; } .tech-stack { justify-content: center; } .stats { grid-template-columns: 1fr; gap: 1rem; } .projects-grid { grid-template-columns: 1fr; } .project-buttons { flex-direction: column; } } /* Smooth scrolling */ html { scroll-behavior: smooth; } /* Animation for elements coming into view */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .fade-in { animation: fadeInUp 0.6s ease-out; }