* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI Light", "Segoe UI", "Arial", sans-serif;
}

body {
    background: white;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Simplified background animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    width: 100vmax;
    height: 100vmax;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    background: rgba(240, 240, 240, 0.2);
    animation: moveBackground 25s linear infinite;
    transform-origin: 0 0;
}

.background-animation::after {
    animation-delay: -12.5s;
}

@keyframes moveBackground {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(2);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
}

header {
    text-align: center;
    padding: 4rem 0;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 2fr));
    gap: 1rem;
    padding: 1rem 0;
}

.project-card {
    background: white;
    border-radius: 2px;
    border: 1px solid darkgray;
    padding: 0.5rem;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: row; /* Changed from column to row */
    align-items: center; /* Center items vertically */
    gap: 1rem; /* Space between icon and content */
}

.project-card-title {
    display: flex;
    flex-direction: column; /* Changed from column to row */
    align-items: left; /* Center items vertically */
    gap: 1rem; /* Space between icon and content */
}


.project-card .icon {
    flex-shrink: 0;
    align-self: center;
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-card .content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}


/* Add media query for mobile responsiveness */
@media (max-width: 320px) {
    .project-card {
        flex-direction: column;
        text-align: center;
    }
}

.project-card .icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.project-card:hover {
    transform: translateY(-5px);
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    color: #666;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    header {
        padding: 2rem 0;
    }

    h1 {
        font-size: 2rem;
    }
}
/* Link styling */
a {
    text-decoration: none;
    color: inherit;
}