.template * {
	box-sizing: border-box;
}
.template body {
	margin:0;
	position:relative;
	

}

.template header  {
	
	display:block;
	height: 70vh;
	transition: height 0.5s ease-in-out, overflow 0.1s 2s;
	position:relative;
	overflow-y:hidden;
	overflow-x: auto;
	background-color: #181425;
	border: 10px solid #743f39;
	
	
	
}
.template header:has(#hack:checked) {
	height:0;
	
	

}
.template header:has(#hack:checked) ~ #znakdrugi  {
	top:-3vh;
	transition: top 0.5s 2s;
}

.template header:has(#hack:checked) ~ #znakdrugi:hover  {
transition: top 0.5s 0s;
top:0;
}



.template #container {
	width: 100%;
	height: 100%;
	display:flex;
	justify-content:center;
	align-items:center;
	position:relative;
	
	
	
}

.template #container p {
	text-indent: 10%;
	font-size:0.8vw;             /*12pt;*/
	text-decoration: underline;
	
}

.template #container h1 {
	font-size: 1vw;                      /*20pt; */
}

.template #container section {
	width:20%;
	position: absolute;
}

.template #kartki {
position: relative;	
z-index:2;
overflow:hidden;
flex:0 0 50%;
height:100%;
}

.template #kartki img[alt="kartki"] {width:100%; height:105%;position:absolute;top:0;left:0;}

.template #kartki img[alt="ramka"] { width:calc(32 * 100% / 119); height:calc(65 * 100% / 119);  position:absolute;  left:calc(84 * 100% / 119); top:calc(7 * 100% / 119);}

.template #kartki #ramka { width:calc(22 * 100% / 119); height:calc(53 * 100% / 119); position:absolute; left:calc(89 * 100% / 119); top:calc(13 * 100% / 119);}

.template #kartki img[alt="plakat"] { width:100%; height: 100%;}

.template #kartki #tytul {top:5%;right: 38%;}

.template #kartki #autor {top:20%;right:36%;}

.template #kartki #data {top:35%;right:34%;}

.template #kartki #opis {top:65%;right:1%; min-width:60%;height:30%;}

.template #kartki #opis p {text-decoration:none;}

.template #kartki #pdf, #pdf2, #pdf *, #pdf2 * { margin: 0;}

.template #kartki #pdf {top:62%;right:15%; width:15%;}

.template #kartki #pdf2 {top:62%;right:1%; width:15%;}

.template #kartki #pdf h4, .template #kartki #pdf2 h4 {font-size: 0.8vw;}

.template #kartki #pdf img, .template #kartki #pdf2 img {width:15%;}

.template input#hack {display:none}

.template #znakpierwszy img {cursor: var(--kursorEvent), auto ;width:100%;}


.template #znakpierwszy  {
	position:absolute; 
	display:block;
	right:20%; 
	bottom:-5%;
	z-index:5; 
	width:5%; 
	cursor: pointer;
	transition: bottom 0.5s 2s;
	
}

.template #znakpierwszy:hover {
	bottom:-1%;
	transition: bottom 0.5s;
}

.template #znakdrugi {
	
	top:-10vh;
	position:absolute; 
	right:20%; 
	z-index:4; 
	width:5%;
	display:block;
	
}

.template #znakdrugi img {transform:rotate(180deg); width:100%; cursor:var(--kursorEvent), auto;}


.template main {
	
	color:white;
	background-color:#262626;
	padding: 7%;
	word-wrap: break-word;
	position: relative;
	height:100%; 

}


.template .duze {
	font-size: 22.0pt;
	margin-top: 12.0pt;
	margin-right: 0cm;
	margin-bottom: 12.0pt;
	margin-left: 0cm;
	line-height: 150%;
	text-align: center;
}

.template #opcjeCont {
    display: flex;
    flex-direction: column;
    position: fixed;
	font-size: 1vw;
    width: 15vw;
    height: fit-content;
    z-index: 1000;
    max-height: 65vh;
    top:25vh;
    left: 100vw;
    border: 0.5vw solid #743f39;
    background-color: #e4a672;
    transition: left 1s;
}

#opcjeCont a {
	display: block;
	color:#743f39;
	opacity: 0.5;
}


#opcjeCont #wrocDoGory {
	max-height: 10%;
	height: fit-content;
	align-self: center;
	padding-top: 0.5vw;
}



#opcjeCont .navigacja {
    width: 100%;
	display: flex;
	flex-direction: column;
    overflow-y: auto;
    height: fit-content;
    max-height: 75%;
	scrollbar-width: none;
}


#opcjeCont .navigacja a {
	text-decoration: none;
    text-align: center;
	border-left: 0.25vw solid #743f39; 
	margin-bottom: 0.25vw;
}

#opcjeCont .navigacja a:hover, #opcjeCont #wrocDoGory a:hover {
	opacity: 1;
	transform:translateX(-10%);
}

#opcjeCont .navigacja ul {
	
	align-self: center;
	width: 75%;
	max-height: 100%;
	list-style-type:none;
    padding-inline-start: 0;
	overflow: visible;

	
}

#opcjeCont #zmianaWersji {
   

    display: flex;
    text-align: center;
    align-items: center;
    border-top: 0.25vw solid #743f39; 
    height: fit-content;
    max-height: 15%;
}

#opcjeCont #zmianaWersji p {
    flex: 1 0 0;
	display: block;
	text-align: center;
	
	
    margin: 0;
    padding: 0.5vw;
	opacity: 0.5;
	cursor: var(--kursorEvent), auto;
    
}

#opcjeCont #zmianaWersji p:hover:not(.active) {
		opacity: 1;
	transform:translateX(-10%);
}

#opcjeCont #zmianaWersji p.active {
	text-decoration: underline;
	text-decoration-thickness: 0.12vw;
	opacity: 1;
}

.template #tekst {
	position: relative;
}

.template .hidden {
	display: block;
	height: 1px;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	
}



.template #prawoAutorskieNotka {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #5a6988;
	width: 25%;
	margin: 1%;
	font-size: 0.8vw;
}

.template #prawoAutorskieNotka a {
	color: #8b9bb4;
}


         /* template do archiwów */

