:root { --primary-color: #4e2665b0; --secondary-color:#331d41f3; --text-color: #333; --bg-color: #f4f4f4; } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--bg-color); } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } header { background-color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: fixed; width: 100%; top: 0; z-index: 1000; } nav ul { display: flex; justify-content: center; list-style-type: none; } nav ul li { margin: 0 15px; } nav ul li a { text-decoration: none; color: var(--secondary-color); font-weight: bold; padding: 20px 0; display: inline-block; transition: color 0.3s ease; } nav ul li a:hover { color: var(--primary-color); } .hero { background-color: var(--primary-color); color: white; text-align: center; padding: 100px 0 50px; } .profile-photo { width: 200px; border-radius: 50%; margin-bottom: 20px; border: 5px solid white; } h1 { font-size: 3rem; margin-bottom: 10px; } .subtitle { font-size: 1.5rem; margin-bottom: 20px; } .social-links { margin-top: 20px; } .social-links a { color: white; font-size: 1.5rem; margin: 0 10px; transition: opacity 0.3s ease; } .social-links a:hover { opacity: 0.8; } section { padding: 80px 0; } h2 { text-align: center; margin-bottom: 40px; color: var(--secondary-color); } .interests-grid, .project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; } .interest-item, .project-card { background-color: white; padding: 20px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); text-align: center; transition: transform 0.3s ease; } .interest-item:hover, .project-card:hover { transform: translateY(-5px); } .interest-item i { font-size: 2rem; color: var(--primary-color); margin-bottom: 10px; } .project-card img { width: 100%; border-radius: 5px; margin-bottom: 15px; } .publication-item { background-color: white; padding: 20px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin-bottom: 20px; } footer { background-color: var(--secondary-color); color: white; text-align: center; padding: 20px 0; } @media (max-width: 768px) { nav ul { flex-direction: column; align-items: center; } nav ul li { margin: 10px 0; } .hero { padding: 80px 0 30px; } h1 { font-size: 2.5rem; } .subtitle { font-size: 1.2rem; } } .hero .container { display: flex; align-items: center; justify-content: space-between; } .about-content { display: flex; align-items: center; justify-content: space-between; gap: 2rem; } .about-text { flex: 1; text-align: left; } .about-image { flex: 0 0 auto; } .profile-photo { width: 250px; height: 250px; object-fit: cover; border-radius: 50%; border: 5px solid white; } @media (max-width: 768px) { .about-content { flex-direction: column-reverse; } .about-text { text-align: center; } } /* Publication styles */ .publication-item { display: flex; margin-bottom: 2rem; align-items: flex-start; } .publication-gif { flex: 0 0 200px; margin-right: 1rem; } .publication-gif img { width: 100%; height: auto; } .publication-content { flex: 1; } /* Project styles */ .project-card { display: flex; margin-bottom: 2rem; align-items: flex-start; } .project-image { flex: 0 0 200px; margin-right: 1rem; } .project-image img { width: 100%; height: auto; } .project-content { flex: 1; } /* Responsive adjustments */ @media (max-width: 768px) { .publication-item, .project-card { flex-direction: column; } .publication-gif, .project-image { margin-right: 0; margin-bottom: 1rem; } } #projects { background-color: #f8f8f8; padding: 50px 0; } .project-grid { display: flex; flex-direction: column; gap: 30px; } .project-card { display: flex; background-color: #ffffff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .project-image { flex: 0 0 200px; } .project-image img { width: 100%; height: 100%; object-fit: cover; } .project-content { flex: 1; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; } .project-content h3 { margin-top: 0; margin-bottom: 10px; font-size: 1.2em; } .project-content p { margin-bottom: 15px; } .project-links { margin-top: auto; } @media (max-width: 768px) { .project-card { flex-direction: column; } .project-image { flex: 0 0 200px; } } #cats { background-color: #f7f0ff; /* Light pink background */ /*background-color: #fff0f5; /* Light pink background */ padding: 50px 0; } .cat-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; } .cat-card { background-color: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); width: calc(50% - 15px); max-width: 450px; transition: transform 0.3s ease; } .cat-card:hover { transform: translateY(-5px); } .cat-image { width: 100%; height: 300px; object-fit: cover; } .cat-content { padding: 25px; } .cat-content h3 { margin-top: 0; /* color: #ff69b4; */ color: #5a1880eb; font-size: 1.8em; } .cat-trait { display: inline-block; /* background-color: #ff69b4; */ background-color: #612881f7; color: white; padding: 5px 10px; border-radius: 15px; font-size: 0.9em; margin: 2px; } @media (max-width: 768px) { .cat-card { width: 100%; } } #experience { padding: 40px 0; } .experience-list { display: flex; flex-direction: column; gap: 30px; } .experience-item { border: 1px solid #ddd; padding: 20px; border-radius: 5px; } .experience-item h3 { margin-top: 0; } .company, .location, .date { font-style: italic; margin: 5px 0; } .experience-item ul { padding-left: 20px; } header { background-color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: fixed; width: 100%; top: 0; z-index: 1000; } nav ul { display: flex; justify-content: center; list-style-type: none; flex-wrap: wrap; } nav ul li { margin: 0 10px; } nav ul li a { text-decoration: none; color: var(--secondary-color); font-weight: bold; padding: 10px 0; display: inline-block; transition: color 0.3s ease; font-size: 16px; } @media (max-width: 768px) { nav ul { flex-direction: row; justify-content: space-around; padding: 5px 0; } nav ul li { margin: 5px 2px; } nav ul li a { font-size: 14px; padding: 5px; } .hero { padding-top: 120px; /* Increase top padding to prevent content overlap */ } } @media (max-width: 480px) { nav ul li a { font-size: 12px; } } main { padding-top: 60px; /* Adjust this value as needed */ } @media (max-width: 768px) { main { padding-top: 80px; /* Increase padding for mobile devices */ } } #clstr_globe { width: 30%; height: 30%; } .publication-description { margin-top: 10px; color: #666; font-size: 0.9em; line-height: 1.4; }