 {} *{} #IE-warning { display: none; position: fixed; width: 100%; height: 100%; z-index: 9999; background: white; } .IE-warning-message { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } :root { --primary-color: #2c3e50; --secondary-color: #3498db; --accent-color: #e74c3c; --light-color: #ecf0f1; --dark-color: #2c3e50; --text-color: #333; --text-light: #777; } body { line-height: 1.6; color: var(--text-color); background-color: #f9f9f9; } .container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Header & Navigation */ header { background-color: white; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: fixed; width: 100%; top: 0; z-index: 1000; } nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; } .logo { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); text-decoration: none; } .logo span { color: var(--secondary-color); } .nav-links { display: flex; list-style: none; } .nav-links li { margin-left: 30px; } .nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s; } .nav-links a:hover { color: var(--secondary-color); } .mobile-menu-btn { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--primary-color); } /* Hero Section */ .hero { padding: 150px 0 100px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; text-align: center; } .hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 700; } .hero-content p { font-size: 1.3rem; max-width: 700px; margin: 0 auto 30px; opacity: 0.9; } .hero-content .highlight { color: #f1c40f; font-weight: 600; } .btn { display: inline-block; padding: 12px 30px; background-color: var(--accent-color); color: white; text-decoration: none; border-radius: 5px; font-weight: 600; transition: all 0.3s; border: none; cursor: pointer; } .btn:hover { background-color: #c0392b; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .btn-outline { background-color: transparent; border: 2px solid white; margin-left: 15px; } .btn-outline:hover { background-color: white; color: var(--primary-color); } /* About Section */ .section { padding: 100px 0; } .section-title { text-align: center; margin-bottom: 60px; } .section-title h2 { font-size: 2.5rem; color: var(--primary-color); position: relative; display: inline-block; padding-bottom: 15px; } .section-title h2:after { content: ''; position: absolute; width: 70px; height: 4px; background-color: var(--secondary-color); bottom: 0; left: 50%; transform: translateX(-50%); } .about-content { display: flex; align-items: center; gap: 50px; } .about-image { flex: 1; text-align: center; } .about-image img { width: 100%; max-width: 400px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); } .about-text { flex: 1; } .about-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary-color); } .about-text p { margin-bottom: 20px; color: var(--text-light); } /* Skills Section */ .skills { background-color: #f5f7fa; } .skills-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .skill-card { background-color: white; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s; } .skill-card:hover { transform: translateY(-10px); } .skill-card i { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 20px; } .skill-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-color); } /* Contact Section */ .contact-info { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-top: 40px; } .contact-item { display: flex; align-items: center; background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); width: 300px; } .contact-item i { font-size: 1.8rem; color: var(--secondary-color); margin-right: 15px; } /* Footer */ footer { background-color: var(--primary-color); color: white; padding: 60px 0 30px; text-align: center; } .social-links { display: flex; justify-content: center; margin: 30px 0; } .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background-color: rgba(255, 255, 255, 0.1); border-radius: 50%; margin: 0 10px; color: white; font-size: 1.2rem; transition: all 0.3s; } .social-links a:hover { background-color: var(--secondary-color); transform: translateY(-5px); } .copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; } /* Responsive Design */ @media (max-width: 992px) { .hero-content h1 { font-size: 2.8rem; } .about-content { flex-direction: column; } } @media (max-width: 768px) { .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: white; flex-direction: column; padding: 20px; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1); } .nav-links.active { display: flex; } .nav-links li { margin: 10px 0; } .mobile-menu-btn { display: block; } .hero-content h1 { font-size: 2.2rem; } .hero-content p { font-size: 1.1rem; } .btn { padding: 10px 20px; } .section { padding: 70px 0; } } @media (max-width: 576px) { .hero { padding: 120px 0 70px; } .hero-content h1 { font-size: 1.8rem; } .section-title h2 { font-size: 2rem; } .btn-container { display: flex; flex-direction: column; gap: 15px; } .btn-outline { margin-left: 0; } } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } :root { --primary-color: #2c3e50; --secondary-color: #3498db; --accent-color: #e74c3c; --light-color: #ecf0f1; --dark-color: #2c3e50; --text-color: #333; --text-light: #777; } body { line-height: 1.6; color: var(--text-color); background-color: #f9f9f9; } .container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Header & Navigation */ header { background-color: white; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: fixed; width: 100%; top: 0; z-index: 1000; } nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; } .logo { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); text-decoration: none; } .logo span { color: var(--secondary-color); } .nav-links { display: flex; list-style: none; } .nav-links li { margin-left: 30px; } .nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s; } .nav-links a:hover { color: var(--secondary-color); } .mobile-menu-btn { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--primary-color); } /* Hero Section */ .hero { padding: 150px 0 100px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; text-align: center; } .hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 700; } .hero-content p { font-size: 1.3rem; max-width: 700px; margin: 0 auto 30px; opacity: 0.9; } .hero-content .highlight { color: #f1c40f; font-weight: 600; } .btn { display: inline-block; padding: 12px 30px; background-color: var(--accent-color); color: white; text-decoration: none; border-radius: 5px; font-weight: 600; transition: all 0.3s; border: none; cursor: pointer; } .btn:hover { background-color: #c0392b; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .btn-outline { background-color: transparent; border: 2px solid white; margin-left: 15px; } .btn-outline:hover { background-color: white; color: var(--primary-color); } /* About Section */ .section { padding: 100px 0; } .section-title { text-align: center; margin-bottom: 60px; } .section-title h2 { font-size: 2.5rem; color: var(--primary-color); position: relative; display: inline-block; padding-bottom: 15px; } .section-title h2:after { content: ''; position: absolute; width: 70px; height: 4px; background-color: var(--secondary-color); bottom: 0; left: 50%; transform: translateX(-50%); } .about-content { display: flex; align-items: center; gap: 50px; } .about-image { flex: 1; text-align: center; } .about-image img { width: 100%; max-width: 400px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); } .about-text { flex: 1; } .about-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary-color); } .about-text p { margin-bottom: 20px; color: var(--text-light); } /* Skills Section */ .skills { background-color: #f5f7fa; } .skills-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .skill-card { background-color: white; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s; } .skill-card:hover { transform: translateY(-10px); } .skill-card i { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 20px; } .skill-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-color); } /* Contact Section */ .contact-info { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-top: 40px; } .contact-item { display: flex; align-items: center; background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); width: 300px; } .contact-item i { font-size: 1.8rem; color: var(--secondary-color); margin-right: 15px; } /* Footer */ footer { background-color: var(--primary-color); color: white; padding: 60px 0 30px; text-align: center; } .social-links { display: flex; justify-content: center; margin: 30px 0; } .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background-color: rgba(255, 255, 255, 0.1); border-radius: 50%; margin: 0 10px; color: white; font-size: 1.2rem; transition: all 0.3s; } .social-links a:hover { background-color: var(--secondary-color); transform: translateY(-5px); } .copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; } /* Responsive Design */ @media (max-width: 992px) { .hero-content h1 { font-size: 2.8rem; } .about-content { flex-direction: column; } } @media (max-width: 768px) { .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: white; flex-direction: column; padding: 20px; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1); } .nav-links.active { display: flex; } .nav-links li { margin: 10px 0; } .mobile-menu-btn { display: block; } .hero-content h1 { font-size: 2.2rem; } .hero-content p { font-size: 1.1rem; } .btn { padding: 10px 20px; } .section { padding: 70px 0; } } @media (max-width: 576px) { .hero { padding: 120px 0 70px; } .hero-content h1 { font-size: 1.8rem; } .section-title h2 { font-size: 2rem; } .btn-container { display: flex; flex-direction: column; gap: 15px; } .btn-outline { margin-left: 0; } }
