read below code carefully and make changes as suggest.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Stylish Project Portfolio</title>
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap" rel="stylesheet">
    <style>
        body {
            font-family: 'Montserrat', sans-serif;
            line-height: 1.0;
            margin: 0;
            padding: 0;
            color: #333;
            background-color: #f3f2ef;
            display: flex;
        }

        header {
            background: #283e4a; /* LinkedIn's dark blue */
            color: white;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            padding: 20px;
            padding-right: 60px;
            width: 100%;
            box-sizing: border-box;
            position: fixed;
            top: 0;
            left: 0;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        header div {
            text-align: left;
        }

        nav {
            background: #fff;
            width: 160px;
            height: 100vh;
            padding-top: 180px;
            box-sizing: border-box;
            position: fixed;
            top: 0;
            left: 0;
            border-right: 1px solid #e0e0e0;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
            z-index: 2;
        }

        nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
            width: 100%;
        }

        nav ul li {
            width: 100%;
        }

        nav ul li a {
            display: block;
            padding: 15px;
            color: #333;
            text-decoration: none;
            text-align: center;
            transition: background 0.3s, color 0.3s;
        }

        nav ul li a:hover, nav ul li a.active {
            background: #e6f3ff; /* Lighter shade of LinkedIn blue */
            color: #0073b1;
        }

        main {
            margin-left: 190px;
            padding: 20px;
            width: calc(100% - 220px);
            box-sizing: border-box;
            padding-top: 120px;
        }

        section {
            padding: 20px;
            margin-bottom: 20px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            display: none;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease-in-out;
        }

        section.visible {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        section h2 {
            color: #0073b1; /* LinkedIn blue */
            border-bottom: 2px solid #0073b1;
            padding-bottom: 5px;
            margin-bottom: 10px;
            font-weight: 600;
        }

        footer {
            text-align: center;
            padding: 10px 0;
            background: #283e4a; /* LinkedIn's dark blue */
            color: white;
            position: fixed;
            bottom: 0;
            width: 100%;
            left: 0;
            box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
            font-size: 14px;
        }
    </style>
</head>
<body>
    <header>
        <div>
            <h1>Project Portfolio</h1>
            <p>Showcasing My Work</p>
        </div>
    </header>

    <nav>
        <ul>
            <li><a href="#projects" onclick="showSection('projects')">Projects</a></li>
            <li><a href="#about" onclick="showSection('about')">About Me</a></li>
            <li><a href="#services" onclick="showSection('services')">Services</a></li>
            <li><a href="#contact" onclick="showSection('contact')">Contact</a></li>
        </ul>
    </nav>

    <main>
        <section id="projects">
            <h2>My Projects</h2>
            <div>
                <h3>Project Title</h3>
                <p>A brief description of the project showcasing its highlights and achievements.</p>
            </div>
            <!-- Repeat the above div for additional projects -->
        </section>

        <section id="about">
            <h2>About Me</h2>
            <p>Here is an introduction about myself and my journey in the field of work.</p>
        </section>

        <section id="services">
            <h2>Services</h2>
            <ul>
                <li>Service 1</li>
                <li>Service 2</li>
                <li>Service 3</li>
                <!-- Add more services as needed -->
            </ul>
        </section>

        <section id="contact">
            <h2>Contact</h2>
            <p>I am available for freelance work. Reach out to me at <a href="mailto:contact@example.com">contact@example.com</a> or call (123) 456-7890.</p>
        </section>
    </main>

    <footer>
        <p>&copy; 2023 Stylish Project Portfolio</p>
    </footer>

    <script>
        function showSection(sectionId) {
            // Hide all sections and remove active class from nav links
            document.querySelectorAll('main section').forEach(section => {
                section.classList.remove('visible');
            });

            document.querySelectorAll('nav ul li a').forEach(link => {
                link.classList.remove('active');
            });

            // Show the selected section and add active class to the nav link
            document.getElementById(sectionId).classList.add('visible');
            document.querySelector(`nav ul li a[href="#${sectionId}"]`).classList.add('active');
        }

        // Show the first section by default
        window.onload = function() {
            showSection('projects');
        };
    </script>
</body>
</html>