@import url('./_config.css');

h1, h2, h3, h4, h5, h6 {
	font-weight: var(--titleWeight);
	color: var(--titleColor);
	line-height: 1.1;
	margin: 30px 0 20px;
}
b, strong {font-weight: var(--titleWeight)}

.container {
	max-width: 90%;
	width: var(--containerWidth);
}

.bg-black {background-color: black;}
.bg-white {background-color: white;}





/*
			N A V B A R
*/

.navbar {
	background-color: transparent;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all .3s;
}

.navbar-logo {
	margin: 30px 0;
	transition: all .3s;
}

.navbar-logo-image {
	display: block;
	height: 100px;
	transition: all .3s;
}


.affix {
	background-color: #fff;
	box-shadow: 0 0 30px hsla(0, 0%, 0%, .1);
}

.affix .navbar-logo {
	margin: 10px 0;
}

.affix .navbar-logo-image {
	height: 50px;
}



/*
			N A V B A R   N A V
*/

.navbar-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: center;
}

.navbar-nav li {
	list-style: none;
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
}

.navbar-nav > li:not(:first-child) {
	padding-left: var(--navMargin);
}

.navbar-nav a {
	will-change: auto;
}

.navbar-nav > li > a {
	color: var(--textColor);
	font-size: 1rem;
	font-weight: 500;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	will-change: transform;
	background-color: var(--primary);
	transition: all .2s var(--ease);
}


.navbar-nav a:focus::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	left: 0;
}

.navbar-nav .nav-active {
	color: var(--primary);
}

.navbar-nav ul {
	position: absolute;
	display: none;
	top: 100%;
	left: var(--navMargin);
	margin: 0;
	padding: 10px;
	min-width: 250px;
	background-color: white;
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
}

.navbar-nav ul a {
	padding: 10px 15px;
	display: flex;
	font-size: 0.875rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	transition: all .3s var(--ease);
}

.navbar-nav ul a::after {
	transform: rotate(-90deg);
}

.navbar-nav ul a::before {
	content: '>';
	font-family: monospace;
	font-weight: bold;
	font-size: 1rem;
	width: auto;
	height: auto;
	display: block;
	transform: translateX(0) !important;
	visibility: visible;
	background: none;
	position: absolute;
	top: 8px;
	left: 0;
	opacity: 0;
	color: var(--primary);
}

.navbar-nav ul a:hover::before {
	transform: translateX(10px) !important;
	opacity: 1;
}
.navbar-nav ul a:hover {
	padding-left: 25px;
	padding-right: 5px;
}

.navbar-nav ul .active > a,
.navbar-nav ul a.active {
	color: var(--primary);
}

