* {
      
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
  	  scroll-behavior: smooth;
	}

    body {
      font-family: "Sarabun", serif;
      font-weight: 500;
      font-style: normal;
      background-color: #05040a; /* Ustawienie ciemnego tła */
      background: url('https://www.bropedia.pl/graftech/krata_patern.jpg') repeat;
      color: white;
      height: 100vh;
      min-height: 100dvh;
      overflow-x: hidden;
    }
    .main-content {
      max-width: 700px;
      width: 100%;
      margin: 0 auto;
    }
    header {
      text-align: center;
      padding: 1rem 0 0.2rem;
      margin-top: 0.3rem;
      position: relative;
      z-index: 2;
    }
.header_calibre {
    	display: flex;	
    }
    
header img {
    max-width: 25%;
    height: auto;
    padding-right: 1rem;
    position: absolute;
    right: 0;
    }
 
h1 {
	font-family: "Oswald", serif;
	display: flex;
    text-align: left;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    flex-direction: column;
    margin-top: -2.1%;
    margin-left: -0.7%;
}

.menu-browar {
	position: relative;
    margin-top: 0.3rem;
    margin-bottom: 1.2rem;
    z-index: 2;
}

.menu-browar ul {
	display: flex;
    gap: 0.3rem 1rem;
    list-style: none;
    flex-wrap: wrap;
}

.menu-browar a {
	color: white;
    font-size: 1.2rem;
    font-weight: 400;
}

.reko-patroni {
	display: none;
	position: relative;
    height: 7.6rem;
    background: #1b1b1b;
    margin: 0 0 1rem;
    padding: 0.5rem 1.4rem 1.2rem;
    z-index: 2;
}

.reko-patroni p {
    font-size: 1.1rem;
    font-weight: 400;
    color: #727272;
}

.reko-patroni .color-line {
	height: 12px;
    position: absolute;
    left: 0;
    top: -12px;
}

.CommentInfo p,
.noComment p {
	color: #4e4e4e;
}

.CommentInfo a,
.noComment a {
	color: #afafaf;
}

.CommentInfo a:hover,
.noComment a:hover {
	color: #f49b00;
	background: none;
}

.reko-stat {
	display: flex;
    gap: 0.5rem;
    margin-top: -0.15rem;
    margin-bottom: 0.7rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #282828;
    justify-content: left;
}

.reko-stat .info-icon {
	position: absolute;
    right: 0.5rem;
    top: 0.1rem;
    font-size: 1.2rem;
    font-weight: bolder;
    padding: 0 0 3px 1px;
}

.randomCommentContainer {
	display: flex;
    gap: 1.3rem;
    margin: 0.75rem auto 0;
    height: 3rem;
    width: 100%;
    align-items: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    justify-content: center;
}

.persona {
	font-family: "Oswald", serif;
	font-size: 1.3rem;
	color: #f49b00;
	font-weight: 500;
	max-width: 30%;
	padding-top: 0.23rem;
	line-height: 1.5rem;
	text-align: right;
}

.persona_koment {
	color: white;
	font-size: 1rem;
    font-weight: 300;
    max-width: 65%;
    padding-top: 0.42rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


#fileContent {
    color: #999999;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.47rem;
}

.CommentInfo {
	font-family: "Oswald", serif;
    text-align: left;
    margin: inherit;
    padding: 0.5rem 0;
}

.noComment {
	font-family: "Oswald", serif;
    text-align: left;
    margin: inherit;
}

@media (max-width: 768px) {
	.reko-patroni .color-line {
		height: 8px;
    	position: absolute;
    	left: 0;
    	top: -8px;
	}
	.menu-browar {
       	margin-top: 0.3rem;
    	margin-bottom: 0.8rem;
    }
	.menu-browar ul {
		gap: 0.5rem 0.6rem;
    	line-height: 1rem;
	}
	.menu-browar a {
		font-size: 3.7vw;
    	font-weight: 400;
	}
	.reko-patroni {
    	height: 5.1rem;
    	margin: 0.7rem 0;
    	padding: 0.4rem 0.7rem 0.2rem;
    }
    .reko-stat {
    	gap: 0.3rem;
    	margin-top: -0.12rem;
    	margin-bottom: -0.1rem;
	}
	.reko-patroni p {
    	font-size: 0.75rem;
    	font-weight: 400;
	}
	#fileContent {
    	font-size: 0.80rem;
    	font-weight: 300;
    	line-height: 0.95rem;
	}
	.reko-stat .info-icon {
    	right: 0.1rem;
    	top: 0rem;
    	font-size: 1.1rem;
    	font-weight: bolder;
    	padding: unset;
    	width: 16px;
    	height: 16px;
	}
	.randomCommentContainer {
		margin: 0.2rem auto 0;
	    gap: 0.7rem;
    }
	.persona {
    	font-size: 0.76rem;
    	font-weight: 500;
    	max-width: 27%;
    	padding-top: unset;
    	line-height: 1rem;
	}
	.persona_koment {
        font-size: 0.65rem;
    	font-weight: 300;
    	max-width: 75%;
    	padding-right: 0.5rem;
        padding-top: 0rem;
	}
	.noComment {
		padding: 0.5rem 0 !important;
	}
	.noComment p {
		font-size: 0.69rem;
	}
}

@media (max-width: 320px) {
	.reko-patroni p {
    	font-size: 0.7rem;
    	font-weight: 300;
	}
	#fileContent {
    	font-size: 0.7rem;
    	font-weight: 400;
    	line-height: 0.9rem;
	}
	.persona_koment {
        font-size: 0.5rem;
    }
    .reko-stat .info-icon {
    	right: 0rem;
    	top: 0rem;
    }
    .noComment {
    	padding: 0.7rem 0 !important;
    }
    .noComment p {
		font-size: 0.55rem;
	}
}
	


