:root{
	--txt: #111;
	--txt2: rgba(17,17,17,.25);
	--s: #bbb;
	--w: GhostWhite;
	--w2: rgba(248,248,255,.9);
	font-size: 100%;
	line-height: 1.5em;
}

html{margin:0;padding:0;}
body{
	margin: 0;
	padding: 0;
	text-rendering: optimizeLegibility !important;
	font-family: 'IBM Plex Serif', serif;
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 400;
	font-style: normal;
	color: var(--txt);
	background: var(--w);
}
*, *:before, *:after, div, h1, h2, h3, h4, h5, h6, p, a, ol, dl, ul, span {box-sizing:  border-box !important;}

a, a:link, a:visited{
	color: var(--txt);
	text-decoration: underline;
	opacity: 1;
	-webkit-transition: opacity 0.25s ease-in-out;
    -moz-transition: opacity 0.25s ease-in-out;
    -o-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
}
a:hover, a:active{
	color: var(--txt);
	text-decoration: none;
	opacity: .5;
	-webkit-transition: opacity 0.25s ease-in-out;
    -moz-transition: opacity 0.25s ease-in-out;
    -o-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
}

h1, h2, h3, h4, h5, h6{
	font-size: 4rem;
	line-height: 4.5rem;
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	letter-spacing: -.025em;
	margin: 1.5rem 0;
	width: 100%;
	float: left;
	padding: 0 .75rem;
	text-align: center;
}

header, main, footer{
	width: 100%;
	margin: 0;
	padding: 0 .75rem;
	float: left;
}

