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

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

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

body {
	overflow-x: hidden;
}

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


.langs a {
	display: block;
	transition: all .3s;
}

.langs a:hover {
	opacity: .8;
	transform: scale(1.1);
}


/*
			N A V B A R
*/

.navbar {
	background-color: #fff;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	width: 100%;
	height: 160px;
	z-index: 999;
	transition: all .3s ease;
}

.affix {
	height: 70px;
	box-shadow: 0 0 30px hsl(0, 0%, 0%, .05);
}


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

.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: hsl(0, 0%, 20%, .6);
	font-size: 1rem;
	display: inline-flex;
	text-decoration: none;
	transition: all .2s;
	outline: none;
}

.navbar-nav li:last-of-type a {
	font-weight: bold;
	display: flex;
	align-items: center;
}

.navbar-nav li:last-of-type a img {
	opacity: .6;
	margin-right: 5px;
	transition: all .2s;
	border-radius: 0px;
}

.navbar-nav li:last-of-type a:hover img {
	opacity: 1;
}

.nav-dropdown > a::after {
	opacity: .3;
}

.navbar-nav > li:hover > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
	color: var(--titleColor);
}

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

.navbar-nav .nav-active::before {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: var(--primary);
	top: 100%;
	left: calc(50% - 3.5px);
	position: absolute;
}

.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 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);
	visibility: visible;
	background: none;
	position: absolute;
	top: 8px;
	left: 0;
	opacity: 0;
	color: var(--primary);
	transition: all .3s ease;
}

.navbar-nav ul a:hover::before {
	transform: translateX(10px);
	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;
	-webkit-animation: showDropdown .3s 1 forwards;
	        animation: showDropdown .3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover > ul {
	display: block;
	-webkit-animation: showNextDropdown .3s 1 forwards;
	        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 {
	overflow: hidden;
}

header .container {
	position: relative;
}

.header-top {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 20;
}

.header-top .swiper-button-prev {
	left: -60px;
	color: black;
	transition: all .3s;
}

.header-top .swiper-button-prev:hover {
	left: -65px;
}

.header-top .swiper-button-next {
	right: -60px;
	color: black;
	transition: all .3s;
}

.header-top .swiper-button-next:hover {
	right: -65px;
}

.badge {
	position: absolute;
	bottom: 60px;
	right: -90px;
	z-index: 20;
	height: 170px;
}

.slogan {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 15;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.slogan-title {
	font-weight: 900;
	color: var(--titleColor);
	font-size: 6.25rem;
	line-height: 1;
	margin-bottom: 30px;
}

.slogan-title span {
	display: block;
	position: relative;
}

.slogan-title span + span {
	margin-top: 15px;
}

.slogan-title span::after {
	content: '';
	display: block;
	position: absolute;
	top: -3px;
	right: -15px;
	bottom: -3px;
	left: -15px;
	z-index: -1;
	border-radius: var(--borderRadius);
}

.pink .slogan-title span::after {
	background-color: var(--pink-alpha);
}

.violet .slogan-title span::after {
	background-color: var(--violet-alpha);
}

.yellow .slogan-title span::after {
	background-color: var(--yellow-alpha);
}

.slogan-sub-title {
	font-size: 1.625rem;
	color: var(--primary);
	line-height: 1;
	padding: 10px 20px;
	border-radius: var(--borderRadius);
}

.pink .slogan-sub-title {background-color: var(--pink-alpha);}
.violet .slogan-sub-title {background-color: var(--violet-alpha); color: hsl(235, 63%, 56%)}
.yellow .slogan-sub-title {background-color: var(--yellow-alpha); color: hsl(41, 100%, 31%)}






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

main .swiper-container {
	width: 100%;
	overflow: hidden;
}

img {
	display: block;
	border-radius: var(--borderRadius);
}

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

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

#misja {
	background: url(/assets/img/paw.svg) center no-repeat;
	font-size: 1.375rem;
}

mark {
	background-color: var(--pink);
	border-radius: 4px;
	padding-left: 5px;
	padding-right: 5px;
}

#przeboje .slider {
	padding: 70px 0;
}

#przeboje .swiper-wrapper {
	align-items: stretch;
}

