<!DOCTYPE html>
<html lang="cs">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>PKM PARTY PLES</title>
  <link rel="icon" href="/img/favicon.png">
  <link rel="stylesheet" href="/vars.css">
  <link rel="stylesheet" href="/global.css">
  <link rel="stylesheet" href="/header.css">
  <link rel="stylesheet" href="/main.css">
  <link rel="stylesheet" href="/news.css">
  <link rel="stylesheet" href="/responsivity.css">
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;800&amp;display=swap" rel="stylesheet">
  <link rel="stylesheet" href="https://use.typekit.net/yqq2dbq.css">
</head>

<body>
  <nav>
    <div class="nav-left">
      <a href="/"><img src="/svg/party_ples.svg" alt="pkmples logo"></a>
    </div>
    <div class="nav-btn">
      <img src="/svg/menu.svg" alt="menu icon">
    </div>
    <div class="nav-right NOmobile-visible">
      <a href="https://www.facebook.com/events/823114292589147/?active_tab=discussion" target="_blank"><img src="/svg/facebook.svg" alt="facebook logo"></a>
      <a href="https://www.instagram.com/pkm.hub" target="_blank"><img src="/svg/instagram.svg" alt="instagram logo"></a>
      <a href="https://www.youtube.com/@pkmhub" target="_blank"><img src="/svg/youtube.svg" alt="youtube logo"></a>
      <!--<a href="/galerie">galerie</a>-->
    </div>
  </nav>

  <main>
    {% block main %} {% endblock main %}
  </main>

  <footer class="footer-mobile">
    <p>Nadační fond maléDivy • <a href="https://www.kulturaturnov.cz" target="_blank">Kulturní centrum Turnov</a> • <a href="https://www.facebook.com/bigbandturnov" target="_blank">Big Band ZUŠ Turnov</a></p>
    <p>&copy; <a href="https://fofrweb.com/" target="_blank">Fofrweb</a> + PKM</p>
  </footer>

  <script>
    const navBtn = document.querySelector(".nav-btn img")
    let navVisible = true
    navBtn.addEventListener("click", () => {
      if(navVisible) {
        document.querySelector(".nav-right").classList.add("mobile-visible")
      } else {
        document.querySelector(".nav-right").classList.remove("mobile-visible")
      }

      navVisible = !navVisible
    })
  </script>
</body>

</html>
