
    body {
      margin: 0;
      padding: 0;
      background: #fff;
      color: #fff;
      font-family: Arial, sans-serif;
      display: flex;
      height: 100vh;
    }

    .main {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      
      p{
        font-size: 1.5vw + 10rem;
        font-size: clamp(1px, 1.0vw + 0.3rem, 50px);
        font-size: 1.0vw;
        
      }     
    }
.A4 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000;
  max-width: 70%;
  
  aspect-ratio: 210 / 297;  /* proporcje A4 (szerokość/wysokość) */ 
  box-sizing: border-box;
  padding: 20px;
}

    img {
      max-width: 70%;
      height: auto;
      border-radius: 8px;
      margin-top: 20px;
      margin-top: 0px;
      
    }

    h1 {
      margin: 0;
      text-shadow: 0 0 6px #000;
    }

    #namesLabel {
      margin-top: 5px;
      font-weight: bold;
      background: #000;
    }

.sidebar {
  width: 180px;
  background: #111;
  padding: 20px;
  border-left: 2px solid #444;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0px;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000; 
  box-sizing: border-box;
  transition: transform 0.3s ease;
  
}
/* Domyślnie widoczny */
        .hidden-on-mobile {
            transform: translateX(0);
        }

 

        /* Przycisk toggle */
        #toggleButton {
            position: fixed;
            top: 10px;
            left: 10px;
            z-index: 1100;
            padding: 10px 15px;
            background-color: #333;
            color: white;
            border: none;
            cursor: pointer;
        }
#actionButton {
  display: none;
}
@media (max-width: 968px) {
  #actionButton {
    display: block;
  }
}


      .btn-primary {
        position: fixed;
            top: 60px;
            left: 10px;
            z-index: 1100;
            padding: 10px 15px;
    background-color: #333;
            color: white;
            border: none;
            cursor: pointer;
}

/* Stan 2: Styl po zmianie */
.btn-secondary {
  position: fixed;
    top: 60px;
    left: 10px;
    z-index: 1100;
    padding: 10px 15px;
    background-color: #222;
            color: white;
            border: none;
            cursor: pointer;
}
    .sidebar label {
      margin-bottom: 5px;
      font-weight: bold;
      font-size: 10px;
    }

    .sidebar input {
      width: 100%;
      padding: 5px;
      margin-bottom: 15px;
      border-radius: 4px;
      border: 1px solid #555;
      background: #222;
      color: #fff;
    }
/* Sidebar widoczny */
.sidebar-open {
  transform: translateX(0);
}

/* Sidebar schowany */
.sidebar-closed {
  transform: translateX(100%);
}

    .sidebar button {
      padding: 8px;
      border: none;
      border-radius: 4px;
      background: #444;
      color: #fff;
      cursor: pointer;
      margin-bottom: 10px;
    }

    .sidebar button:hover {
      background: #666;
    }
button {
    font-size: 12px;
    padding: 10px 20px;
    margin: 8px;
    cursor: pointer;
}
/* Tryb mały */
.mode-small {
  max-width: 70%;
  transition: all 0.4s ease;
}

.mode-small img {
  max-width: 70%;
  transition: all 0.4s ease;
}

/* Tryb duży */
.mode-large {
  max-width: 100%;
  transition: all 0.4s ease;
}

.mode-large img {
  max-width: 70%;
  transition: all 0.4s ease;
}
