
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #fff;
    min-height: 100vh;
    margin: 0;
    position: relative;
    overflow-x: hidden;
    display: block;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://cdn.discordapp.com/attachments/1349148447894147113/1377040029641343077/3afb5680d1629a6381673ec78bdd8913.gif?ex=683783f7&is=68363277&hm=6530e4fe47d842a29e480a38f42f749407ffc176ca47366699eeaa6f68ca4235&') no-repeat center center fixed; /** Update LINK */
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
    margin: 0 auto;
    margin-top: 40px;
}

.card {
    background: rgba(30, 30, 30, 0.9);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
}

.presentation-card .card-header {
    text-align: center;
    margin-bottom: 20px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-bottom: 15px;
    animation: fadeIn 1s ease-out;
}

h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInText 1s ease-out forwards;
}

.subtitle {
    font-size: 1.1rem;
    color: #aaa;
    opacity: 0;
    animation: fadeInText 1.5s ease-out forwards;
}

.card-body p {
    font-size: 1rem;
    line-height: 1.5;
    color: #ddd;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInText 2s ease-out forwards;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3b82f6;
}

.skills-card h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInText 1s ease-out forwards;
}

.skills {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.skill-category h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.skill-category ul {
    list-style: none;
    padding-left: 0;
}

.skill-category ul li {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
    background-color: #555;
    transform: translateY(-5px);
}

.social-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.github-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    gap: 10px;
    width: fit-content;
    margin: 0 auto;
}

.github-btn:hover {
    background-color: #555;
}

.github-icon {
    width: 24px;
    height: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .portfolio-container {
        padding: 15px;
        margin-top: 20px;
    }

    .skills {
        grid-template-columns: 1fr 1fr;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .skills-card h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .skills {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .social-links a {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    html, body {
        height: 100vh;
        overflow: hidden;
    }
}

.footer {
    background-color: #222;
    color: #ddd;
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    border-radius: 15px;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

@media (max-width: 768px) {
    .footer {
        padding: 15px;
        font-size: 0.9rem;
        width: 95%;
    }
}