/* Kontener główny dla kolumn */
        .container_column {
        	font-family: "Oswald", serif;
            display: flex;
            gap: 0.6rem;
            max-width: 100%;
       }

        /* Kolumny */
        .column {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            z-index: 2;
        }

        /* Stylizacja kontenerów */
        .item {
        background: rgb(22 22 22 / 60%);
    	backdrop-filter: blur(8px) saturate(100%);
        border-radius: 0;
        border: 0.2rem solid #1b1b1b;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #5c5c5c;
        font-size: 1.3rem;
        position: relative;
        overflow: hidden;
    }
 
.historia {
        background: rgb(22 22 22 / 60%);
    	backdrop-filter: blur(8px) saturate(100%);
        border-radius: 0;
        border: 0.2rem solid #1b1b1b;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #5c5c5c;
        font-size: 1.3rem;
        position: relative;
        overflow: hidden;
    } 
   
.app {
        background: rgb(22 22 22 / 60%);
    	backdrop-filter: blur(8px) saturate(100%);
        border-radius: 0;
        border: 0.2rem solid #1b1b1b;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #5c5c5c;
        font-size: 1.3rem;
        position: relative;
        overflow: hidden;
        text-decoration: none;
    }
.app.ratio-16x9:hover {
	    background: rgb(22 22 22 / 60%);
}
    
.app_set {
    background: #f49b00;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #1e1e1e;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    }
    
.app_set.ratio-16x9:hover {
	background: #d97700;
}
    
    .item img {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 0;
        object-fit: cover;
    }
    
.item video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.text-container {
    display: block;
    color: white;
    font-size: 1rem;
    border: none;
    background: none;
    backdrop-filter: none;
    padding-left: 10px;
    
}

.text-container h2 {
	text-align: left;
    margin-top: -9px;
    font-size: 1.54em;
}

.text-container p {
	font-family: 'Sarabun';
    font-size: medium;
    font-weight: normal;
    line-height: 1.5;
    margin: 5px 0;
    padding: 0;
    border-radius: 0;
    text-align: left;
    
}

.read-more-btn {
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
    background-color: #1b1b1b;
    color: #6e6e6e;
    border: none;
    padding: 0.1rem 12px;
    text-align: right;
    cursor: pointer;
    font-family: 'Oswald';
    font-size: 1rem;
    font-weight: 500;
    /*box-shadow: 0px -20px 20px 20px rgb(10 10 10 / 85%);*/
}

.read-more-btn:hover {
    background-color: #f49b00;
    color: #242424;
}
	
    .item.no-border {
        border: none;
        background: none;
    }
    
.item.gallery {
    background: rgb(22 22 22 / 60%);
    backdrop-filter: blur(8px) saturate(100%);
    border-radius: 0;
    border: 0.2rem solid #1b1b1b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #5c5c5c;
    position: relative;
    overflow: hidden;
    transition: border 0.5s;
    z-index: 1;
}

/* Stylizacja obrazów w pokazie slajdów
.item.gallery img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}*/

/* Aktywny obraz (z efektem Fade) 
.item.gallery img.active {
    opacity: 1;
}*/

/* Ukrycie ramki, gdy są obrazy */
.item.gallery.has-images {
    border: none;
}

.slide {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.slide.visible {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}


.item.klip-yt {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: -2px;
    margin-top: -2px;
}

.item.klip-yt iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}
.item iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: none;
    pointer-events: none; /* Wyłączenie interakcji z iframe */
}

.blok {
	display: contents;
}

.przypis {
	font-family: "Oswald", serif;
	background: #1b1b1b;
	margin-top: -0.61rem;
    padding: 0 0 0 9px;
    font-size: 1.2rem;
    color: #6e6e6e;
    z-index: 2;
}

.przypis.up {
	font-family: "Oswald", serif;
	margin-bottom: -0.7rem;
    margin-top: 0;
    z-index: 2;
}

.przypis.pusty {
    margin-top: -0.61rem;
    padding: 0 0 0 9px;
    font-size: 0.9rem;
    background: none;
    color: transparent;
}




/* Stylizacja kropek nawigacyjnych */
.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cdcdcd52;
    cursor: pointer;
    transition: background-color 0.3s;
}

.total-modal-body .modal-gallery .dots {
    display: none !important;
}

.dots .dot.active {
    background-color: #f0b813;
}

/* Proporcje kontenerów */
.ratio-1x1 {
    aspect-ratio: 1 / 1;
}

.ratio-9x16 {
    aspect-ratio: 9 / 16;
}

.ratio-16x9 {
    aspect-ratio: 16 / 9;
}

.ratio-9x9 {
    aspect-ratio: 9 / 9.05;
}
.ratio-app {
    aspect-ratio: 16 / 9.66;
}

