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

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

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

h1 em,
h2 em,
h3 em,
h4 em,
h5 em {
	color: var(--titleColor);
	position: relative;
}

h1 em::after,
h2 em::after,
h3 em::after,
h4 em::after,
h5 em::after {
	content: '';
	display: block;
	position: absolute;
	bottom: -5px;
	left: 0;
	right: 0;
	top: 60%;
	background-color: var(--primary);
	z-index: -1;
	opacity: .25;
}


html {
	scroll-padding-top: 100px;
	scroll-margin-top: 100px;
}



/*
			N A V B A R
*/

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

.affix {
	background-color: hsl(0, 0%, 0%, .8);
	backdrop-filter: blur(3px);
}

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

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

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

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

.navbar-top {
	background: hsl(0, 0%, 0%, .7);
	backdrop-filter: blur(3px);
	margin-top: -55px;
	transition: all .6s var(--ease);
}

.navbar-top.show {
	margin-top: 0;
}




/*
			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: hsl(0, 0%, 100%);
	font-size: 0.875rem;
	text-transform: uppercase;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 15px 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: 0;
	min-width: 250px;
	background-color: hsl(0, 0%, 0%, .85);
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
}

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

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

.navbar-nav ul a::before {
	content: '>';
	font-family: monospace;
	font-weight: bold;
	font-size: 12px;
	width: auto;
	height: auto;
	display: block;
	transform: translateX(0) !important;
	visibility: visible;
	background: none;
	position: absolute;
	top: 7px;
	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 */

.menu-toggler,
.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;
}

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

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

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

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

.menu-toggler.active div:nth-of-type(2),
.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: hsl(0, 0%, 0%, .8);
	backdrop-filter: blur(3px);
	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 a em {
	font-style: normal;
	display: inline;
}

.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;
}

.menu-toggler-wrapper {
	cursor: pointer;
}

.menu-toggler--text {
	color: white;
	margin-left: 10px;
	font-size: 1rem;
	font-weight: var(--boldWeight);
}




/*
			H E A D E R
*/

header {
	background: url(/assets/img/headerbg.jpg) center no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

.slogan {
	color: white;
}

.slogan h1 {
	margin-top: 0;
	color: white;
}

.slogan .lead {
	font-size: 1.5rem;
	line-height: 1.3;
	font-weight: var(--boldWeight);
}

.lead {
	line-height: 1.5;
}

p:last-of-type {margin-bottom: 0;}

.scroll {
	text-decoration: none;
	color: white;
	font-size: 0.75rem;
}

.scroll img {
	animation: updown 2s linear infinite forwards;
}




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

#o-mnie .dots {
	right: -100px;
}

#o-mnie p a {
	color: var(--textColor);
	transition: color .3s;
}

#o-mnie p a:hover {
	color: var(--primaryDark);
}


#wspolpraca .box {
	flex: 1;
	padding: 0 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#wspolpraca .icon {
	background-color: #fff;
	width: 110px;
	aspect-ratio: 1/1;
}

#wspolpraca .box p {
	line-height: 1.3;
}


.circle {
	aspect-ratio: 1/1;
}


#gryscoop ul {
	margin-left: 0;
	padding-left: 0;
}

#gryscoop li {
	list-style: none;
	margin-bottom: 1em;
	background: url(/assets/img/bullet.svg) 0 5px no-repeat;
	padding-left: 25px;
}

#gryscoop {
	background: url(/assets/img/kid.png) right 40% top no-repeat;
}

#gryscoop .circle {
	width: 356px;
	padding: 30px;
	line-height: 1.33;
}

#gryscoop .border {
	margin-top: 60px;
}


#partnerzy .flex {
	margin-top: 30px;
	justify-content: center;
}

#partnerzy .box {
	flex-basis: 20%;
	max-width: 20%;
	padding: 0 15px;
	color: var(--textColor);
	line-height: 1.5;
}

#partnerzy .box .icon {
	height: 100px;
}


