#puzzleContainer {
    position: relative;
    width: 80vw; /* 80% szerokości ekranu */
    height: 80vw; /* Wysokość równa szerokości */
    max-width: 960px; /* Maksymalna szerokość 800px */
    max-height: 960px; /* Maksymalna wysokość 800px */
    border: 2px solid #333;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin:0 auto;
}

.puzzle-piece {
    box-sizing: border-box;
    border: 1px solid #ccc;
    background-size: 100% 100%;
    cursor: pointer;
    background-color: transparent;
}

#imageGallery {
    margin-bottom: 20px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid #333;
    object-fit: cover;
}

#message {
    font-size: 20px;
    font-weight: bold;
    color: green;
    display: none;
    margin-top: 20px;
    text-align: center;
}

.sizeSelector { display: none; }

select { 
    background: #4caf50;
    padding: 8px;
    margin-bottom: 6px;
    color: #fff;
    font-size: 18px;
}
  
option { margin:14px; }