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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: var(--titleWeight);
	color: var(--titleColor);
}
b,
strong {
	font-weight: var(--boldWeight);
}

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

.btn {
	padding: 1.5em 2.3em;
	border-radius: 25px 4px;
	font-weight: bold;
	font-size: 0.875rem;
	transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.btn:hover {
	border-radius: 4px;
}

.delay-100 {
	animation-delay: 100ms;
}
.delay-200 {
	animation-delay: 200ms;
}
.delay-300 {
	animation-delay: 300ms;
}
.delay-400 {
	animation-delay: 400ms;
}
.delay-500 {
	animation-delay: 500ms;
}
.delay-600 {
	animation-delay: 600ms;
}

.duration-500 {
	animation-duration: 500;
}
.duration-700 {
	animation-duration: 700;
}
.duration-900 {
	animation-duration: 900;
}
.duration-1000 {
	animation-duration: 1000;
}
.duration-1200 {
	animation-duration: 1200;
}
.duration-1400 {
	animation-duration: 1400;
}
.duration-1500 {
	animation-duration: 1500;
}
.duration-1800 {
	animation-duration: 1800;
}

/*
			N A V B A R
*/

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

.affix {
	background-color: #fff;
	box-shadow: 0 0 30px hsl(0 0% 0% / 0.1);
}

.navbar-logo {
	margin: 10px 0;
	transition: all 0.3s;
}

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

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

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

/*
			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: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 5px 0;
	transition: all 0.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 0.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%, 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;
	line-height: 1.3;
	transition: all 0.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 0.3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover > ul {
	display: block;
	animation: showNextDropdown 0.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%, 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%, 0.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;
}

.navbar-tel {
	text-decoration: none;
	padding: 15px 0 15px var(--navMargin);
	margin-left: var(--navMargin);
	border-left: 2px solid var(--borderColor);
	color: var(--textColor);
	font-size: 1.75rem;
}

/*
			H E A D E R
*/

header p {
	font-size: 1.5rem;
}

#scroll {
	text-decoration: none;
	font-size: 0.875rem;
	letter-spacing: 3px;
	color: var(--textColor);
}

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

.flag {
	background-color: #fff;
	position: absolute;
	border: 5px solid white;
	box-shadow: 0 5px 15px -3px hsl(0 0% 0% / 0.1);
}

p .btn {
	margin-top: 0.8rem;
}

#dla-dzieci .flag-1,
#dla-firm .flag-1 {
	top: 48%;
	right: -35px;
}
#dla-dzieci .flag-2,
#dla-firm .flag-2 {
	top: 62%;
	right: -18px;
}
#dla-dzieci .flag-3,
#dla-firm .flag-3 {
	top: 74.3%;
	right: 22px;
}
#dla-dzieci .flag-4,
#dla-firm .flag-4 {
	top: 84%;
	right: 80px;
}
#dla-dzieci .flag-5,
#dla-firm .flag-5 {
	top: 90%;
	right: 152px;
}

#dla-doroslych .flag-1 {
	top: 48%;
	left: -35px;
}
#dla-doroslych .flag-2 {
	top: 62%;
	left: -18px;
}
#dla-doroslych .flag-3 {
	top: 74.3%;
	left: 22px;
}
#dla-doroslych .flag-4 {
	top: 84%;
	left: 80px;
}
#dla-doroslych .flag-5 {
	top: 90%;
	left: 152px;
}

#dla-obcokrajowcow .flag {
	bottom: 0;
}

.circle.border {
	outline: 25px solid hsl(0 0% 0% / 0.025) !important;
	border:0
}

/* .paralaksa {
	height: 600px;
	background-image: url(/assets/img/paralaksa.jpg);
	background-attachment: fixed;
	background-size: cover;
} */

.paralaksa video {
	height: auto;
	width: 100%;
	object-fit: cover;
	aspect-ratio: 16/6.5;
}