/* Responsywność */
@media (max-width: 768px) {
	h1 {
	    font-size: 14vw;
    	line-height: 1;
	}
	.dots{
		gap: 3px;
	}
	.gallery-nav .dots {
		gap: 6px;
	}
.text-container {
	padding-left: 6px;
	     
}

.text-container p {
	font-size: 0.65rem;
    font-weight: normal;
     
}

.read-more-btn {
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 500;
    /*box-shadow: 0px -5px 10px 10px rgb(10 10 10 / 85%);*/
}
			header img {
    max-width: 25%;
    
    }
    .item {
            font-size: 1rem;
        }
        
    .przypis {
	background: #1b1b1b;
    margin-top: -0.65rem;
    padding: 0 0 0 9px;
    font-size: 0.9rem;
    color: #6e6e6e;
    
  }
  
.przypis.up {
	z-index: 2;
}  
.ratio-9x9 {
    aspect-ratio: 9 / 9.04;
}
.ratio-app {
    aspect-ratio: 16 / 9.66;
}

.text-container h2 {
	text-align: left;
    margin-top: -7px;
    font-size: 1rem
}

.dots .dot {
    width: 4px;
    height: 4px;
    }

}
        
  
    .subtitle {
      padding-top: 0;
    }
    
    .subtitle.kalibre3 {
      margin-top: 2px;
    }
    
    @media (max-width: 768px) {
      body {
        background-size: 445px;
      }
    }
    @media (max-width: 480px) {
      body {
        background-size: 435px;
      }
    }
    @media (max-width: 420px) {
      body {
        background-size: 435px;
      }
    }
    .barmobile {
      height: 3dvh;
      display: none;
 }
    .container-home{
      padding: 0;
    }
    .sidemenu {
      display: flex;
      flex-direction: column;
      position: fixed;
      left: 0;
      top: 0;
      height: 100dvh;
      width: 15%;
      background: rgb(244 155 0);
      z-index: 1000;
      font-size: xx-large;
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
    }
    .menu-icon {
      display: flex;
      flex-direction: column;
      width: 2rem;
      gap: 0.5rem;
      cursor: pointer;
      margin: 1rem;
      padding-top: 0.1rem;
      color: white;
      position: relative;
      z-index: 2;
      cursor: default;
    }
    .menu-icon span {
      width: 30px;
      height: 3px;
      background: #fff;
    }
    .menu-mobile {
      font-family: 'Sarabun';
      display: flex;
      flex-direction: column;
      position: fixed;
      left: 0;
      top: 0;
      height: 100dvh;
      background: black;
      z-index: 1000;
      transform: translateX(-101%);
      transition: transform 0.3s ease-in-out;
      padding: 5% 0 10% 8%;
      }
      
    .menu-mobile.show {
  transform: translateX(0);
}
    .menu-mobile.show h2 {
      margin-top: 5px;
      font-size: 0.9rem;
      color: #f49b00;
    }
    .menu-mobile ul {
  	  list-style: none; /* Usuwa domyślne znaczniki listy */
      padding: 0;
      margin: 0;
    }

    .menu-mobile ul li {
      margin: 0;
    }

    .menu-mobile ul li a {
      display: block;
      font-size: 15px;
      font-weight: 900;
      color: #8d8d8d;
      margin-top: 2px;
      cursor: default;
    }

    .menu-mobile ul li a:hover {
      background: none;
      color: #f49b00; 
    }
    
    /* Stylizacja przycisku zamykającego menu */
    .close-menu {
      position: absolute;
      top: 20px;
      right: 25px;
      background: transparent;
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: default;
      }
    /* Stylizacja overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999;
  display: none; /* Ukryj domyślnie */
}

