   
    body, html {
      min-height: 100vh;
      margin: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background-color: #f0f0f0;
      font-family: Arial, sans-serif;
    }
    h1 {
      color: #333;
      /* margin: 1rem 0; */

      text-align: center;
      width: 100%;
      font-size: 1.8rem; /* Upravené na em */
      font-weight: bold;
      margin-top: 0.5rem;
      margin-bottom: 0.5rem;
      text-transform: uppercase;  /* Všetky písmená veľké pre dôležitosť */
      text-shadow: 1px 1px 2px rgba(0,0,0,0.1);  /* Dodáva hĺbku a zvýraznenie */
    }
    h2 {
      font-size: 1.5rem;  /* Menší, ale stále výrazný */
      font-weight: semi-bold;  /* Dosť tuhý na to, aby bol dôležitý, ale nie ako h1 */
      color: #555;  /* Stále tmavá, ale mierne ľahšia než h1 */
      margin-top: 0.4rem;  /* Menšie ako u h1 */
      margin-bottom: 0.8rem;
      text-transform: none;  /* Štandardné písmo pre mierne dôležité informácie */
    }

    .h2nizsie {
      margin-top: 0.8rem !important;
    }
    div.menu {
      width: 100%; /* Na menších obrazovkách zaberá menu celú šírku */
      max-width: 270px; /* Maximálna šírka zostáva 270px */
      height: auto; /* Automatická výška podľa obsahu */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border: 0.125rem solid rgb(200, 200, 200);
      border-radius: 10px;
      background-color: #FFFFFF;
      padding: 1rem;
    }
    a.menu-item {
      font-size: 1rem; /* Zvýšené na rem pre lepšiu škálovateľnosť */
      padding: 0.5rem 1rem;
      color: #007BFF;
      background-color: #f0f0f0;
      border: 2px solid #007BFF;
      border-radius: 5px;
      text-decoration: none;
      margin: 0.5rem;
      transition: background-color 0.3s, color 0.3s;
      
    }
    a.menu-item:hover {
      background-color: #007BFF;
      color: white;
    }
    footer {
      text-align: center;
      font-size: 0.875rem; /* Zvýšené na rem */
      color: #666;
      margin: 1rem 0;
    }

    #canvas {
      width: 90%; /* Dynamické škálovanie šírky */
      max-width: 270px; /* Maximálna šírka */
      aspect-ratio: 9 / 16; /* Definovanie pomeru strán pre canvas */
      margin: 12px 0; /* Pridá medzeru nad a pod canvas */
    }
    
    button {
      font-size: 1rem; /* Zvýšená škálovateľnosť fontu */
      padding: 0.5rem 1rem;
      color: white;
      background-color: #007BFF;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      margin: 0.5rem;
    }
    
    button:hover {
      background-color: #0056b3;
    }
    
    div[style*="position: relative; display: flex; align-items: center;"] button {
      height: auto;  /* Automatická výška založená na šírke s pomerom strán 9:16 */
    }


    #counters {
      margin-top: 10px;
    }
  
    #supportModal {
      display: none;
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }
    #supportModalContent {
      position: relative;
      background: white;
      padding: 20px;
      border-radius: 10px;
      width: 80%;
      max-width: 500px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      text-align: left;
    }
    #closeModal {
      cursor: pointer;
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 1.5rem;
      color: #333;
    }
    ul {
      list-style:disc;
      padding: 0;
      padding-left: 18px;
    }
    li {
      margin-bottom: 10px;
      font-size: 0.9rem;
    }
    a {
      color: #007BFF;
      text-decoration: none;
    }
    a:hover {
      text-decoration: underline;
    }

    button.vertical-text {
      writing-mode: vertical-lr; /* Zmení smer písania textu na vertikálny */
      transform: rotate(180deg); /* Otáča text, aby bol čitateľný správnym smerom */
      padding-top: 20px; 
      padding-bottom: 20px;
      font-size: 1rem; 
    }

    .canvas-container {
      display: flex; /* Aktivuje flexbox */
      align-items: center; /* Vycentruje prvky vertikálne */
      justify-content: center; /* Vycentruje prvky horizontálne */
      background-color: #fff;
      border: 1px solid #ddd;
    }
    
    .button-and-canvas {
      display: flex;
      flex-direction: column;
      align-items: center; /* Zarovná všetky prvky na stred */
      justify-content: space-around; /* Rozdelí priestor rovnomerne */
      margin-left: 0px; /* Pridá malý odstup medzi tlačidlom a canvas */
      margin-top: 0.5rem; /* Znížte hodnotu, ak potrebujete menej medzery */
    }