header{
	text-align: center;
	position: fixed;
	z-index: -1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
header h1{
	font-size: 8rem;
	line-height: 9rem;
	text-transform: uppercase;
	text-align: center;
}
header h2{
	font-family: 'IBM Plex Serif', serif;
	font-weight: 400;
	font-size: 6rem;
	line-height: 6rem;
	text-transform: none;
}
header div{
	width: 50%;
	float: left;
	margin: 3rem 25% 0;
	padding: 0 .75rem;
	text-align: center;
}
header p{
	width: 100%;
	float: left;
	text-align: left;
	margin-bottom: 3em;
}
header p+p{
	text-indent: 0;
	margin-top: 1.5em;
}
header div img{
	width: auto;
	height: auto;
	margin: 0;
	float: none;
	position: relative;
}

nav{
	font-family: 'IBM Plex Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: .125em;
	width: 100%;
	float: left;
	background: var(--w);
	position: fixed;
	z-index: 888;
}
nav ul{
	float: left;
	width: 100%;
	padding: .75rem;
	margin: 0;
	list-style: none;
}
nav li{
	float: left;
	width: 25%;
	margin: 0;
	padding: .75rem;
	text-align: center;
	cursor: pointer;
	color: var(--txt);
	transition: color ease-in-out .5s;
}
nav li:hover{
	color: var(--txt2);
	transition: color ease-in-out .5s;
}
nav a{
	width: 100%;
	float: left;
	cursor: pointer;
}
nav a, nav a:link, nav a:visited{
	text-decoration: none;
}
nav a:hover, nav a:active{
	text-decoration: none;
}

nav.lng{
	background: var(--txt);
	right: 0;
	top: 6rem;
	width: auto;
	text-align: right;
	height: 1.5rem;
	padding-left: .75rem;
	padding-right: .75rem;
	color: var(--w);
}
nav.lng a, nav.lng a:link, nav.lng a:visited{
	text-decoration: none;
	color: var(--w);
}
nav.lng a:hover, nav.lng a:active{
	text-decoration: none;
	color: var(--w);
}

main{
	margin-top: 4.5rem;
	padding: 0;
}
article{
	float: left;
	display: none;
	background: var(--w);
	height: calc(100vh - 4.5rem);
	overflow-y: auto;
	position: fixed;
	padding: 1.5rem .75rem 3.5rem 0;
	width: 100%;
}
section{
	float: left;
	width: 100%;
	position: relative;
}

article h2{
	text-transform: uppercase;
	padding: 0 0 3rem;
	margin: 0 .75rem 3rem;
	width: calc(100% - 1.5rem);
	border-bottom: 0.1em solid var(--txt);
}

h4{
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 1rem;
	line-height: 1.5rem;
	text-transform: uppercase;
	letter-spacing: .125em;
}
p{
	float: left;
	width: 100%;
	text-align: justify;
	margin: 0;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	text-justify: inter-word;
}
p+p{
	text-indent: 2em;
}

.poem p+p, p.opis+p{
	text-indent: 0;
	margin-top: 1.5em;
}

div{
	width: calc(100% / 3);
	float: left;
	padding: 0 .75rem;
}
div h1, div h2, div h3, div h4, div h5, div h6{
	padding: 0;
}
.sans{
	font-family: 'IBM Plex Sans', sans-serif;
}
.yt{
	position: relative;
	padding-top: calc(100% / 3 / 16 * 9);
}
.yt iframe{
	padding-top: 1.5rem;
}

img{
	width: 100%;
	height: auto;
	float: left;
	margin: 1.5em 0;
}
img+img{
	margin-top: 0;
}
img.portret{
	width: calc(50% - .75rem);
	clear: left;
}

.credits{
	font-size: .75rem;
	line-height: 1.5em;
}

dl{
	width: 100%;
	float: left;
	margin: 0;
	padding: .75em 0;
}
dt{
	width: 25%;
	float: left;
	clear: left;
	padding: .75em .75em .75em 0;
	margin: 0;
}
dd{
	width: 75%;
	float: left;
	padding: .75em 0 .75em .75em;
	margin: 0;
}

ul, ol{
	float: left;
	width: 100%;
	padding: 0.75em 0;
	list-style: none;
}
article ul li{
	width: 100%;
	float: right;
}
article ul li:before{
	content:'\2022';
	display: inline-block;
	width: 1.5rem;
	vertical-align: text-top;
}

sup{
	font-size: .75rem;
	line-height: 0;
}



div.video{
	width: calc(100% / 6 * 4 - 1.5rem);
	position: relative;
	float: left;
	padding-top: calc((100% / 6 * 4 - 1.5rem) / 16 * 9);
	margin: 0 calc(100% / 6 + .75rem);
}
iframe{
	width: calc(100% - 1.5rem);
	margin: 0 .75rem;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

aside{
	width:100vw;
	height: 100vh;
	overflow: hidden;
	position: fixed;
	pointer-events: none;
	z-index: 999999;
}
.karta{
	position: absolute;
	z-index: 999999;
	pointer-events: none;
	transition: ease-in-out all 4s;
	background-repeat: no-repeat;
}
#u{width:162px;height:267px;background-image:url('u.png');left:10%;top:20%;}
#s{width:64px;height:43px;background-image:url('s.png');left:20%;top:43%;}
#n{width:151px;height:169px;background-image:url('n.png');left:82%;top:78%;}
#c{width:97px;height:83px;background-image:url('c.png');left:77%;top:51%;}
#r{width:103px;height:60px;background-image:url('r.png');left:5%;top:44%;}
#g{width:141px;height:130px;background-image:url('g.png');left:90%;top:-5%;}
#l{width:25px;height:30px;background-image:url('l.png');left:-3%;top:28%;}
#i{width:195px;height:204px;background-image:url('i.png');left:14%;top:12%;}
#b{width:640px;height:654px;background-image:url('b.png');left:38%;top:92%;}

::-webkit-scrollbar{width:.75rem;background:transparent;}/*the scrollbar.*/
::-webkit-scrollbar-button{
	background: transparent;
}/*the buttons on the scrollbar (arrows pointing upwards and downwards).*/
::-webkit-scrollbar-thumb{background:var(--txt);}/*the draggable scrolling handle.*/
::-webkit-scrollbar-track{background:transparent;}/*the track (progress bar) of the scrollbar.*/
::-webkit-scrollbar-track-piece{background:transparent;}/*the track (progress bar) NOT covered by the handle.*/
::-webkit-scrollbar-corner{}/*the bottom corner of the scrollbar, where both horizontal and vertical scrollbars meet.*/
::-webkit-resizer{}/**/

@media only screen and (min-width: 94.5rem) {
	article{padding: 0 calc((100% - 94.5rem) / 2 + .75rem) 3.5rem;}
}
@media only screen and (max-width: 1544px) {
	header h1{margin-bottom: 0;}
	header h2{margin-top: 0;}
	header div{margin-top: 1.5rem;}
	header div p{margin-bottom: 1.5em;}
}
@media only screen and (max-width: 1214px) {
	header h2{font-size: 3rem;line-height:1em;margin-top:1.5rem;}
	div{width: 50%;}
	div.video{width: 100%;padding-top:calc(100% / 16 * 9);margin: 0;}
	.yt{padding-top: calc(50% / 16 * 9);}
}
@media only screen and (max-width: 1023px) {
	nav{letter-spacing:0;}
	header div{width:100%;margin:3rem 0 0 0;}
}
@media only screen and (max-width: 859px) {
	header h1{font-size: 4rem;line-height:4.5rem;}
	.karta{background-size: 50%;}
}
@media only screen and (max-height: 820px) {
	header{top:55%;}
	header div img{margin-bottom:-.75rem;}
	header div{margin-top: 1.5rem !important;}
}
@media only screen and (max-height: 779px) {
	header h1{font-size: 4rem;line-height:4.5rem;}
	header h2{font-size: 3rem;line-height:1em;margin-top:1.5rem;}
}
@media only screen and (max-width: 759px) {
	div{width: 100%;padding:0 calc(100% / 12 + .75rem);}
	div.video{width: calc(100% / 12 * 10);padding-top:calc(100% / 12 * 10 / 16 * 9);margin: 0 calc(100% / 12);}
	.yt{padding-top: calc(100% / 16 * 9);}
}
@media only screen and (max-width: 529px) {
	nav{
		box-shadow: 0 .375rem .375rem -.375rem var(--txt);
	}
	nav ul{
		height: 4.5rem;
		overflow: hidden;
		transition: height ease-in-out .5s;
	}
	nav li{
		width: 50%;
	}
	nav ul::before{
		content: 'menu';
		width: 100%;
		padding: .75rem;
		float: left;
		text-align: center;
		color: var(--txt);
		transition: color ease-in-out .5s;
	}
	nav:hover ul:before{
		color: var(--txt2);
		transition: color ease-in-out .5s;
	}
	nav:hover ul{
		height: 12rem;
		transition: height ease-in-out .5s;
	}
	main{margin-top:4.5rem;}
}
@media only screen and (max-width: 459px) {
	div{width: 100%;padding:0 .75rem;}
	div.video{width: 100%;padding-top:calc(100% / 16 * 9);margin: 0;}
	article h2, article h3{font-size: 2rem;line-height: 3rem;}
	article h2{padding-bottom: 1.5rem;margin-bottom: 1.5rem;}
	.karta{background-size: calc(100% / 3);}
	header h1, header h2{word-break: break-all;}
	header h2{margin: .75rem 0 1.5rem;}
	header div{margin-top:0;}
	header div p{margin-bottom:.75rem;}
	header div img{margin-bottom:-.75rem;}
	nav li{width: 100%;}
	nav:hover ul{height: 18rem;}
}


::selection{color:var(--w);background:var(--txt2);}::-moz-selection{color:var(--w);background:var(--txt2);}