.menu-mobile.show ~ .menu-overlay {
  display: block; /* Pokaż overlay, gdy menu jest otwarte */
  z-index: 999;
}
    .menu-content {
      position: absolute;
      left: 3%;
      top: 14%;
      z-index: 2;
      }
    .menu-content h2 {
      color: #f49b00;
      font-size: 1.2rem;
      font-weight: 600;
      }
    .menu-content ul {
      list-style: none;
      padding: 0;
      color: #383838;
      font-size: 1.2rem;
    }
    .menu-content ul li {
      margin: 0.5rem 0;
    }
    .menu-content ul li a {
      color: #9b9b9b;
      text-decoration: none;
    }
    .menu-content ul li a:hover {
      color: #f49b00;
      background: none;
    }
    .menu-content .rowA.fallow {
    	margin-top: 70px;
    }
    .menu-content .rowA.social {
    	margin-top: 20px;
    }
    
    /* Dla urządzeń mobilnych */
    @media (max-width: 768px) {
      .menu-icon {
        display: flex;
      }
      .sidebar.show {
        transform: translateX(0);
      }
      header {
        margin-left: 0;
      }
    }
    #three-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: auto; /* Domyślnie brak interakcji */
      z-index: 1; /* Umieść scenę 3D za innymi elementami */
    }
    .buttons {
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      
    }
    a {
      text-decoration: none;
    }
    .row {
      display: flex;
      gap: 0.6rem;
      width: 100%;
      height: 100%;
      z-index: 2;
      overflow: hidden;
    }
    
    .row.search {
      overflow: unset;
      z-index: 9999;	
    }
    
    /* Przyciski ogólne */
    .button {
      font-weight: 500;
      border: none;
      border-radius: 8px;
      color: #fdfbea;
      /*background: linear-gradient(-45deg, #242424cc, #242424cc, #242424cc, #242424cc);
      backdrop-filter: blur(10px) saturate(600%); /* Rozmycie i wzmocnienie kolorów  */
      background: rgb(82 82 82 / 28%);
      backdrop-filter: blur(8px) saturate(100%);
      z-index: 2;
    }
    a:hover {
      color: #f49b00;
      font-weight: 400;
    }
    button:hover {
      background: #484848cc;
    }
    @media (max-width: 800px) {
      a:hover {
        color: #f49b00;
    	font-weight: 400;
      }
    }
    
    
        
    .container {
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: 1200px;
      margin: auto;
      margin-top: 30px;
      gap: 0.7rem;
      z-index: 2;
    }
    .row_big {
      display: flex;
      gap: 0.7rem;
      width: 100%;
      z-index: 2;
    }
    .left {
      width: 50%; /* Domyślnie zajmuje połowę */
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      margin-top: -7px;
    }
    .right {
      width: 50%;
      /* background: rgba(255, 255, 255, 0.1); */
      /* padding: 1rem; */
      background: rgb(82 82 82 / 28%);
      backdrop-filter: blur(8px) saturate(100%);
      border-radius: 8px;
    }
    /* Podział na rowA i rowB w lewej sekcji */
    .rowA, .rowB {
      display: flex;
      gap: 0.7rem;
      height: 100%;
      width: 100%;
      margin: -1px 0;
    }
    .rowA div, .rowB div {
      width: 50%; /* Połowa szerokości */
      padding: 1rem;
      text-align: center;
    }
    /* Responsywność */
    @media (max-width: 1400px) {
      .barmobile {
        display: block;
    	position: relative;
    }
      .menu-content {
        display: none;
      }
    }
    @media (max-width: 1000px) {
      .row_big {
        flex-direction: column; /* Zmienia układ na pionowy */
      }
      .left, .right {
        width: 100%; /* Zajmują całą szerokość */
        margin: 30px 0 0;
      }
            
      .button.half1.stuff {
        flex: 1;
        height: auto;
        padding-top: 2px;
        font-size: clamp(0.1rem, calc(0.5rem + 1vw), 17px);
        text-decoration: none;
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
      }
      .button.half1.stuff img {
        height: 2.3rem;
    	padding-bottom: 0;
    	width: 100%;
    	height: auto;
    	border-radius: 8px;
      }
      .button.half2.stuf img {
        height: 2.3rem;
    	padding-bottom: 0;
    	width: 100%;
    	height: auto;
    	border-radius: 8px;
      }
      .button.half1 span, .button.half2 span {
        padding: 0 0 2px 0;
      }
      .rowA, .rowB {
        display: flex;
    	gap: 0.6rem;
    	height: 100%;
    	width: 100%;
    	margin: -1px 0;
      }
      .rowA.social .button.half1.stuff {
      	padding-left: 0;
      }
      .container {
        margin-top: -10px;
        }
           
    }
    
    
    

    /* ---------------------------------------------
       DODATKOWA FUNKCJONALNOŚĆ: PRZEŁĄCZNIK WIDOCZNOŚCI OBIEKTU 3D
    ---------------------------------------------- */
    .toggle-switch {
      position: fixed;
    top: 18px;
    right: 20px;
    width: 48px;
    height: 23px;
    background-color: #ccc;
    border-radius: 25px;
    /*cursor: pointer;*/
    display: flex;
    align-items: center;
    padding: 1px;
    transition: background-color 0.3s ease;
    z-index: 15;
     }
         
    /* Stan "włączony": kropka po prawej stronie */
    .toggle-switch.on {
      background-color: #3636368a;
      backdrop-filter: blur(8px) saturate(100%);
      z-index: 10;
      /*border: 1px solid #3e3e3e;*/
    }
    /* Stan "wyłączony": kropka po lewej stronie */
    .toggle-switch.off {
      background-color: #3636368a;
      backdrop-filter: blur(8px) saturate(100%);
      /*border: 1px solid #3e3e3e;*/
    }
    .toggle-dot {
      width: 21px;
      height: 21px;
      background-color: #c31414;
      border-radius: 50%;
      transition: transform 0.3s ease;
      /* W stanie "on" kropka przesunięta w prawo, w "off" – pozostaje z lewej */
      transform: translateX(25px);
    }
    .toggle-switch.off .toggle-dot {
      transform: translateX(0);
      position: relative;
      left: 2px;
    }
    
    /* żółty przycisk */
    /* CSS - Stylowanie żółtego przycisku */
.yellow-toggle-switch {
  position: fixed;
    top: 18px;
    right: 90px;
    width: 48px;
    height: 23px;
    display: inline-block;
    /*border: 1px solid #3e3e3e;*/
    border-radius: 25px;
    padding: 1px;
    background: #3636368a;
    backdrop-filter: blur(8px) saturate(100%);
    transition: background-color 0.3s;
    z-index: 10;
}

.yellow-toggle-switch .toggle-dot {
    width: 21px;
    height: 21px;
    background-color: #f49b00;
    border-radius: 50%;
    position: absolute;
    top: 2.4px;
    /* left: 2.5px; */
    transition: left 0.3s;
}

.yellow-toggle-switch.off {
  display: auto;
}
/* Po kliknięciu, suwak zmienia pozycję */
.yellow-toggle-switch.off .toggle-dot {
  left: calc(100% + -71px);
}