.navbar-nav > li > .open,
.navbar-nav .nav-dropdown:hover > ul {
	display: block;
	animation: showDropdown .3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover > ul {
	display: block;
	animation: showNextDropdown .3s 1 forwards;
}

.navbar-nav ul ul {
	top: 0; left: 100%;
}


/* mobile menu */

.mobile-menu-toggler {
	width: 32px;
	height: 24px;
	padding: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
	background: none;
	transition: all var(--fastSpeed) var(--easeOutBack);
	outline: none;
}

.mobile-menu-toggler div {
	display: block;
	height: 2px;
	width: 32px;
	background-color: var(--primary);
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

.mobile-menu-toggler div:last-child {
	width: 70%;
}

.mobile-menu-toggler.active-toggler div:first-of-type {
	transform: rotate(-45deg);
}

.mobile-menu-toggler.active-toggler div:last-child {
	transform: rotate(45deg);
	width: 100%;
}

.mobile-menu-toggler.active-toggler div:nth-of-type(2) {
	display: none;
}

.mobile-nav {
	transition: transform var(--fastSpeed) var(--easeOutQuart);
	transform: translateX(-100%);
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	max-width: 80vw;
	width: 300px;
	/* background-color: hsla(0, 0%, 0%, 0.8);
	backdrop-filter: blur(10px); */
	background-color: var(--primary);
	margin: 0;
	padding: 0;
	z-index: 99999;
	overflow-y: auto;
}

.mobile-nav.show {
	transform: translateX(0);
}

.mobile-nav ul,
.mobile-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav ul {
	background-color: hsla(0, 0%, 0%, .3);
}

.mobile-nav a {
	display: block;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 700;
	color: white;
	box-sizing: border-box;
	padding: 10px 15px;
	border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

.mobile-nav ul a {
	font-size: 0.875rem;
	font-weight: normal;
	padding-left: 30px;
}

.mobile-nav ul ul a {
	padding-left: 45px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
	color: var(--primary);
	background-color: #fff;
}







/*
			H E A D E R
*/

header, section {
	overflow: hidden;
	width: 100%;
}

header h1 {
	margin-top: 20vh;
}





/*
			M A I N   S E C T I O N S
*/

.btn {
	padding: 1.2em 2.3em;
	border-radius: 10em;
	font-size: 1rem;
	font-weight: bold;
}

.track {
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background-color: hsl(234, 100%, 67%, .8);

	display: flex;
	align-items: center;
	justify-content: center;
}

section h2:first-of-type {margin-top: 0;}

.label {
	color: var(--primary);
	background-color: hsl(234, 100%, 67%, .2);
	padding: 0.3em 1em;
	line-height: 1;
	border-radius: 1em;
	display: inline-block;
	font-size: 1rem;
	font-weight: bold;
}

.dane {
	margin-bottom: 3em;
	color: var(--primary);
}

.dane > * {
	border-left: 1px solid var(--borderColor);
	padding: 0.5em 2em;
	flex: auto;
}

.dane > *:first-child {border-left: 0; padding-left: 0;}



.tabs-controls a {
	flex: 1;
	text-align: center;
	font-size: var(--h5);
	padding: 1em 0;
	border-top: 5px solid transparent;
	transition: all .3s;
	display: block;
}

.tabs-controls a:hover {
	background-color: hsl(234, 100%, 67%, .1);
}

.tabs-controls .active-tab {
	font-weight: bold;
	background-color: var(--bgLight);
	border-top-color: var(--primary);
}

.tab-content {
	background: linear-gradient(var(--bgLight), white);
	display: none;
}

.tab-content--show {
	display: block;
}


.legenda .btn {
	display: flex;
	align-items: center;
	justify-content: center;
}

.legenda .btn:hover {
	filter: brightness(1.1);
}

.legenda .btn strong {
	font-size: 1rem;
	flex-shrink: 1;
	padding: 10px 0 10px 20px;
	margin-left: 20px;
	border-left: 1px solid hsl(0, 0%, 100%, .2);
}

.legenda .btn img {
	flex-shrink: 0;
}

.btn-color-1 {background-color: #5567FF !important; padding-top: 1.8em; padding-bottom: 1.8em;}
.btn-color-2 {background-color: #4578ED !important;}
.btn-color-3 {background-color: #EA5900 !important;}
.btn-color-4 {background-color: #73AE00 !important;}

.gallery .point {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: block;
	position: absolute;
	cursor: pointer;
	background-size: 100%;
	background-color: #fff;
}

.point:hover {
	z-index: 200;
	transform: scale(1.3);
	box-shadow: 0 2px 1px hsl(0, 0%, 0%, .2);
}

.point.video {
	background: url(/assets/img/movie-icon.svg) center no-repeat;
}

.point.photo {
	background: url(/assets/img/photo-icon.svg) center no-repeat;
}

.track-wrap {
	overflow-x: auto;
	max-width: 100%;
}


/*
			F O O T E R
*/

.madeby {
	color: white;
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

.madeby small {
	float: left;
	margin: 4px 4px 0 0;
	font-size: 0.6875rem;
}


footer {
	color: white;
	font-weight: 400;
}

footer a {
	color: hsl(0, 0%, 100%, .5);
	text-decoration: none;
	transition: opacity .2s;
}

footer .copy a::before {
	content: '|';
	margin: 0 1em;
}

footer a:hover {
	opacity: .8;
}


.ue, .srodki-krajowe {
	position: fixed;
	right: 0;
	top: 400px;
	z-index: 10001;
	display: block;
	transition: all .2s;
}

.srodki-krajowe {
    top: 500px;
}

.ue:hover, .srodki-krajowe:hover {
	opacity: .9;
}

.ue img, .srodki-krajowe img {
	display: block;
}

/*
			K E Y F R A M E S
*/

@keyframes showDropdown {
	0% {opacity: 0; transform: translateY(-10px);}
	100% {opacity: 1; transform: translateY(0);}
}

@keyframes showNextDropdown {
	0% {opacity: 0; transform: translateX(-10px);}
	100% {opacity: 1; transform: translateX(0);}
}