#przeboje .swiper-slide {
	height: auto;
}

#przeboje .swiper-slide .card {
	height: 100%;
	min-height: 350px;
}


section .swiper-pagination-bullet {
	width: 1rem;
	height: 1rem;
	background: #000;
	opacity: .2;
	margin: 0 .5rem !important;
	transition: all .3s ease;
}

section .swiper-pagination-bullet:hover {opacity: .7;}

section .swiper-pagination-bullet-active {
	background: var(--primary);
	opacity: 1;
}

#przeboje .swiper-container {
	overflow: visible;
}

#przeboje .card {
	cursor: pointer;
	border-radius: var(--borderRadius);
	background-color: #fff;
	box-shadow: 0 0 50px hsl(0, 0%, 0%, .1);
}

#przeboje .card-image {
	overflow: hidden;
	display: block;
	border-radius: var(--borderRadius) var(--borderRadius) 0 0;
}

#przeboje .card-image img {
	border-radius: var(--borderRadius) var(--borderRadius) 0 0;
	transition: transform .6s ease;
}

#przeboje .card:hover .card-image img {
	transform: scale(1.1);
}

#przeboje .card-body {
	padding: 30px;
	text-align: center;
	height: 30%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#przeboje .card-title {
	margin: 0;
}

#przeboje .card-title--link {
	color: var(--titleColor);
	transition: color .2s ease;
}

#przeboje .card:hover .card-title--link {
	color: var(--primary);
}

/* to jest tylko tymczasowo - fotki będą wymienione */

.swiper-slide.produkty .card-image {
	padding: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	object-fit: contain;
	object-position: center;
}

.swiper-slide.produkty .card-image img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	margin: auto;
}

#jakosc {
	position: relative;
	z-index: 50;
}

.yellow.box {
	border-radius: var(--borderRadius);
	background: var(--secondary) url(/assets/img/jakosc.png) right center no-repeat;
	background-size: contain;
	padding: 110px 120px;
}

.yellow-box--content {
	width: 60%;
}

.yellow.box h2 {
	margin-bottom: 30px;
}

.yellow.box p {
	margin-top: 0;
}

#jak-dzialamy {
	background-color: var(--bgLight);
	padding-top: calc(var(--sectionPadding) * 2);
	margin-top: calc(-1 * var(--sectionPadding));
}

.step {
	flex-basis: 20%;
	text-align: center;
}

.step:nth-child(2) {-webkit-animation-delay: .2s;animation-delay: .2s;}
.step:nth-child(3) {-webkit-animation-delay:.4s;animation-delay:.4s;}
.step:nth-child(4) {-webkit-animation-delay: .6s;animation-delay: .6s;}
.step:nth-child(5) {-webkit-animation-delay: .8s;animation-delay: .8s;}

.step p {
	margin: 0;
	padding: 0 30px;
	line-height: 1.3;
}

#opinie .swiper-container {
	padding-bottom: 0;
}

.opinia {
	padding: 60px;
	background: var(--bgLight);
	border-radius: var(--borderRadius);
}

.opinia-card {
	background: #fff;
	padding: 40px;
	border-radius: var(--borderRadius);
	box-shadow: 0 0 50px hsl(0, 0%, 0%, .1);
}

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

.circle {
	display: block;
	border-radius: 50%;
}

#social-media .flex {
	gap: 30px;
}

.social-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;

	background-color: var(--bgLight);
	border-radius: var(--borderRadius);
	padding: 20px 0;
	font-size: 1rem;
	color: white;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 2px;
	transition: all .3s ease-out;
}

.social-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 30px -10px hsl(0, 0%, 0%, .2);
	-webkit-filter: brightness(1.1) contrast(1.1);
	        filter: brightness(1.1) contrast(1.1);
}

.insta {
	background: linear-gradient(90deg, hsl(44, 99%, 73%), hsl(26, 96%, 55%), hsl(333, 68%, 50%), hsl(283, 61%, 47%), hsl(235, 61%, 57%));
}