#przepis-na-sukces h6 {
	color: var(--textColor);
	margin: 20px 0 10px;
}

#przepis-na-sukces img.relative {
	border-radius: 100vmax 0 0 100vmax;
}

#przepis-na-sukces img.absolute {
	bottom: -30px;
	left: 30px;
}

#opinie .swiper-wrapper {
	align-items: stretch !important;
}

.opinia {
	padding: 30px;
	background: hsl(0deg 0% 92%);
	border-radius: var(--borderRadius);
	height: 100%;
}

.opinia em {
	font-size: 1rem;
	line-height: 1.25;
	padding-bottom: 1.3rem;
	margin-bottom: 2rem;
	display: block;
	position: relative;
}

.opinia em::after {
	content: '';
	display: block;
	width: 60px;
	height: 2px;
	background-color: var(--primary);
	position: absolute;
	bottom: 0;
	left: calc(50% - 30px);
}


.opinia-card {
	background: #fff;
	padding: 40px;
	border-radius: var(--borderRadius);
	box-shadow: 0 0 50px hsl(0, 0%, 0%, .1);
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.opinia-card .flex {
	margin-top: 20px;
	line-height: 1.3;
}

.opinia-card .flex p {
	color: hsl(0, 0%, 20%, .5);
}

.opinia-card .flex p strong {
	color: hsl(0, 0%, 20%);
}

.opinia small {
	font-size: 1rem;
}

#opinie .swiper-pagination {
	bottom: calc(var(--sectionPadding) / 2);
}

.swiper-pagination-bullet {
	width: 16px !important;
	height: 16px !important;
}
.swiper-pagination-bullet-active {
	background-color: var(--primary) !important;
}

.card {
	cursor: pointer;
}

.card-image {
	position: relative;
	overflow: hidden;
	border-radius: var(--borderRadius);;
}
/*
.card-image::after {
	content: '';
	display: block;
	width: 80px;
	height: 80px;
	background-color: white;
	transform: rotate(-45deg);
	position: absolute;
	bottom: -40px;
	right: -40px;
	z-index: 10;
}
*/
.card-image img {
	transition: transform var(--normalSpeed) var(--ease);
}
.card:hover .card-image img {
	transform: scale(1.1);
}

.facebook-btn {
	background-image: var(--fbGradient);
}
.instagram-btn {
	background-image: var(--instaGradient);
}
.youtube-btn {
	background-image: var(--ytGradient);
}

[class*='-btn'] {
	border-radius: var(--borderRadius);;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	padding: 1.5em;
	transition: all 0.3s;
}

[class*='-btn']:hover {
	filter: brightness(1.2) contrast(1.1);
}

.youtube-btn:hover {
	filter: brightness(1.5) contrast(1.1);
}

/*
			F O O T E R
*/

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

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

footer {
	background-color: black;
	color: white;
	padding: 40px 0;
}

footer hr {
	opacity: 0.2;
	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 0.2s;
}

footer a:hover {
	opacity: 0.8;
}

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

/*

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

*/

@media screen and (max-width: 1400px) {
	:root {
		--navMargin: 25px !important;
	}

	.navbar-tel {
		font-size: 1.15rem;
	}
	.navbar-tel img {
		height: 25px;
	}
}

@media screen and (max-width: 1280px) {
	.navbar-logo-image {
		height: 110px;
	}

	header .md\:w-5-12 {
		margin-top: 100px;
	}

	header h1 {
		font-size: var(--h2);
	}

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

	header p {
		font-size: 1.25rem;
		line-height: 1.5;
	}

	.home section .md\:w-5-12 {
		width: calc(50% - 30px);
		max-width: calc(50% - 30px);
		flex-basis: calc(50% - 30px);
	}

	.flag {
		border-width: 2px;
	}

	#przepis-na-sukces img.relative {
		height: 500px;
	}
}