/* Dodaj animację do ukrywania / pokazywania zawartości */
.container-home,
.menu-content {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Kiedy elementy mają być ukryte */
.hidden {
  opacity: 0;
  visibility: hidden;
}


.total-modal-content:focus {
  outline: none;
}


@media (max-width: 1400px) {
	  header{
	    padding: 1.2rem 1rem 0.2rem;	
	  }
	  .container-home{
	  	padding: 0 1rem;
	  }
      .toggle-switch {
      position: absolute;
      top: -21.9px;
      right: 4%;
      width: 48px;
      height: 23px;
      background-color: #ccc;
      padding: 0;
      }
      .toggle-dot {
      position: relative;
    width: 19px;
    height: 19px;
    right: -2px;
      }
      .yellow-toggle-switch {
    position: absolute;
    top: -22px;
    right: calc(4% + 55px);
    width: 48px;
    height: 23px;
    display: inline-block;
    transition: background-color 0.3s;
    padding: 0;      
	  }
	  .yellow-toggle-switch .toggle-dot {
        width: 19px;
    height: 19px;
    background-color: #f49b00;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
    }
    header img {
    max-width: 30%;
    }	
}

.rowA.footmenu ul {
  list-style: none; /* Usuwa domyślne znaczniki listy */
  padding: 0;
  margin: 0;
}

.rowA.footmenu ul li {
  margin: 0;
}

.rowA.footmenu ul li a {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #b1b1b1;
}

.rowA.footmenu ul li a:hover {
  background: none;
  color: #f49b00; 
}

.rowA.fallow {
  height: auto;
  margin-top: 30px;
}

.rowA.fallow p {
  font-size: 16px;
  font-weight: 300;
}
.rowA.social {
  display: flex;
  height: auto;
  margin: 10px 0;
  gap: 1.5rem;
}

.rowA.social .button.half1.stuff {
  background: none;
  backdrop-filter: none;
  display: block;
}

.rowA.social .button.half1.stuff img {
  padding-bottom: 0;
  height: 50px;
}

.rowA.patron {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: auto;
  margin-top: 20px;
}

.rowA.patron a {
  height: 48px;	
}

@media (max-width: 1000px) {
  	.rowA.social .button.half1.stuff {
  	background: none;
  	backdrop-filter: none;
  	display: flex;
  	flex-direction: column;
	}

	.rowA.patron {
  	display: flex;
  	flex-direction: column;
  	height: auto;
  	align-items: center;
	}
	.rowA.fallow {
    display: flex;
    flex-direction: column;
    align-items: center;
	}
}

.right p {
	color: #f49b00;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 15px;
}

footer {
	font-family: "Sarabun", serif;
	display: flex;
	justify-content: space-between;
    flex-direction: row;
    font-size: small;
    font-weight: 200;
    padding: 0 0 2.2rem;
    z-index: 2;    
}
footer p {
	display: left;
	
}
footer a {
	text-decoration: none;
    color: white;
    z-index: 5;
}
footer a:hover {
	text-decoration: none;
    background: none;
}

@media (max-width: 1000px) {
  	.rowA.social .button.half1.stuff {
  	background: none;
  	backdrop-filter: none;
  	display: flex;
  	flex-direction: column;
	}

	.rowA.patron {
  	display: flex;
  	flex-direction: column;
  	height: auto;
  	align-items: center;
	}
	.rowA.fallow {
    display: flex;
    flex-direction: column;
    align-items: center;
	}
	footer {
	font-size: x-small;
    font-weight: 200;
    margin: 1.8rem 0 20px;
    }
}

.menu-mobile.show .rowA.fallow {
	margin-top: 50px;
}
.menu-mobile.show .rowA.fallow p {
	width: 80%;
    font-size: 12px;
    margin-left: -20px;
}
.menu-mobile.show .rowA.social {
	width: 93%;
    font-size: 12px;
    margin-bottom: -6px;
}

.menu-mobile.show .rowA.patron {
    margin-left: -12px;
    transform: scale(0.9);
    height: auto;
}

/* Styl dla modala */
.modal_play {
  display: none; /* Domyślnie ukryty */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Ciemne tło */
  z-index: 1000; /* Na wierzchu innych elementów */
  overflow-y: auto; /* Przewijanie w pionie */
}

/* Zawartość modala */
.modal-content_play {
  width: 100%;
  min-height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Główny element (powiększony) */
.main-element_play {
  width: 100%;
  max-width: 800px;
  margin-bottom: 20px;
}

/* Pozostałe elementy w kolumnie */
.other-elements_play {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Styl dla nagłówka modala */
.modal-header_play {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background-color: black;
  z-index: 1001;
  padding: 10px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Szerokość nagłówka na ekranach stacjonarnych */
@media (min-width: 768px) {
  .modal-header_play {
    width: 700px; /* Szerokość zgodna z .main-content */
    margin: 0 auto; /* Wyśrodkowanie */
  }
}

/* Przycisk zamykania modala */
.close-modal_play {
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.close-modal_play:hover {
  color: #f49b00; /* Kolor przycisku po najechaniu */
}

/* Style dla wideo w modalu */
.modal_play video {
  position: absolute !important; /* Wymuś pozycjonowanie absolutne */
  top: 50% !important; /* Wyśrodkuj w pionie */
  left: 50% !important; /* Wyśrodkuj w poziomie */
  transform: translate(-50%, -50%) !important; /* Dokładne wyśrodkowanie */
  scale: 1 !important; /* Wymuś skalę 1 */
  aspect-ratio: 9 / 16 !important;
  width: 100% !important; /* Pełna szerokość */
  height: auto !important; /* Zachowaj proporcje */
  max-width: 800px; /* Maksymalna szerokość */
  margin-bottom: 20px; /* Odstęp od innych elementów */
  background-color: black; /* Tło wideo */
  z-index: 10; /* Upewnij się, że wideo jest na wierzchu */
}

/* Kontrolki wideo */
.modal_play video::-webkit-media-controls {
  display: flex !important; /* Wymuś wyświetlenie kontrolek w przeglądarkach opartych na WebKit */
}

.modal_play video::-webkit-media-controls-panel {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7); /* Tło kontrolek */
}

.modal_play video::-webkit-media-controls-play-button,
.modal_play video::-webkit-media-controls-mute-button,
.modal_play video::-webkit-media-controls-fullscreen-button {
  display: inline-block; /* Pokazuj przyciski play, mute i pełny ekran */
}

/* Dla przeglądarek innych niż WebKit (Firefox, Edge) */
.modal_play video {
  -moz-controls: visible !important; /* Firefox */
  -ms-controls: visible !important; /* Edge */
}

/* Style dla urządzeń mobilnych */
@media (max-width: 767px) {
  .modal-content_play {
    padding: 0; /* Usuń padding, aby treści wyświetlały się od brzegu do brzegu */
  }

  .main-element_play,
  .other-elements_play {
    width: 100%; /* Pełna szerokość ekranu */
    max-width: 100%; /* Usuń ograniczenie szerokości */
    margin: 0; /* Usuń marginesy */
  }

  .modal_play video,
  .modal_play img {
    width: 100% !important; /* Pełna szerokość ekranu */
    height: auto !important; /* Zachowaj proporcje */
    max-width: 100%; /* Usuń ograniczenie szerokości */
    margin: 0; /* Usuń marginesy */
  }
}

/* Style dla ekranów stacjonarnych */
@media (min-width: 768px) {
  .modal_play video {
    height: 95vh !important; /* 95% wysokości ekranu */
    width: auto !important; /* Szerokość wynikająca z proporcji 9x16 */
    max-width: none; /* Usuń ograniczenie szerokości */
  }

  .main-element_play,
  .other-elements_play {
    width: calc((95vh * 9) / 16); /* Szerokość wynikająca z proporcji 9x16 */
    max-width: 800px; /* Maksymalna szerokość */
  }
}

/* Loader */
.loader {
    position: absolute;
    border: 6px solid #f3f3f312;
    border-top: 6px solid #f49b00;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Stylizacja total-modal */
#totalGalleryModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(0 0 0);
    align-items: center; /* Wycentrowanie modala */
    z-index: 1000;
    overflow-y: auto; /* Umożliwia przewijanie */
   
}

#totalGalleryModal.open {
    display: flex;
}

/* Nakładka modalowa */
.total-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* --- Poprawki dla total-modal-content --- */
.total-modal-content {
    background: black;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 0;
    width: 90vw; 
    max-width: 100%; 
    height: 100vh; 
    max-height: 100vh;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; 
}

/* Stylizacja kontenera .modal-intro */
.modal-intro {
    width: 100%;
    padding: 1rem;
    background-color: #101010; /* Ciemne tło */
    /*border-bottom: 1px solid #333;  Linia oddzielająca */
    text-align: center;
    margin-bottom: 1rem; /* Odstęp od kolejnych kontenerów */
}

/* Stylizacja tytułu w .modal-intro */
.modal-header-title {
    font-family: "Oswald", serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: #f49b00; /* Żółty kolor */
    margin-bottom: 0.5rem;
}


/* Stylizacja tekstu informacyjnego w .modal-intro */
.modal-header-info {
    font-family: "Sarabun", serif;
    font-size: 0.9rem;
    color: white; /* Biały kolor */
    opacity: 0.8; /* Lekkie przyciemnienie */
}

@media (max-width: 768px) {
	.modal-header-title {
		font-size: 7.6vw;	
	}
	.modal-header-info {
		font-size: 4vw;	
	}
}

.loader-container .loader {
    position: absolute;
    left: 50%;
    top: 60%;
    border: 6px solid #f3f3f312;
    border-top: 6px solid #f49b00;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    animation: spin 1s linear infinite;
}

/* --- Stylizacja kontenera .dane --- */
.dane {
    font-size: 0.85rem;
    margin-top: -1px;
    padding: 2px 0 3px 10px;
    background-color: rgb(16 16 16);
    color: #9f9f9f;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

/* --- Nowa stylizacja nawigacji galerii (kropki i strzałki) --- */
.gallery-nav {
    position: relative;
    /* display: flex; */
    height: 30px;
    justify-content: center;
    align-items: center;
    margin-top: -12px;
    z-index: 5;
}

.gallery-nav .dots {
    display: flex;
    justify-content: center;
    margin: -24px 0;
}

.gallery-nav .dot {
    width: 8px;
    height: 8px;
    margin: 5px 0;
    background-color: #4e4e4e;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery-nav .dot.active {
    background-color: #f49b00; /* Kolor aktywnej kropki */
}

.gallery-nav .arrow {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.gallery-nav .arrow:hover {
    color: rgba(255, 255, 255, 1);
}

/* Centrowanie i przewijalność na desktopie */
@media (min-width: 769px) {
    .total-modal-content {
        width: calc(130vh * (9 / 16)); /* Szerokość zależna od proporcji 9:16 */
        height: 100vh; /* Pełna wysokość na desktopach */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Centrowanie */
    }
    .total-modal-footer {
    	position: fixed;
    	bottom: -5vh;
    	width: calc(130vh * (9 / 16)); /* Szerokość zależna od proporcji 9:16 */
        left: 50%;
        transform: translate(-51.2%, -50%); /* Centrowanie */
    }
    
}

.arrow.next {
	position: absolute;
    right: 0;
}

.arrow.prev {
	position: absolute;
    left: 0;
}

/* Pełne wypełnienie ekranu na mobile */
@media (max-width: 768px) {
    .total-modal-content {
        width: 100vw; /* Pełna szerokość */
        height: calc(100vh - 0vh) !important; /* Wysokość modala z uwzględnieniem szarego obszaru na dole */
        max-width: 100vw;
        position: absolute; /* Ustawienie pozycji relative */
    }

    .total-modal-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        height: 10vh !important;
        width: 100%; /* Zajmuje całą szerokość */
        background-color: #808080; /* Szary kolor */
        padding: 10px;
        box-sizing: border-box;
        z-index: 10; /* Ustawiamy na wierzchu */
    }

    .modal-item .info-icon {
        width: 20px;
        height: 20px;
        line-height: 18px;
    }

    .dane {
        font-size: 0.6rem;
        padding: 2px 0 2px 10px;
    }
    
}

/* --- Poprawki dla przewijania wewnątrz modala --- */
.total-modal-body {
    flex: 1;
    overflow-y: visible; /* Dodano overflow-y: auto */
    padding: 0 !important;
    max-height: 100vh;
    height: 100%;
    width: 100%;
}

.total-modal-body::-webkit-scrollbar {
    display: none; /* Ukryj pasek przewijania w Chrome, Safari i Opera */
}

/* --- Stylizacja galerii w modalu --- */
.modal-gallery {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.modal-gallery img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.total-modal-footer {
    height: 9vh;
    background-color: #f49b00;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    z-index: 40;
    gap: 20px; 
}

.close-total-modal {
    position: relative;
    height: 2.5rem;
    right: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 100;
}

.close-total-modal:hover {
    color: #f0b813; /* Zmiana koloru przy hoverze */
}

.modal-item .przypis {
    background: #101010;
    height: 32px;
    font-size: 1.2rem;
    color: #4e4e4e;
    margin-top: 5vh;
    margin-bottom: -1px;
    padding-bottom: 0;
}

.modal-item .przypis.up {
    margin-bottom: 0;
}

.modal-item .przypis .info-icon {
    cursor: pointer;
    position: relative;
    right: -0.5rem;
    color: #101010;
    line-height: 18px;
    font-weight: 700;
    z-index: 5;
}

.modal_info {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
}

#totalGalleryModal {
    z-index: 1000; 
}


.no-scroll {
    overflow: hidden;
}

.modal-spacer {
    height: 8rem;
    width: 100%; 
    background-color: transparent; 
}

.mute-all-button img {
    position: relative;
    right: -0.2rem;
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

.mute-all-button {
    cursor: pointer;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; 
    border: none; 
    padding: 5px;
    z-index: 100;
}

.mute-all-button:hover {
    opacity: 0.8; /* Efekt hover */
}

/* Styl dla kontenera wideo z proporcjami 9:16 */
.modal-video-container {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* Proporcje 9:16 (100 / 9 * 16) */
    background-color: black; /* Tło, aby obszar nie był pusty */
    overflow: hidden;
}

/* Styl dla kontenera wideo z proporcjami 9:16 na PC*/
@media (min-width: 768px) {
	.modal-video-container {
    	position: relative;
    	width: 100%;
    	scale: 65%;
    	padding-top: 177.78%;
    	background-color: black;
    	overflow: hidden;
    	margin-top: -30%;
    	margin-bottom: -30%;
	}
}        
    

/* Styl dla samego wideo */
.modal-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zachowaj proporcje wideo */
}

/* Stylizacja kontrolek wideo */
.custom-video-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    z-index: 1100; /* Upewnij się, że kontrolek są na wierzchu */
}

/* Stylizacja paska postępu */
.progress-container {
	position: absolute;
    left: 0;
    flex: 1;
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.control-button.play-pause {
	position: absolute;
    top: -5rem;
    left: 20%;
    border: none;
    background: #00000080;
}

.control-button.volume {
	position: absolute;
    top: -5rem;
    right: 20%;
    border: none;
    background: #00000080;
}

.control-button.play-pause img {
    width: 70px;
    height: 50px;
    vertical-align: middle;
}

.control-button.volume img {
    width: 70px;
    height: 50px;
    vertical-align: middle;
}

.progress-bar {
    height: 100%;
    background: #f49b00;
    width: 0;
    transition: width 0.1s;
}

/* Loader (koło ładowania) */
.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f49b00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1200;
    display: none; /* Domyślnie ukryty */
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Stylizacja przełącznika */
.modal-switch {
    position: relative;
    left: 88%;
    display: flex;
    padding: 2px;
    top: -1rem;
    transform: translateY(-50%);
    width: 40px;
    height: 20px;
    background-color: #4e4e4e;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-switch.off {
    background-color: #4e4e4e;
}

.modal-dot {
    width: 16px;
    height: 16px;
    background-color: #191919;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.modal-switch.off .modal-dot {
    transform: translateX(20px);
}

/* Stylizacja dla ukrytych elementów */
.niewidoczny .item,
.niewidoczny .dane,
.niewidoczny .gallery-nav,
.niewidoczny .modal-video-container {
    display: none;
}

/* Stylizacja globalnego przełącznika */
.global-toggle-container {
    position: absolute;
    width: auto;
    left: 3%;
    bottom: 4.9%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 8px 0 5px 5px;
    background-color: unset;
    box-sizing: border-box;
    z-index: 50;
}

@media (min-width: 769px) {
    .global-toggle-container {
    	position: absolute;
    	width: auto;
    	bottom: 4.8vh;
    	display: flex;
    	align-items: center;
    	justify-content: flex-start;
    	gap: 1rem;
    	padding: 8px 0 5px 5px;
    	background-color: unset;
    	box-sizing: border-box;
    	z-index: 10000;
	}
}

.global-toggle-text {
    font-size: 0.8rem;
    width: max-content;
    color: #101010;
    font-weight: bold;
}

.start-slideshow-button {
    position: absolute;
    margin-bottom: -1%;
    left: 3%;
    bottom: -0.1%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.05rem;
    padding: 8px 0 5px 5px;
    background-color: unset;
    box-sizing: border-box;
    z-index: 50;
    cursor: pointer;
}

.slideshow-text {
    font-size: 0.8rem;
    color: #101010;
    font-weight: 700;
}

.global-modal-switch {
    width: 40px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: background-color 0.3s ease;
}

.global-modal-switch.off {
    background-color: white;
}

.global-modal-dot {
    width: 16px;
    height: 16px;
    background-color: #f49b00;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.global-modal-switch.off .global-modal-dot {
    transform: translateX(20px);
}

@media (max-width: 768px) {
    .modal-switch {
    	left: 78%;
    	top: -0.97rem;
    }
    .global-modal-switch {
        width: 38px;
        height: 18px;
    }
    .global-modal-dot {
        width: 14px;
        height: 14px;
    }
    .global-toggle-container {
        position: absolute;
        width: auto;
        left: 0.3rem;
        bottom: 55%;
        gap: 0.7rem;
    }
    .global-toggle-text {
        font-size: 0.7rem;
        font-weight: 700;
    }
    .start-slideshow-button {
        left: 0.46rem;
        bottom: 0;
    }
    .slideshow-text {
        font-size: 0.7rem;
    	margin-left: -0.15rem;
    }
    .start-slideshow-button img {
        height: 32px;
    }
}

/* Stylizacja nowego modala */
#fullscreenModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.fullscreen-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out; /* Szybsza i bardziej naturalna animacja */
}

.fullscreen-modal-body {
    width: 100vh; /* Dostosowanie szerokości do wysokości ekranu */
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
}

.fullscreen-material {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fullscreen-material video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Kontener dla elementów nawigacyjnych */
.navigation-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 20px;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    opacity: 1; /* Początkowo widoczny */
    transition: opacity 0.5s ease-in-out; /* Płynne przejście */
    pointer-events: auto; /* Domyślnie interaktywny */
}

/* Styl dla wygaszonego kontenera */
.navigation-container.hidden {
    opacity: 0;
}

.fullscreen-modal-content[style*="rotate(0deg)"] .fullscreen-modal-body,
.fullscreen-modal-content[style*="rotate(180deg)"] .fullscreen-modal-body,
.fullscreen-modal-content[style*="rotate(360deg)"] .fullscreen-modal-body,
.fullscreen-modal-content[style*="rotate(-180deg)"] .fullscreen-modal-body,
.fullscreen-modal-content[style*="rotate(-360deg)"] .fullscreen-modal-body {
	height: 100vh;
}

.fullscreen-modal-content[style*="rotate(90deg)"] .navigation-container,
.fullscreen-modal-content[style*="rotate(270deg)"] .navigation-container,
.fullscreen-modal-content[style*="rotate(-90deg)"] .navigation-container,
.fullscreen-modal-content[style*="rotate(-270deg)"] .navigation-container {
	position: absolute;
    top: 130%;
}

.center-kalibra {
	position: absolute;
    display: flex;
    gap: 1rem;
}


/* Przycisk zamykania */
.close-fullscreen-modal {
	/*position: absolute;*/
    cursor: pointer;
}

.close-fullscreen-modal img {
    width: 40px;
    height: 40px;
}

/* Przyciski obrotu */
.rotation-controls {
    display: flex;
    gap: 12rem;
}

.rotate-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.rotate-button:hover {
    background-color: unset;
    color: black;
}

@media (max-width: 1000px) {
    .fullscreen-material {
        width: 100%;
        height: auto;
    }

    .navigation-container {
        padding: 0 10px;
        position: absolute;
    	bottom: 0px;
        padding: 0 10px;
    }

    .close-fullscreen-modal img {
        width: 40px;
        height: 40px;
    }

    .rotate-button {
        font-size: 20px;
        padding: 8px;
    }
    .fullscreen-modal-content[style*="rotate(0deg)"] .fullscreen-modal-body,
    .fullscreen-modal-content[style*="rotate(180deg)"] .fullscreen-modal-body,
    .fullscreen-modal-content[style*="rotate(-180deg)"] .fullscreen-modal-body {
		height: 100vh;
	}
	
	.fullscreen-modal-content[style*="rotate(90deg)"],
	.fullscreen-modal-content[style*="rotate(-90deg)"],
	.fullscreen-modal-content[style*="rotate(270deg)"],
	.fullscreen-modal-content[style*="rotate(-270deg)"] {
		height: 100vw;
	}
	
	.fullscreen-modal-content[style*="rotate(90deg)"] .fullscreen-modal-body,
	.fullscreen-modal-content[style*="rotate(-90deg)"] .fullscreen-modal-body,
	.fullscreen-modal-content[style*="rotate(270deg)"] .fullscreen-modal-body,
	.fullscreen-modal-content[style*="rotate(-270deg)"] .fullscreen-modal-body {
		height: 100vw;
	}

	.fullscreen-modal-content[style*="rotate(90deg)"] .navigation-container,
	.fullscreen-modal-content[style*="rotate(270deg)"] .navigation-container,
	.fullscreen-modal-content[style*="rotate(-90deg)"] .navigation-container,
	.fullscreen-modal-content[style*="rotate(-270deg)"] .navigation-container {
		position: absolute;
    	top: 84%;
	}
	
}

/* Dopasowanie do urządzeń stacjonarnych */
@media (min-width: 769px) {
    .fullscreen-material {
        width: auto;
        height: 100%;
    }
}

#rotate-left {
	transform: rotate(-90deg);
}

#rotate-right {
	transform: rotate(-90deg) scaleY(-1);
}

#modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

#mute-toggle {
	/*position: absolute;*/
	background: none;
    border: none;
}

#mute-toggle img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
}

#close-modal {
    font-size: 18px;
    cursor: pointer;
    background: none;
    border: none;
}