
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body, h1, h2, h3, p, a, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

body {
    background-color: #eef2f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}


.portfolio-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 1200px;
    min-height: 600px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 40px 60px;
    position: relative;
    

    overflow: hidden; 
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    transition: color 0.3s;
    position: relative;
}

.nav-links li a:hover, .nav-links li a.active {
    color: #000;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3b82f6;
    border-radius: 2px;
}


@keyframes fadeInMove {
    from {
        opacity: 0;
        transform: translateY(20px); 
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutMove {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px); 
    }
}


.portfolio-card {
    
    animation: fadeInMove 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}


.portfolio-card.fade-out {
    animation: fadeOutMove 0.5s ease-in forwards;
}