@media screen and (max-width: 1199px) {
	:root {
		--navMargin: 20px !important;
	}
	.navbar-nav > li > a {
		font-size: 0.875rem;
	}
	.navbar-logo-image {
		height: 90px;
	}

	.flag {
		height: 55px;
	}
	#dla-obcokrajowcow .flag {
		height: 90px;
	}

	[class*='-btn'] {
		padding-left: 0;
		padding-right: 0;
	}
	[class*='-btn'] strong {
		font-size: 0.875rem;
	}
}

@media screen and (max-width: 1022px) {
	[class*='md:w']:not([class*='sm:w']) {
		padding-left: 0;
		padding-right: 0;
	}

	.navbar-tel {
		margin-left: 0;
		padding: 0;
		border: 0;
		margin-right: 30px;
	}

	header .md\:w-5-12 {
		width: 60%;
		max-width: 60%;
		margin-top: 5vw;
	}

	header .absolute {
		background-image: linear-gradient(
			to right,
			hsl(0 0% 100% / 0.6),
			transparent
		);
	}

	.home section .md\:w-5-12 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}

	.home section .md\:w-5-12:first-child {
		display: flex;
		justify-content: center;
	}

	.home section div.relative {
		width: auto;
		display: inline-block;
		margin: 0 auto 30px;
	}

	.home section {
		text-align: center;
	}

	#przepis-na-sukces .md\:w-5-12 {
		display: block;
	}

	#przepis-na-sukces .grid > div {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	#przepis-na-sukces .grid > div p {
		margin: 0;
	}

	#przepis-na-sukces img.relative {
		border-radius: 100vmax;
		max-width: 100%;
		height: auto;
		margin-top: 30px;
	}

	#news .card {
		margin-bottom: 30px;
	}

	[class*='-btn'] {
		margin-bottom: 10px;
	}

	footer .container > .flex {
		flex-direction: column;
		align-items: center;
	}

	.copy {
		text-align: center;
		width: 100%;
		display: block;
		margin: 0 0 1rem;
	}

	footer .justify-end {
		justify-content: center;
	}
}

@media screen and (max-width: 920px) {
	header .swiper-slide img {
		height: 500px;
		width: 100%;
		object-fit: cover;
		object-position: right;
	}
}

@media screen and (max-width: 760px) {
	header .swiper-slide img {
		height: 400px;
	}

	header p,
	#scroll {
		display: none;
	}

	header h1 {
		margin: 0;
		font-size: var(--h3);
	}

	.home section div.relative {
		margin: 0 30px 30px;
	}

	#opinie .swiper-pagination {
		display: none;
	}
}

@media screen and (max-width: 630px) {
	.navbar-tel strong {
		display: none;
	}
	.navbar-tel img {
		height: 33px;
		margin: 0;
	}

	header .absolute {
		background-image: none;
		background-color: hsl(0 0% 100% / 0.4);
	}

	#przepis-na-sukces img.absolute {
		display: none;
	}
}

@media screen and (max-width: 540px) {
	#dla-dzieci .flag-2,
	#dla-firm .flag-2 {
		top: 62%;
		right: -4%;
	}

	#dla-dzieci .flag-3, #dla-firm .flag-3 {
		top: 74.5%;
		right: 4.5%;
	}

	#dla-dzieci .flag-4, #dla-firm .flag-4 {
		top: 85%;
		right: 15%;
	}

	#dla-dzieci .flag-5, #dla-firm .flag-5 {
		top: 90%;
		right: 29%;
	}



	#dla-doroslych .flag-2 {
		top: 62%;
		left: -4%;
	}

	#dla-doroslych .flag-3 {
		top: 74.5%;
		left: 4.5%;
	}

	#dla-doroslych .flag-4 {
		top: 85%;
		left: 15%;
	}

	#dla-doroslych .flag-5 {
		top: 90%;
		left: 29%;
	}
}


@media screen and (max-width: 520px) {
	.flag {
		height: 48px;
	}
}