 :root {
     --scale-factor: 1;
     --pixel-ratio: 1;
 }

 .moreLess {
     float: inline-end;
     font-size: 0.5rem !important;
     padding: 5px;
     margin-left: 5px;
 }

 .poPrawo {
     position: absolute;
     right: 0px;
 }

 .pionowo {
     writing-mode: vertical-rl;
 }

 h1 {
     position: relative;
 }

 #butttonCol {
     position: relative;
 }

 #nawigacja {
     position: relative;
 }

 #buttonInformacja {
     position: absolute;
     width: 100%;
     top: 0;
     left: 0;
     visibility: hidden;
 }

 .info-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
     width: 100%;
     margin: 10px auto;
     font-size: 2em;
 }

 #myCanvas {
     background-size: cover;
     background-color: black;
     width: 100%;
     height: auto;
     padding: 0;
     aspect-ratio: 16/11 !important;
 }

 #parentCol {
     margin-left: auto;
     margin-right: auto;
     width: 950px;
     height: auto;
     position: relative;
     padding: 0;
     border: 1px solid #2c2c2c;
 }

 #leftMenu {
     visibility: hidden;
     font-size: 1em !important;
     font-weight: 300;
     position: absolute;
     left: 0%;
     top: 5%;
     z-index: 15000;
 }

 #leftMenu .block {
     display: block;
     margin-top: 4px;

 }

 .controls-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 10px;
     width: 100%;
     margin: 10px auto;
 }

 .btnSpace {
     width: 100%;
 }

 .btnSpace .btn {
     width: 60%;
     margin: 10px auto;
 }

 .header-title {
     font-size: 2.2rem;
     color: rgb(18, 55, 21);
     text-align: center;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
 }

video::cue {
    background-color: rgba(20, 20, 20, 0.7);  
    /* Tekst */
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    
    /* Układ */
    padding: 10px 15px;
    line-height: 1.6;
    letter-spacing: 0.8px;
}

 .playerVideo{
     border: 1px solid rgb(4, 54, 14);
}

 @media (max-width: 768px) {
        video::cue {
            font-size: 0.8rem;
            font-weight: 300;
        }
     .header-title {
         font-size: 1.1rem;
         margin-bottom: 0.5rem !important;
     }

     .playerVideo {
         width: 95%;
         height: auto;
     }
 }

 @media (min-width: 769px) {
     .playerVideo {
         width: 85%;
         height: auto;
     }
 }





 button {
     /*touch-action: manipulation;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
            transition: all 0.1s ease;*/
     /* Twoje podstawowe style przycisku */
     touch-action: none;
     user-select: none;
     -webkit-user-select: none;
     -webkit-tap-highlight-color: transparent;
     -webkit-touch-callout: none;
     /* Zapobiegaj długiemu naciskaniu */
     pointer-events: auto;

     /* Wizualne */
     /*transition: all 0.1s ease;*/
 }

 button.pressed {
     transform: scale(0.95);
     opacity: 0.7;
     box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
     background-color: rgba(0, 0, 0, 0.2);
     /* lub inny kolor */
 }

 /* Alternatywnie, jeśli wolisz zmianę koloru: */
 button.pressed {
     background-color: #4CAF50;
     /* zielony dla aktywnego */
     border-color: #45a049;
 }

 .bi {
     width: 2em;
     height: 2em;
 }

 .smalled {
     font-size: 10px;
     color: rgb(73, 73, 73);
 }

 .smalledTable {
     font-size: 12px;
     color: rgb(0, 0, 0);
 }

 .smalledTextInfoStars {
     font-size: 12px;
     color: rgb(73, 73, 73);
 }

 /************************************************** modal ***********************************************/
 .modal-dialog {
     opacity: 1 !important;
 }

 .shadowModal {
     -webkit-box-shadow: 0px 0px 12px 11px rgb(190, 60, 60) !important;
     -moz-box-shadow: 0px 0px 12px 11px rgb(190, 60, 60) !important;
     box-shadow: 0px 0px 12px 11px rgba(190, 60, 60, 0.523) !important;
     border: 6px solid #ffffff;
     border-radius: 1em;
 }

 .modal-content {
     width: 90%;
     margin: 0 auto;

 }

 .modal-body {
     padding: 0;
     object-fit: cover;
 }

 .modal-body>img {
     width: auto;
     /*max-height: 300px;
    border-radius: 4px;
    opacity: 1;*/
     object-fit: cover;
 }

 .modal-backdrop {
     opacity: 0 !important;
 }

 .game-over {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.8);
     display: none;
     align-items: center;
     justify-content: center;
     z-index: 1000;
 }

 .game-over-content {
     background: white;
     color: #333;
     padding: 20px;
     border-radius: 20px;
     text-align: center;
     max-width: 400px;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
 }

 .game-over .h5 {
     font-size: 1.3rem;
     margin-bottom: 10px;
     color: #667eea;
 }

 .advanced {
     font-size: 1.2rem;
 }

 .advanced::before,
 .advanced::after {
     display: inline-block;
     content: "";
     border-top: .15rem solid black;
     width: 2rem;
     margin: 0 1.5rem;
     transform: translateY(-0.3rem);
 }

 .labelQty {
     font-size: 1rem;
 }

 .labelQty::after {
     display: inline-block;
     content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3E%3C/svg%3E") !important;
     width: 1rem !important;
     margin-left: 2.8rem !important;
 }

 .labelQty::before {
     display: inline-block;
     content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-app' viewBox='0 0 16 16'%3E%3Cpath d='M11 2a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3zM5 1a4 4 0 0 0-4 4v6a4 4 0 0 0 4 4h6a4 4 0 0 0 4-4V5a4 4 0 0 0-4-4z'/%3E%3C/svg%3E") !important;
     width: 1rem !important;
     margin-right: 2.8rem !important;
 }