.fb {
	background: linear-gradient(90deg, hsl(220, 46%, 48%), hsl(252, 66%, 42%));
}

.yt {
	background: linear-gradient(90deg, hsl(0, 100%, 62%), hsl(0, 100%, 50%));
}

.btn {
	padding: 1.5em 2em;
	border-radius: var(--borderRadius);

	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	box-shadow: 0 10px 30px -5px hsl(346, 84%, 71%, .7);
	background: linear-gradient(90deg, var(--primaryLight), var(--primary));
	transition: all .3s ease-out;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px -5px var(--primaryLight);
	-webkit-filter: brightness(1.1) contrast(1.1);
	        filter: brightness(1.1) contrast(1.1);
}


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

input,select,textarea {
	width: 100%;
	border-radius: var(--borderRadius);
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 1px solid var(--borderColor);
	transition: all .3s;
}

input:hover,select:hover,textarea:hover {
	border-color: var(--textColor);
}

input:focus,select:focus,textarea:focus {
	border-color: var(--primaryLight);
}

[type="checkbox"],
[type="radio"] {
	width: auto;
	flex-shrink: 0;
}

textarea {
	height: 10rem;
}

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

@-webkit-keyframes heartBeat2 {
	0% {
	  -webkit-transform: scale(1);
	  transform: scale(1);
	}
	14% {
	  -webkit-transform: scale(1.15);
	  transform: scale(1.15);
	}
	28% {
	  -webkit-transform: scale(1);
	  transform: scale(1);
	}
	42% {
	  -webkit-transform: scale(1.15);
	  transform: scale(1.15);
	}
	70% {
	  -webkit-transform: scale(1);
	  transform: scale(1);
	}
  }
  @keyframes heartBeat2 {
	0% {
	  -webkit-transform: scale(1);
	  transform: scale(1);
	}
	14% {
	  -webkit-transform: scale(1.15);
	  transform: scale(1.15);
	}
	28% {
	  -webkit-transform: scale(1);
	  transform: scale(1);
	}
	42% {
	  -webkit-transform: scale(1.15);
	  transform: scale(1.15);
	}
	70% {
	  -webkit-transform: scale(1);
	  transform: scale(1);
	}
  }

.animate__heartBeat2 {
	animation-iteration-count: infinite;
	animation-duration: 3s;
	-webkit-animation-name: heartBeat2;
    animation-name: heartBeat2;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-duration: calc(var(--animate-duration)*3);
    animation-duration: calc(var(--animate-duration)*3);
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}



/*
			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: black;
	padding: 40px 0;
	color: white;
}

footer hr {
	opacity: .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: color .2s;
	text-decoration: none;
}

footer a:hover {
	color: var(--primary);
}

footer img {
	flex-shrink: 0;
}




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

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

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

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

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

.sklep-widget {
	transition: all .3s;
	border-radius: 50%;
	width: 64px;
	height: 64px;
}

@media screen and (min-width: 1450px) {
	.sklep-widget {
		width: 80px;
		height: 80px;
	}
}

@media screen and (min-width: 1900px) {
	.sklep-widget {
		width: 90px;
		height: 90px;
	}
}

@media screen and (min-width: 2200px) {
	.sklep-widget {
		width: 110px;
		height: 110px;
	}
}

.sklep-widget:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px -5px hsl(0, 0%, 0%, .3);
}




/*
		H O M E   P  A G E
		R E S P O N S I V E
		S T Y L E S
*/


@media screen and (max-width: 1600px) {
	:root {
		--navMargin: 2.5rem
	}

	header .badge {
		right: 30px;
		bottom: 30px;
	}
}

@media screen and (max-width: 1400px) {
	:root {
		--navMargin: 1.5rem
	}

	.yellow.box {padding: 50px; background-position: right -50% center;}
}

