<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Your Portfolio</title>
    <style>
        /* Global Styles */
        body, h1, h2, h3, p, a {
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: Arial, sans-serif;
        }

        /* Smooth Scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Header Styles */
        header {
            padding: 20px;
            text-align: center;
            background-color: #333;
            color: white;
            animation: headerAnimation 10s infinite alternate;
        }

        @keyframes headerAnimation {
            0% { background-color: #333; }
            50% { background-color: #555; }
            100% { background-color: #333; }
        }

        header h1 {
            margin: 0;
            font-size: 2.5em;
        }

        nav {
            margin-top: 10px;
        }
        
        nav a {
            margin: 0 15px;
            color: white;
            text-decoration: none;
            font-size: 1.2em;
            position: relative;
        }

        nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: white;
            left: 50%;
            bottom: -5px;
            transition: width 0.5s, left 0.5s;
        }

        nav a:hover::after {
            width: 100%;
            left: 0;
        }

        /* Hero Section */
        #hero {
            height: 100vh;
            background: url('your-image.jpg') no-repeat center center/cover;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            animation: fadeIn 2s forwards;
        }

        @keyframes fadeIn {
            to { opacity: 1; }
        }

        #hero h2 {
            color: white;
            font-size: 3em;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        }

        /* About Section */
        #about {
            padding: 50px 20px;
            background-color: #f9f9f9;
            transform: translateX(-100%);
            animation: slideIn 1s forwards;
            animation-delay: 1s;
        }

        @keyframes slideIn {
            to { transform: translateX(0); }
        }

        #about h2 {
            font-size: 2em;
            margin-bottom: 10px;
        }

        #about p {
            font-size: 1.1em;
            line-height: 1.6;
        }

        /* Projects Section */
        #projects {
            padding: 50px 20px;
            background-color: #fff;
        }

        #projects h2 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 2em;
        }

        .project-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .project-item {
            position: relative;
            margin: 15px;
            width: 300px;
            overflow: hidden;
            border-radius: 10px;
        }

        .project-item img {
            width: 100%;
            transition: transform 0.5s;
        }

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

        .project-info {
            position: absolute;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            width: 100%;
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.5s;
        }

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

        .project-info h3 {
            margin: 0 0 10px 0;
        }

        .project-info p {
            margin: 0;
        }

        /* Contact Section */
        #contact {
            padding: 50px 20px;
            text-align: center;
            background-color: #f9f9f9;
        }

        #contact h2 {
            font-size: 2em;
            margin-bottom: 10px;
        }

        #contact p {
            font-size: 1.1em;
            margin-bottom: 30px;
        }

        .contact-button {
            display: inline-block;
            padding: 15px 30px;
            background-color: #333;
            color: white;
            text-decoration: none;
            font-size: 1.2em;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            transition: background-color 0.5s;
        }

        .contact-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: left 0.5s;
        }

        .contact-button:hover {
            background-color: #555;
        }

        .contact-button:hover::before {
            left: 100%;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            header h1 {
                font-size: 2em;
            }
            
            nav a {
                font-size: 1em;
            }

            #hero h2 {
                font-size: 2em;
            }

            .project-grid {
                flex-direction: column;
                align-items: center;
            }

            .project-item {
                width: 90%;
            }

            .contact-button {
                font-size: 1em;
                padding: 10px 20px;
            }
        }
    </style>
</head>
<body>

    <header>
        <h1>Your Name</h1>
        <nav>
            <a href="#about">About Me</a>
            <a href="#projects">Projects</a>
            <a href="#contact">Contact</a>
        </nav>
    </header>

    <section id="hero">
        <h2>Welcome to My Portfolio</h2>
    </section>

    <section id="about">
        <h2>About Me</h2>
        <p>Your bio goes here. Describe yourself and your expertise.</p>
    </section>

    <section id="projects">
        <h2>Projects</h2>
        <div class="project-grid">
            <!-- Project 1 -->
            <div class="project-item">
                <img src="project1-thumbnail.jpg" alt="Project 1">
                <div class="project-info">
                    <h3>Project Title 1</h3>
                    <p>Short description of the project.</p>
                </div>
            </div>
            <!-- Project 2 -->
            <div class="project-item">
                <img src="project2-thumbnail.jpg" alt="Project 2">
                <div class="project-info">
                    <h3>Project Title 2</h3>
                    <p>Short description of the project.</p>
                </div>
            </div>
            <!-- Add more project items as needed -->
        </div>
    </section>

    <section id="contact">
        <h2>Contact Me</h2>
        <p>Feel free to reach out for collaborations or just a friendly hello!</p>
        <a href="mailto:your-email@example.com" class="contact-button">Get in Touch</a>
    </section>

</body>
</html>

use cdn pf various styles make it complex