/*
			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 {
	background-color: var(--secondary);
	color: white;
}

footer h3 {color: white;}

footer #mapa {
	width: 25%;
}

footer #mapa iframe {
	width: 100%;
	height: 100%;
}

footer #dane {
	padding: var(--sectionPadding) 0 40px;
}

address {
	font-weight: 800;
	font-style: normal;
	line-height: 1.3;
}

footer hr {
	opacity: .2;
	width: 100%;
	height: 1px;
	background-color: #fff;
	margin: 80px 0 40px;
}

footer ul {
	margin: 0;
	padding: 0;
}

footer li {
	margin: 0 30px 0 0;
	padding: 0;
	list-style: none;
}

footer a {
	color: white;
	transition: opacity .2s;
	text-decoration: none;
}

footer a:hover {
	opacity: .8;
}

footer .copy {
	font-size: 0.75rem;
}




form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.125rem;
}

label p {
	margin: 0;
}

[type="checkbox"] + label {
	margin-top: 0;
}

label p,
label li {
	font-size: 0.75rem;
	line-height: 1.5;
}

label a {
	color: var(--primary);
}

label li {
	list-style: disc;
	margin-top: 1em;
}

input,select,textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 2px solid hsl(0, 0%, 100%, .1);
	background-color: transparent;
	color: white;
	transition: all .3s;
}

input:focus,
select:focus,
textarea:focus {
	border-color: hsl(0, 0%, 100%, .3);
}

form .flex.col {
	margin-bottom: 1rem;
}

[type="checkbox"],
[type="radio"] {
	width: auto;
	flex-shrink: 0;
	margin-top: 5px !important;
}

textarea {
	height: 14.8rem;
}

.ok {
	border-color: var(--borderColor);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
	font-family: sans-serif;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}


.btn {
	padding: 1.2rem 2.5rem;
	color: var(--secondary);
	font-weight: var(--boldWeight);
	font-size: 0.75rem;
	text-transform: uppercase;
}

.navbar-nav > li > a {
	display: inline-block;
	line-height: 1;
}

.navbar-nav a em {
	position: unset;
	display: inline;
	font-style: normal;
}



/*
			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);}
}

@keyframes updown {
	0% {transform: translateY(0);}
	25% {transform: translateY(-3px);}
	50% {transform: translateY(0);}
	75% {transform: translateY(3px);}
	100% {transform: translateY(0);}
}





/*

			M E D I A
			Q U E R I E S

*/


@media screen and (max-width: 1360px) {
	section {
		overflow: hidden;
	}
}


@media screen and (max-width: 1280px) {
	.slogan h1 {
		font-size: var(--h2);
	}
}


@media screen and (max-width: 1024px) {
	.slogan h1 {
		font-size: var(--h3);
	}

	h2 {font-size: var(--h4);}

	.slogan p:not(.lead) {display: none;}

	section img {
		max-width: 100%;
	}

	.box p {
		font-size: 0.8125rem;
	}

	footer #dane {
		padding: 60px;
	}

	footer h3 {
		font-size: var(--h4);
	}

	footer > .flex-nowrap {
		flex-direction: column;
	}

	footer #mapa {
		width: 100%;
		height: 350px;
	}
}


@media screen and (max-width: 1000px) {
	.menu-toggler-wrapper, .navbar-top {display: none;}

	header {overflow: hidden;}

	#oferta img.relative {
		display: block;
		margin: 0 auto 30px;
	}

	#gryscoop {
		background: white;
	}

	#gryscoop .md\:w-7-12 {
		justify-content: center;
		margin-top: 30px;
	}

	#o-mnie img.relative {
		margin: 30px auto 0;
		display: block;
	}

	#o-mnie .dots {
		right: 5%;
	}
}


@media screen and (max-width: 920px) {
	.navbar-logo-image {height: 55px;}
	.navbar-logo {
		margin: 15px 0;
	}

	.slogan h1 {font-size: var(--h4);}
	.slogan .lead {font-size: 1.1rem;}


	#wspolpraca .flex {
		justify-content: center;
	}

	#wspolpraca .box, #partnerzy .box {
		flex-basis: 33%;
		max-width: 33%;
		margin-bottom: 30px;
	}

	footer #dane .md\:w-5-12 {
		text-align: center;
	}

	footer #dane .md\:w-7-12 {
		margin-top: 60px;
	}

	footer .last {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
}


@media screen and (max-width: 640px) {

	header.h-screen {
		height: auto;
	}

	.beata-musierowicz {
		max-width: 50%;
	}

	.scroll {display: none;}

	.scroll p:last-of-type {margin-bottom: 0;}

	.slogan {margin-top: 70px;}

	#o-mnie img.absolute {display: none;}
}


@media screen and (max-width: 590px) {
	#wspolpraca .box, #partnerzy .box {
		flex-basis: 50%;
		max-width: 50%;
		margin-bottom: 30px;
	}

	footer #dane {
		padding: 60px 15px 30px;
	}
}


@media screen and (max-width: 435px) {
	header .flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.slogan {
		text-align: center;
		margin-top: 150px;
		margin-bottom: 30px;
	}

	.beata-musierowicz {
		max-width: 66%;
	}

	.border.p-60 {padding: 30px;}

	.border.p-60 .lead {
		font-size: 1.2rem;
	}
}



@media screen and (max-width: 414px) {
	#wspolpraca .box, #partnerzy .box {
		flex-basis: 100%;
		max-width: 100%;
	}

	form .flex-nowrap.justify-between {
		flex-direction: column;
		align-items: flex-end;
		justify-content: flex-start;
	}

	form .grow.pr-30 {padding-right: 0;}
}