<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>YouTube Playlist Length Calculator - Calculate Total Duration</title>
    <meta
      name="description"
      content="Easily calculate the total duration of your YouTube playlists with our user-friendly YouTube Playlist Length Calculator. Perfect for content creators and playlist managers."
    />
    <style>
      /* Basic Reset */
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      /* Body and Layout */
      body {
        font-family: "Verdana", sans-serif;
        line-height: 1.6;
        color: #222;
        background-color: #eef2f7;
        padding: 0;
        margin: 0;
      }

      /* Header */
      header {
        background: #2c3e50;
        color: #ecf0f1;
        padding: 1.5rem 0;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        position: relative;
      }

      header h1 {
        font-size: 2.8rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
        letter-spacing: 0.05rem;
      }

      nav ul {
        list-style: none;
        padding: 0;
        margin: 1rem 0;
      }

      nav ul li {
        display: inline;
        margin: 0 1.5rem;
      }

      nav ul li a {
        color: #ecf0f1;
        text-decoration: none;
        font-size: 1.2rem;
      }

      nav ul li a:hover {
        text-decoration: underline;
        color: #bdc3c7;
      }

      /* Mobile Menu Toggle */
      .menu-toggle {
        display: none;
        font-size: 2rem;
        color: #ecf0f1;
        cursor: pointer;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
      }

      @media (max-width: 768px) {
        nav ul {
          display: none;
          flex-direction: column;
          background: #2c3e50;
          position: absolute;
          top: 100%;
          right: 0;
          width: 100%;
        }

        nav ul.active {
          display: flex;
        }

        .menu-toggle {
          display: block;
        }
      }

      /* Main Content */
      main {
        padding: 2rem 1rem;
        max-width: 1200px;
        margin: 0 auto;
      }

      section {
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        margin-bottom: 2rem;
        transition: box-shadow 0.3s ease;
      }

      section:hover {
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
      }

      section h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        color: #2980b9;
        border-bottom: 2px solid #2980b9;
        padding-bottom: 0.5rem;
      }

      section p {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 1rem;
      }

      /* Call-to-Action Button */
      .cta-button {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        background-color: #e74c3c;
        color: #fff;
        text-decoration: none;
        border-radius: 0.3rem;
        font-weight: bold;
        transition: background-color 0.3s ease, transform 0.3s ease;
        text-align: center;
        font-size: 1.2rem;
        margin-top: 1rem;
      }

      .cta-button:hover {
        background-color: #c0392b;
        transform: scale(1.05);
      }

      /* Back-to-Top Button */
      .back-to-top {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        background: #2c3e50;
        color: #fff;
        border-radius: 50%;
        width: 3rem;
        height: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 1.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      .back-to-top:hover {
        background: #1a252f;
      }

      .back-to-top.show {
        opacity: 1;
      }

      /* Footer */
      footer {
        background: #2c3e50;
        color: #ecf0f1;
        text-align: center;
        padding: 1rem 0;
        position: relative;
        bottom: 0;
        width: 100%;
        box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
      }

      footer p {
        margin: 0;
        font-size: 0.95rem;
      }

      /* Keyframes */
      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
    </style>
  </head>
  <body>
    <header>
      <h1>Welcome to the YouTube Playlist Length Calculator</h1>
      <div class="menu-toggle" id="menu-toggle">
        &#9776;
        <!-- Hamburger icon -->
      </div>
      <nav>
        <ul>
          <li><a href="#home">Home</a></li>
          <li><a href="#about">About</a></li>
          <li><a href="#blog">Blog</a></li>
          <li><a href="#contact">Contact</a></li>
        </ul>
      </nav>
    </header>
    <main>
      <section id="home">
        <h2>Your Go-To Tool for Calculating YouTube Playlist Duration</h2>
        <p>
          Easily calculate the total length of your YouTube playlists using our
          <a
            href="https://youtube-playlist-length-calculator.onrender.com/"
            >YouTube Playlist Length Calculator</a
          >. It's the perfect solution for content creators and playlist managers looking to optimize their time and content.
        </p><br><br><br>
         <center> <a
          href="https://youtube-playlist-length-calculator.onrender.com/"
          class="cta-button"
          >Try the YouTube Playlist Length Calculator Now</a
        >
      </section>
      <section id="about">
        <h2>About Our Service</h2>
        <p>
          We specialize in providing easy-to-use tools designed to help you manage and optimize your YouTube content. Our playlist length calculator simplifies playlist management, saving you time and effort.
        </p>
      </section>
      <section id="blog">
        <h2>Latest from Our Blog</h2>
        <article>
          <h3>Top Tips for Managing Your YouTube Playlists</h3>
          <p>
            Learn how to efficiently manage your YouTube playlists with our expert tips. Utilize our 
            <a href="https://youtube-playlist-length-calculator.onrender.com/"
              >calculator</a
            > to make sure your playlists are the perfect length every time.
          </p>
        </article>
      </section>
    </main>
    <footer>
      <p>&copy; 2024 YouTube Playlist Length Calculator. All Rights Reserved.</p>
    </footer>
    <a href="#home" class="back-to-top" id="back-to-top">&#8679;</a>
    <script>
      // Mobile menu toggle
      const menuToggle = document.getElementById("menu-toggle");
      const nav = document.querySelector("nav ul");

      menuToggle.addEventListener("click", () => {
        nav.classList.toggle("active");
      });

      // Back-to-top button
      const backToTopButton = document.getElementById("back-to-top");

      window.addEventListener("scroll", () => {
        if (window.pageYOffset > 100) {
          backToTopButton.classList.add("show");
        } else {
          backToTopButton.classList.remove("show");
        }
      });
    </script>
  </body>
</html>
/* Add your styles here */

// Add your code here