Portfolio CSS

/* AMOLED Dark Theme Variables */ :root { --bg-color: #000000; --card-bg: #121212; --text-primary: #ffffff; --text-secondary: #b3b3b3; --accent-color: #00f3ff; --accent-secondary: #bc13fe; --glass-bg: rgba(255, 255, 255, 0.05); --glass-border: rgba(255, 255, 255, 0.1); --font-main: 'Inter', sans-serif; } * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; align-content: flex-start; } body { background-color: var(--bg-color); color: var(--text-primary); font-family: var(--font-main); overflow-x: hidden; } /* Loading Screen */ #loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #000000; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease-out; } .loader-content { font-size: 5rem; font-weight: 900; color: var(--accent-color); animation: rotateA 2s infinite linear, glow 1.5s ease-in-out infinite alternate; text-shadow: 0 0 20px var(--accent-color); } @keyframes rotateA { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } } @keyframes glow { from { text-shadow: 0 0 10px var(--accent-color); } to { text-shadow: 0 0 30px var(--accent-color), 0 0 10px var(--accent-secondary); } } /* Three.js Background */ #canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.6; } /* Navbar */ nav { position: fixed; top: 0; width: 100%; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; z-index: 100; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); border-bottom: 1px solid var(--glass-border); } .logo { font-size: 1.5rem; font-weight: 700; color: var(--accent-color); text-decoration: none; letter-spacing: 2px; } .nav-links { display: flex; gap: 2rem; list-style: none; } .nav-links a { color: var(--text-primary); text-decoration: none; font-weight: 500; transition: color 0.3s; position: relative; } .nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent-secondary); transition: width 0.3s; } .nav-links a:hover::after { width: 100%; } .nav-links a:hover { color: var(--accent-color); } /* Sections */ section { min-height: 100vh; padding: 6rem 2rem; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; max-width: 1200px; margin: 0 auto; width: 100%; } h2 { font-size: 3rem; margin-bottom: 3rem; background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary)); background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; letter-spacing: 2px; } /* Hero Section */ .hero-content { text-align: center; z-index: 1; } .hero-content h1 { font-size: 4.5rem; margin-bottom: 1rem; line-height: 1.1; } .hero-content p { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 2rem; } .btn { display: inline-block; padding: 1rem 2.5rem; background: transparent; border: 2px solid var(--accent-color); color: var(--accent-color); font-weight: 700; text-transform: uppercase; text-decoration: none; transition: all 0.3s; border-radius: 5px; margin: 0.5rem; position: relative; overflow: hidden; } .btn:hover { background: var(--accent-color); color: #000; box-shadow: 0 0 20px var(--accent-color); } /* About & Skills */ .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; } .skill-tags { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; justify-content: center; } .skill-tag { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 0.5rem 1.5rem; border-radius: 50px; color: var(--text-primary); font-weight: 500; transition: all 0.3s; } .skill-tag:hover { border-color: var(--accent-color); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 243, 255, 0.2); } /* Projects */ .skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; width: 100%; } .skill-card { background: rgba(255, 255, 255, 0.05); padding: 2rem; border-radius: 15px; text-align: center; border: 2px solid #ffffff; transition: all 0.3s ease; cursor: pointer; } .skill-card:hover { transform: translateY(-10px) scale(1.05); background: linear-gradient(135deg, #3b82f6, #2563eb); border-color: #3b82f6; box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4); } .skill-card h3 { font-size: 1.5rem; color: #ffffff; margin-bottom: 0.5rem; transition: all 0.3s ease; } .skill-card p { color: #cccccc; transition: all 0.3s ease; } .skill-card:hover p { color: #ffffff; } /* Projects Modal */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 2000; overflow-y: auto; animation: fadeIn 0.3s ease; } .modal.active { display: block; } .modal-content { padding: 6rem 5% 3rem; max-width: 1400px; margin: 0 auto; } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; } .modal-header h2 { margin: 0; } .close-btn { background: rgba(255, 0, 0, 0.2); border: 2px solid #ff0000; color: #ff0000; padding: 0.8rem 1.5rem; border-radius: 50px; cursor: pointer; font-weight: bold; font-size: 1rem; transition: all 0.3s ease; } .close-btn:hover { background: rgba(255, 0, 0, 0.4); transform: scale(1.05); } /* Projects Grid */ .projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; width: 100%; } .project-card { border-radius: 15px; overflow: hidden; border: 2px solid #ffffff; transition: all 0.4s ease; cursor: pointer; background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.8)); } .project-card:hover { transform: translateY(-8px); background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 15px 50px rgba(59, 130, 246, 0.5); border-color: #3b82f6; } .project-image { width: 100%; height: 140px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: rgba(0, 0, 0, 0.5); transition: all 0.3s ease; } .project-card:hover .project-image { background: rgba(255, 255, 255, 0.1); } .project-content { padding: 1rem; transition: all 0.3s ease; } .project-card:hover .project-content { color: #ffffff; } .project-content h3 { font-size: 1.1rem; margin-bottom: 0.5rem; transition: all 0.3s ease; color: #ffffff; } .project-card:hover h3 { color: #1a1a2e; } .project-content p { color: #cccccc; font-size: 0.85rem; line-height: 1.4; margin-bottom: 0.8rem; transition: all 0.3s ease; } .project-card:hover p { color: #ffffff; } .tech-badges { display: flex; gap: 0.5rem; margin-bottom: 0.8rem; flex-wrap: wrap; } .tech-badge { padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.75rem; font-weight: bold; cursor: pointer; transition: all 0.3s ease; border: 1px solid; } .tech-badge.html-badge { background: rgba(227, 76, 38, 0.2); color: #e34c26; border-color: #e34c26; } .tech-badge.html-badge:hover { background: #e34c26; color: white; transform: scale(1.1); } .tech-badge.css-badge { background: rgba(38, 77, 228, 0.2); color: #264de4; border-color: #264de4; } .tech-badge.css-badge:hover { background: #264de4; color: white; transform: scale(1.1); } .tech-badge.js-badge { background: rgba(240, 219, 79, 0.2); color: #f0db4f; border-color: #f0db4f; } .tech-badge.js-badge:hover { background: #f0db4f; color: #1a1a2e; transform: scale(1.1); } .project-link { display: inline-block; padding: 0.5rem 1.2rem; color: #000; background: #ffffff; text-decoration: none; border-radius: 20px; font-weight: bold; font-size: 0.85rem; transition: all 0.3s ease; border: 2px solid #ffffff; } .project-card:hover .project-link { background: transparent; color: #ffffff; border-color: #ffffff; } .project-link:hover { transform: translateX(5px); } /* Contact & Form */ .contact-container { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; } .bluelink { border: 1px solid white; display: flex; color: #ff6b9d; font-size: 18px; text-decoration: none; transition: all 0.3s; align-items: center; gap: 0.5rem; } .bluelink:hover { color: var(--accent-color); font-size: 20px; border-color: var(--accent-color); } .contact-info { display: flex; flex-direction: column; justify-content: center; } .contact-item { margin-bottom: 2rem; font-size: 1.2rem; display: flex; align-items: center; gap: 1rem; } .icon { color: var(--accent-color); font-size: 1.5rem; } .styled-form { background: var(--card-bg); padding: 2rem; border-radius: 15px; border: 1px solid var(--glass-border); } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-secondary); } .form-group input, .form-group textarea { width: 100%; padding: 1rem; background: #000; border: 1px solid var(--glass-border); color: var(--text-primary); border-radius: 5px; outline: none; transition: border 0.3s; font-family: var(--font-main); } .form-group input:focus, .form-group textarea:focus { border-color: var(--accent-color); } /* Chatbot */ .chatbot-widget { position: fixed; bottom: 20px; right: 20px; z-index: 1000; } .chat-toggle { width: 60px; height: 60px; border-radius: 50%; background: var(--accent-color); border: none; cursor: pointer; box-shadow: 0 5px 20px rgba(0, 243, 255, 0.4); display: flex; justify-content: center; align-items: center; transition: transform 0.3s; } .chat-toggle:hover { transform: scale(1.1); } .chat-window { position: absolute; bottom: 80px; right: 0; width: 350px; height: 500px; background: #111; border: 1px solid var(--glass-border); border-radius: 15px; display: none; flex-direction: column; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8); } .chat-window.active { display: flex; } .chat-header { background: #1a1a1a; padding: 1rem; border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; } .chat-header h3 { color: var(--accent-color); font-size: 1rem; margin: 0; } .chat-messages { flex: 1; padding: 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; } .message { max-width: 80%; padding: 0.8rem; border-radius: 10px; font-size: 0.9rem; } .message.bot { background: #222; color: var(--text-primary); align-self: flex-start; border-bottom-left-radius: 2px; } .message.user { background: var(--accent-color); color: #000; align-self: flex-end; border-bottom-right-radius: 2px; } .chat-input-area { padding: 1rem; background: #1a1a1a; display: flex; gap: 0.5rem; } .chat-input-area input { flex: 1; padding: 0.5rem; background: #000; border: 1px solid var(--glass-border); color: white; border-radius: 5px; outline: none; } .chat-send { background: var(--accent-secondary); border: none; color: white; padding: 0.5rem 1rem; border-radius: 5px; cursor: pointer; } .img { height: 450px; border: 2px solid white; border-radius: 10px; object-fit: cover; max-width: 100%; } /* ===== RESPONSIVE DESIGN ===== */ /* Mobile: 320px - 480px */ @media (max-width: 480px) { nav { padding: 1rem; flex-direction: column; gap: 1rem; } .logo { font-size: 1.2rem; } .nav-links { flex-direction: column; gap: 0.5rem; width: 100%; } .nav-links a { padding: 0.5rem; text-align: center; } section { padding: 4rem 1rem; min-height: auto; } h2 { font-size: 1.8rem; margin-bottom: 1.5rem; } .hero-content h1 { font-size: 2rem; margin-bottom: 0.5rem; } .hero-content p { font-size: 1rem; margin-bottom: 1rem; } .btn { padding: 0.8rem 1.5rem; font-size: 0.85rem; margin: 0.3rem; } .about-grid { grid-template-columns: 1fr; gap: 2rem; } .about-text p { font-size: 0.95rem; line-height: 1.5; } .img { height: 250px; width: 100%; } .img :hover { height: 2500px; width: 1000px; } .skill-tags { gap: 0.5rem; } .skill-tag { padding: 0.4rem 1rem; font-size: 0.85rem; } .skills-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 100%; } .skill-card { padding: 1.5rem; } .skill-card h3 { font-size: 1.2rem; } .projects-grid { grid-template-columns: 1fr; gap: 1rem; } .project-image { height: 100px; font-size: 2rem; } .project-content { padding: 0.8rem; } .project-content h3 { font-size: 1rem; } .project-content p { font-size: 0.75rem; } .tech-badges { gap: 0.3rem; } .tech-badge { padding: 0.2rem 0.6rem; font-size: 0.7rem; } .contact-container { grid-template-columns: 1fr; gap: 2rem; } .contact-item { font-size: 1rem; margin-bottom: 1.5rem; } .modal-content { padding: 3rem 1rem 1rem; } .modal-header { flex-direction: column; align-items: flex-start; } .close-btn { width: 100%; text-align: center; } .chat-window { width: 300px; height: 400px; right: -10px; } .chat-toggle { width: 50px; height: 50px; } } /* Tablet: 481px - 768px */ @media (min-width: 481px) and (max-width: 768px) { nav { padding: 1.2rem; } .logo { font-size: 1.3rem; } .nav-links { gap: 1.5rem; } section { padding: 5rem 1.5rem; } h2 { font-size: 2.2rem; margin-bottom: 2rem; } .hero-content h1 { font-size: 2.8rem; } .hero-content p { font-size: 1.2rem; } .btn { padding: 0.9rem 2rem; font-size: 0.9rem; } .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } .img { height: 320px; } .skill-tag { padding: 0.5rem 1.3rem; font-size: 0.95rem; } .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } .skill-card { padding: 1.8rem; } .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 1.3rem; } .project-image { height: 120px; } .contact-container { grid-template-columns: 1fr; gap: 2.5rem; } .contact-item { font-size: 1.1rem; } .modal-content { padding: 4rem 2rem 2rem; } .chat-window { width: 320px; height: 450px; } } /* Medium Screens: 769px - 1024px */ @media (min-width: 769px) and (max-width: 1024px) { section { padding: 5.5rem 2rem; } h2 { font-size: 2.5rem; } .hero-content h1 { font-size: 3.5rem; } .about-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } .img { height: 380px; } .skills-grid { grid-template-columns: repeat(3, 1fr); } .projects-grid { grid-template-columns: repeat(2, 1fr); } .contact-container { grid-template-columns: 1fr 1fr; gap: 3rem; } .modal-content { padding: 5rem 3% 2rem; } } /* Desktop: 1025px+ */ @media (min-width: 1025px) { section { padding: 6rem 2rem; } h2 { font-size: 3rem; } .hero-content h1 { font-size: 4.5rem; } .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } .skills-grid { grid-template-columns: repeat(3, 1fr); } .projects-grid { grid-template-columns: repeat(3, 1fr); } .contact-container { grid-template-columns: 1fr 1fr; gap: 4rem; } .modal-content { padding: 6rem 5% 3rem; } .chat-window { width: 350px; height: 500px; } } iframe{ width: 100%; min-height: 850px; } /* ===== FULL-PAGE SCROLL SNAP EFFECT ===== */ /* Makes the page snap from one section to the next. */ html { scroll-snap-type: y mandatory; } /* Each section is a scroll-snap point. */ section { scroll-snap-align: start; scroll-snap-stop: always; }

Public Last updated: 2026-08-25 08:28:39 AM