:root {
    --primary-color: #ffffff;
    --secondary-color: #999999;
    --background-color: #0b0b0b;
    --background-gradient-start: #f5f5f5;
    --background-gradient-end: #ffffff;
    --accent-color: #4a9eff;
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

iframe {
    max-width: 90%;
    display: block;
    margin: 0 auto;
    border: none;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

header {
    padding: var(--spacing-unit) 0;
    position: fixed;
    width: 100%;
    background-color: var(--background-color);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 1.25rem;
}

.menu a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

main {
    padding-top: 80px;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.5rem;
    z-index: 1001;
}

.skills-section {
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
}

.skills-track {
    display: flex;
    gap: 2rem;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.skill-item {
    flex: 0 0 76.8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon {
    width: 56.8px;
    height: 56.8px;
    transform: scale(2);
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill-name {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.projects-section {
    padding: 4rem 2rem;
    text-align: center; 
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    aspect-ratio: 16/9;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.project-title {
    margin-top: 1rem;
    font-weight: 500;
}

.experience h2 {
    text-align: center;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-64px * 9 - 2rem * 9));
    }
}

.about-content {
    max-width: 800px;
    margin: 0 auto; 
}

.contact {
    text-align: center;
}

.contact-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .menu {
        display: none;
    }
    
    section {
        padding: 2rem 1rem;
    }
}

.wip-content {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.wip-animation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wip-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-color);
    animation: bounce 1.4s infinite ease-in-out;
}

.wip-circle:nth-child(1) {
    animation-delay: -0.32s;
}

.wip-circle:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
} 