@media screen and (max-width: 1360px) {
	:root {
		--h1: 5rem;
		--h2: 4rem;
		--h3: 2.5rem;
		--h4: 2rem;
		--h5: 1.3rem;
		--h6: 1rem;
	}

	.slogan-title {
		font-size: var(--h2);
	}

	.slogan-sub-title {font-size: var(--h5);}

	.yellow.box {padding: 50px; background-position: right -70% center;}

	.social-btn {
		letter-spacing: 1px;
		font-size: 0.875rem;
	}
}

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

	#przeboje {
		overflow: hidden;
	}
}


@media screen and (max-width: 1199px) {
	:root {
		--navMargin: 1rem;
		--sectionPadding: 4rem
	}

	.navbar {
		height: 105px;
	}

	.affix {
		height: 70px;
	}

	.navbar-nav > li > a {font-size: 1rem;}

	.header-top .swiper-button-prev {
		left: -35px;
	}

	.header-top .swiper-button-next {
		right: -35px;
	}

	.header-top .swiper-button-prev:hover {
		left: -37px;
	}

	.header-top .swiper-button-next:hover {
		right: -37px;
	}

	header .badge {width: 120px; right: -30px; bottom: 20px;}

	#o-nas img {
		height: 80vh;
		width: 100%;
		object-fit: cover;
		object-position: center;
	}

	#o-nas .md\:w-5-12 {
		width: 50%;
		max-width: 50%;
		flex-basis: 50%;
	}

	.yellow.box {
		background-image: none;
	}

	.yellow-box--content {
		max-width: 100%;
		width: 100%;
	}

	.step {
		flex: 1;
	}

	.opinia {padding: 30px;}
	.opinia-card {padding: 20px;}

	.social-btn span {
		display: block;
		line-height: 1.2;
		letter-spacing: normal;
		max-width: 43%;
	}

	#kontakt .w-full {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}

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

	footer .flex-nowrap {
		margin-right: 0;
		margin-bottom: 15px;
	}

	footer .flex-nowrap img {
		margin-right: 0;
		margin-bottom: 5px;
	}
}

@media screen and (max-width: 980px) {
	.w-full {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	#o-nas .md\:w-5-12 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}

	#o-nas img {
		height: auto;
		width: 100%;
		object-fit: contain;
		object-position: center;
		max-height: 70vh;
		margin-bottom: 30px;
	}

	.social-btn span {
		max-width: 45%;
	}

}



@media screen and (max-width: 720px) {
	:root {
		--h1: 4rem;
		--h2: 3.3rem;
		--h3: 2.1rem;
		--h4: 1.7rem;
		--h5: 1.2rem;
		--h6: 1rem;
	}

	.header-top,
	header .swiper-button-prev,
	header .swiper-button-next {
		display: none;
	}

	.slogan-title {
		font-size: var(--h3);
		margin-bottom: 10px;
	}

	.slogan-sub-title {
		font-size: 0.875rem;
	}

	header .badge {
		width: 90px;
		right: -15px;
		bottom: 10px;
	}

	.social-btn img {margin-right: 10px;}

	.social-btn span {
		max-width: 60%;
		font-size: 0.75rem;
	}
}


@media screen and (max-width: 580px) {
	#misja {font-size: 1.1rem;}

	.yellow-box--content h2 {
		text-align: center;
	}

	.yellow-box--content .flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		margin-bottom: 30px;
	}

	.yellow-box--content img.mr-20 {margin-right: 0; margin-bottom: 15px;}

	.step {margin-bottom: 30px;}

	#social-media .container > .flex {
		flex-direction: column;
	}

	.social-btn {
		width: 100%;
	}
}


@media screen and (max-width: 414px) {
	:root {
		--h1: 3.5rem;
		--h2: 2.7rem;
		--h3: 2rem;
		--h4: 1.5rem;
		--h5: 1.1rem;
		--h6: 1rem;
	}

	.slogan-title {margin-bottom: 0;}
	.slogan-sub-title {display: none;}

	.btn.big {
		text-align: center;
	}

	.step {
		width: 100%;
		flex-basis: 100%;
	}

	footer {
		text-align: center;
	}

}