<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Super Memory</title>
    <link rel="stylesheet" href="styles.css" />
    <link rel="stylesheet" href="conf.css" />
  </head>
  <body>
    <div class="container1">
      <h1 class="neon neon-blue">
        <span class="blinking-char">S</span>uper
        <span class="blinking-char">M</span>emory
      </h1>
    </div>
    <div class="container2">
      <div class="memory-game">
        <!-- Generierte karten -->
      </div>
    </div>
    <div class="container3">
      <p class="neon neon-green">Tries left:</p>
      <div id="attempts" class="attempts-counter">
        <span class="counter-text">4</span>
      </div>
    </div>

    <div class="container4">
      <!-- Leer -->
    </div>
    <div id="popup" class="popup hidden">
      <div class="popup-content">
        <p id="popup-message"></p>
        <button id="restart-button">Neustarten</button>
      </div>
    </div>
    <div id="confetti" class="confetti hidden">
      <svg
        version="1.1"
        id="Layer_1"
        xmlns="http://www.w3.org/2000/svg"
        xmlns:xlink="http://www.w3.org/1999/xlink"
        x="0px"
        y="0px"
        viewBox="0 0 800 800"
        style="enable-background: new 0 0 800 800"
        xml:space="preserve"
      >
        <g class="confetti-cone">
          <path
            class="conf0"
            d="M131.5,172.6L196,343c2.3,6.1,11,6.1,13.4,0l65.5-170.7L131.5,172.6z"
          />
          <path
            class="conf1"
            d="M131.5,172.6L196,343c2.3,6.1,11,6.1,13.4,0l6.7-17.5l-53.6-152.9L131.5,172.6z"
          />
          <path
            class="conf2"
            d="M274.2,184.2c-1.8,1.8-4.2,2.9-7,2.9l-129.5,0.4c-5.4,0-9.8-4.4-9.8-9.8c0-5.4,4.4-9.8,9.9-9.9l129.5-0.4
          c5.4,0,9.8,4.4,9.8,9.8C277,180,275.9,182.5,274.2,184.2z"
          />
          <polygon
            class="conf3"
            points="231.5,285.4 174.2,285.5 143.8,205.1 262.7,204.7"
          />
          <path
            class="conf4"
            d="M166.3,187.4l-28.6,0.1c-5.4,0-9.8-4.4-9.8-9.8c0-5.4,4.4-9.8,9.9-9.9l24.1-0.1c0,0-2.6,5-1.3,10.6
          C161.8,183.7,166.3,187.4,166.3,187.4z"
          />
          <ellipse
            transform="matrix(0.7071 -0.7071 0.7071 0.7071 -89.8523 231.0278)"
            class="conf2"
            cx="233.9"
            cy="224"
            rx="5.6"
            ry="5.6"
          />
          <path
            class="conf5"
            d="M143.8,205.1l5.4,14.3c6.8-2.1,14.4-0.5,19.7,4.8c7.7,7.7,7.6,20.1-0.1,27.8c-1.7,1.7-3.7,3-5.8,4l11.1,29.4
          l27.7,0l-28-80.5L143.8,205.1z"
          />
          <path
            class="conf2"
            d="M169,224.2c-5.3-5.3-13-6.9-19.7-4.8l13.9,36.7c2.1-1,4.1-2.3,5.8-4C176.6,244.4,176.6,231.9,169,224.2z"
          />
          <ellipse
            transform="matrix(0.7071 -0.7071 0.7071 0.7071 -119.0946 221.1253)"
            class="conf6"
            cx="207.4"
            cy="254.3"
            rx="11.3"
            ry="11.2"
          />
        </g>
        <rect
          x="113.7"
          y="135.7"
          transform="matrix(0.7071 -0.7071 0.7071 0.7071 -99.5348 209.1582)"
          class="conf7"
          width="178"
          height="178"
        />
        <line class="conf7" x1="76.8" y1="224.7" x2="328.6" y2="224.7" />
        <polyline class="conf7" points="202.7,350.6 202.7,167.5 202.7,98.9" />
        <circle class="conf2" id="b1" cx="195.2" cy="232.6" r="5.1" />
        <circle class="conf0" id="b2" cx="230.8" cy="219.8" r="5.4" />
        <circle class="conf0" id="c2" cx="178.9" cy="160.4" r="4.2" />
        <circle class="conf6" id="d2" cx="132.8" cy="123.6" r="5.4" />
        <circle class="conf0" id="d3" cx="151.9" cy="105.1" r="5.4" />
        <path
          class="conf0"
          id="d1"
          d="M129.9,176.1l-5.7,1.3c-1.6,0.4-2.2,2.3-1.1,3.5l3.8,4.2c1.1,1.2,3.1,0.8,3.6-0.7l1.9-5.5
        C132.9,177.3,131.5,175.7,129.9,176.1z"
        />
        <path
          class="conf6"
          id="b5"
          d="M284.5,170.7l-5.4,1.2c-1.5,0.3-2.1,2.2-1,3.3l3.6,3.9c1,1.1,2.9,0.8,3.4-0.7l1.8-5.2
        C287.4,171.9,286.1,170.4,284.5,170.7z"
        />
        <circle class="conf6" id="c3" cx="206.7" cy="144.4" r="4.5" />
        <path
          class="conf2"
          id="c1"
          d="M176.4,192.3h-3.2c-1.6,0-2.9-1.3-2.9-2.9v-3.2c0-1.6,1.3-2.9,2.9-2.9h3.2c1.6,0,2.9,1.3,2.9,2.9v3.2
        C179.3,191,178,192.3,176.4,192.3z"
        />
        <path
          class="conf2"
          id="b4"
          d="M263.7,197.4h-3.2c-1.6,0-2.9-1.3-2.9-2.9v-3.2c0-1.6,1.3-2.9,2.9-2.9h3.2c1.6,0,2.9,1.3,2.9,2.9v3.2
        C266.5,196.1,265.2,197.4,263.7,197.4z"
        />
        <path
          class="conf8"
          id="yellow-strip"
          d="M179.7,102.4c0,0,6.6,15.3-2.3,25c-8.9,9.7-24.5,9.7-29.7,15.6c-5.2,5.9-0.7,18.6,3.7,28.2
        c4.5,9.7,2.2,23-10.4,28.2"
        />
        <path
          class="conf8"
          id="yellow-strip"
          d="M252.2,156.1c0,0-16.9-3.5-28.8,2.4c-11.9,5.9-14.9,17.8-16.4,29c-1.5,11.1-4.3,28.8-31.5,33.4"
        />
      </svg>
    </div>
    <script src="script.js"></script>
  </body>
</html>