/* Reset & Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); body { font-family: 'Poppins', sans-serif; color: #8c64e9; line-height: 1.7; overflow-x: hidden; letter-spacing: 0.5px; min-height: 100vh; background-attachment: fixed; } /* Background Styles */ .background-3d { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); overflow: hidden; } .background-3d::before { content: ''; position: absolute; width: 300%; height: 300%; top: -100%; left: -100%; background: url('data:image/svg+xml;utf8,'); background-size: 50px 50px; animation: bg-move 40s linear infinite; transform: rotate(15deg); } @keyframes bg-move { 0% { transform: translate(0, 0) rotate(15deg); } 100% { transform: translate(-50px, -50px) rotate(15deg); } } /* Sidebar Navigation */ .sidebar { height: 100vh; width: 250px; position: fixed; background: rgba(255, 255, 255, 0.9); padding-top: 40px; display: flex; flex-direction: column; box-shadow: 5px 0 15px rgba(0,0,0,0.1); z-index: 10; border-right: 1px solid rgba(0,0,0,0.05); backdrop-filter: blur(5px); } .sidebar a { padding: 18px 25px; text-decoration: none; color: #1F2937; font-weight: 500; font-size: 16px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1); position: relative; margin: 5px 15px; border-radius: 8px; } .sidebar a:hover { background: rgba(59, 130, 246, 0.1); transform: translateX(10px) scale(1.05); color: #3B82F6; box-shadow: 0 5px 15px rgba(0,0,0,0.05); } .sidebar a.active { background: rgba(59, 130, 246, 0.1); border-left: 3px solid #3B82F6; } .sidebar a::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: #3B82F6; transform: scaleY(0); transition: transform 0.3s; } .sidebar a:hover::before, .sidebar a.active::before { transform: scaleY(1); } /* Main Content Area */ .main { margin-left: 250px; padding: 50px 40px; position: relative; z-index: 1; background: rgba(255, 255, 255, 0.85); min-height: 100vh; backdrop-filter: blur(3px); box-shadow: -5px 0 20px rgba(0,0,0,0.05); } /* Typography */ h1 { font-size: 36px; color: #1F2937; margin-bottom: 30px; position: relative; display: inline-block; font-weight: 600; letter-spacing: 0.5px; } h1::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 60px; height: 4px; background: #3B82F6; border-radius: 2px; } h2 { font-size: 26px; margin-top: 40px; color: #3B82F6; font-weight: 500; letter-spacing: 0.3px; } /* Profile Section */ .profile { display: flex; align-items: center; gap: 30px; margin-bottom: 40px; } .profile-pic { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid #3B82F6; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); transition: transform 0.5s, box-shadow 0.5s; } .profile-pic:hover { transform: rotateY(15deg) scale(1.05); box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.15); } /* Project Cards */ .project-card { background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(0,0,0,0.05); margin-bottom: 35px; padding: 25px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.05); transition: all 0.4s ease; transform-style: preserve-3d; } .project-card:hover { transform: translateY(-10px) rotateX(5deg); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border: 1px solid rgba(59, 130, 246, 0.3); } .project-card h2 { color: #3B82F6; margin-bottom: 15px; font-size: 22px; } .project-card ul { margin: 15px 0; padding-left: 25px; color: #4B5563; } .project-card .highlight { font-style: italic; color: #4B5563; background: rgba(59, 130, 246, 0.05); padding: 12px; border-left: 4px solid #3B82F6; margin-top: 15px; border-radius: 6px; } /* Contact Info */ .contact-info { background: rgba(255, 255, 255, 0.95); padding: 20px; border-left: 4px solid #3B82F6; margin-bottom: 25px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); } /* About Page */ .about-photo { display: flex; justify-content: center; margin-bottom: 30px; } /* Skills List */ .skills-list { list-style-type: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 15px; } .skills-list li { margin: 0; padding: 10px 20px; background: rgba(59, 130, 246, 0.1); border-radius: 20px; border: 1px solid rgba(59, 130, 246, 0.2); transition: all 0.3s; color: #1F2937; } .skills-list li:hover { background: rgba(59, 130, 246, 0.2); transform: translateY(-3px); } /* Animations */ @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } } .floating { animation: float 6s ease-in-out infinite; } /* Responsive Design */ @media (max-width: 768px) { .sidebar { width: 100%; height: auto; position: relative; flex-direction: row; padding: 15px; justify-content: center; } .main { margin-left: 0; padding: 30px 20px; } .sidebar a { padding: 10px 15px; margin: 0 5px; } .background-3d::before { animation: bg-move 60s linear infinite; } } @media (max-width: 480px) { h1 { font-size: 28px; } h2 { font-size: 22px; } .profile { flex-direction: column; text-align: center; } .project-card { padding: 15px; } }