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

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

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

body {
	background: linear-gradient(var(--bgLight), white);
}

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

.btn {
	font-weight: bold;
	padding: 1.5em 3em;
	font-size: 0.8125rem;
	border-radius: 50px;
	transition: all .4s;
}

.btn.inverted {
	color: var(--primary);
	background-color: black;
}

.btn.inverted:hover {
	background-color: hsl(0, 0%, 10%);
}

.btn-xl {
	padding: 2.2em 8em;
}



/*
			N A V B A R
*/

.navbar {
	background-color: hsl(0, 0%, 100%, .8);
	backdrop-filter: blur(2px);
	position: fixed;
	top: 10px;
	left: 10px;
	right: 10px;
	z-index: 999;
	border-radius: 16px 100px 0 0;
	transition: all .3s;
}

.affix {
	border-radius: 0;
	top: 0;
	left: 0;
	right: 0;
	box-shadow: 0 20px 40px -10px hsl(0, 0%, 0%, .05);
}

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

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

.affix .contact-bar {margin-top: -50px;}

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

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


.contact-bar {
	position: absolute;
	top: -10px;
	height: 36px;
	transition: all .3s;
}

.contact-bar a {
	color: var(--primary);
	text-decoration: none;
}

.contact-bar a + a {
	margin-left: 30px;
}

.contact-bar::after {
	content:'';
	display: block;
	position: absolute;
	z-index: -1;
	left: -70px;
	top: 0;
	bottom: 0;
	width: 50vw;
	background: url(/assets/img/top-bar.svg) 0 0 no-repeat;
}




/*
			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%, 0%);
	font-size: 1rem;
	font-weight: 700;
	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: black;
}

.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: black;
	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(-105%);
	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: black;
	box-sizing: border-box;
	padding: 10px 15px;
	border-bottom: 1px solid hsla(0, 0%, 100%);
	transition: all .3s;
}

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







/*
			H E A D E R
*/

header {
	border-radius: 16px 100px;
	overflow: hidden;
	margin: 10px;
	width: calc(100% - 20px);
	height: calc(100vh - 20px);
}

header .swiper-slide img {
	object-fit: cover;
	object-position: center;
}

header .bg-white {
	border-radius: 100px 0;
}

header .btn.inverted {
	text-transform: uppercase;
}

header h1 {
	margin: 0;
}

header h1 span, header p {
	background-color: var(--primary);
	display: inline-block;
	line-height: 1;
	padding: 10px 30px;
	border-radius: 16px;
	margin-bottom: 5px;
}

header p {
	border-radius: 8px;
}

header .flex.col {
	margin-bottom: 10px;
}

header input,
header select {
	border-radius: 16px;
}

header label[for="zgoda"] {
	font-size: .75rem;
	line-height: 1.4;
}



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

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

main ul li::marker {
	color: var(--muted);
}

main ol li::marker {
	color: black;
}

.pros {
	margin: 0;
	padding: 0;
}

.pros li {
	list-style: none;
	margin-bottom: 0.8em;
	padding-left: 25px;
	display: block;
	position: relative;
	line-height: 1.5;
}

.pros li::before {
	content: '';
	display: block;
	width: 14px;
	height: 11.2px;
	background: url(/assets/img/ok.svg) 0 0 no-repeat;
	position: absolute;
	top: .3em;
	left: 0;
}


#kroki {
	background: url(/assets/img/paralaksa.jpg) center no-repeat;
	background-size: cover;
	background-attachment: fixed;
	width: calc(100% - 20px);
	margin: 10px;
	border-radius: 8px;
}

#kroki-title {
	margin-top: 0;
	margin-bottom: 60px;
}

.krok {
	flex-basis: 20%;
	text-align: center;
	flex-direction: column;
	display: flex;
	align-items: center;
}

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


#oferty-pracy-title {
	text-align: center;
	margin-top: 0;
	margin-bottom: 60px;
}


.oferta-pracy {
	flex-wrap: nowrap;
	line-height: 1.3;
	background: white;
}

.oferta-pracy h6 {
	margin: 0 0 10px;
}

.oferta-pracy strong,
.oferta-pracy span {
	display: block;
}

.oferta-pracy .muted {
	font-size: 0.8125rem;
}
.oferta-nazwa {
	flex-basis: 33%;
	padding-right: 30px;
	border-right: 2px solid var(--borderColor);
}

.oferta-wynagrodzenie,
.oferta-wyjazd,
.oferta-dlugosc {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding-right: 30px;
	padding-left: 30px;
	flex-basis: 15%;
	border-right: 2px solid var(--borderColor);
}

.oferta-szczegoly {
	flex-basis: 22%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.oferta-pracy .btn {
	text-align: center;
	justify-content: center;
	flex-shrink: 0;
	width: calc(100% - 30px);
}



/*
			F O O T E R
*/

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

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


footer {
	padding: var(--sectionPadding) 0 40px;
	background-color: var(--primary);
	color: black;
}

footer hr {
	opacity: .2;
	background-color: black;
	margin: var(--sectionPadding) 0 40px;
}

footer h5 {
	margin-top: 0;
}

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

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

footer a {
	color: black;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}


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%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 2px solid var(--borderColor);
}

footer ::placeholder {
	opacity: 1;
	color: black;
	transition: all .3s;
}

footer :focus::placeholder {
	opacity: .2;
}

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

textarea {
	height: 11.6rem;
}

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


footer .flex.col {
	margin-bottom: 15px;
}

footer input,
footer textarea {
	background-color: transparent;
	border: 0;
	border-bottom: 1px solid hsl(0, 0%, 0%, .2);
}

footer label[for="zgoda"],
footer label[for="zgoda"] p {
	margin-top: 0;
}

footer label[for="zgoda"] p,
footer label[for="zgoda"] li {
	line-height: 1.4;
	font-size: 0.75rem;
	margin-bottom: 1em;
}

footer label[for="zgoda"] li {
	list-style: disc;
	margin-left: 1.5em;
}

footer label[for="zgoda"] li::marker {color: black;}

.error-msg {font-size: 0.75rem;}



form select {
	-webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   position: relative;
   padding-top: .9em;
   padding-bottom: .9em;
   background: white url(/assets/img/drop.svg) right 1em center no-repeat;
}





/*
			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 (min-width: 1024px) and (max-height: 786px) {
	.navbar-logo-image {
		height: 40px;
	}

	.header-top .md\:w-6-12 {
		width: 37%;
		max-width: 37%;
		flex-basis: 37%;
	}

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

	header .bg-white {
		border-radius: 50px 0;
		padding: 30px;
	}

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

	header input,
	header select {
		padding: .6rem;
	}

	header label[for="zgoda"] {
		font-size: .65rem;
		line-height: 1.3;
	}

	header .btn.inverted {
		padding: 1.3em 3em;
	}

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

	.header-top .mb-60 {margin-bottom: 30px;}

	header h1 span, header p {
		padding: 7px 15px;
		border-radius: 12px;
	}
}


@media screen and (min-width: 1200px) and (max-height: 786px) {
	.header-top .md\:w-6-12 {
		width: 40%;
		max-width: 40%;
		flex-basis: 40%;
	}

	.header-top .md\:w-5-12 {
		width: 57%;
		max-width: 57%;
		flex-basis: 57%;
	}

	header .bg-white {
		border-radius: 50px 0;
		padding: 30px;
	}

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

@media screen and (min-width: 1200px) and (max-height: 705px) {
	header input,
	header select {
		padding: .6rem;
	}

	header label[for="zgoda"] {
		font-size: .65rem;
		line-height: 1.3;
	}

	header .btn.inverted {
		padding: 1.3em 3em;
	}

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

	.header-top .mb-60 {margin-bottom: 30px;}

	.navbar-logo-image {
		height: 40px;
	}
}


@media screen and (max-width: 1020px) {
	.contact-bar {display: none;}
	.navbar .mt-25 {margin-top: 0;}
	.navbar-logo-image {height: 40px;}

	header {
		height: 1050px;
	}

	header .swiper-container {
		width: 100%;
		height: 100%;
	}

	header .swiper-slide img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.header-top {
		padding: 150px 0;
	}

	.header-top .md\:w-6-12 {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.header-top h1 {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	header .bg-white {
		border-radius: 50px 0;
	}


	#zaufaj .md\:w-4-12 {margin-bottom: 50px;}

	#kroki h4 {font-size: var(--h5);}



	.oferta-pracy {flex-wrap: wrap;}

	.oferta-nazwa {
		flex-basis: 100%;
		padding-right: 0;
		min-width: 100%;
		border-right: 0;
		margin-bottom: 30px;
	}

	.oferta-nazwa .muted {display: none;}

	.oferta-wynagrodzenie, .oferta-wyjazd, .oferta-dlugosc {
		padding-right: 0;
		padding-left: 30px;
		flex-basis: auto;
		flex-grow: 1;
		width: auto;
		flex-shrink: 1;
	}

	.oferta-wynagrodzenie {padding-left: 0;}

	.oferta-dlugosc {border-right: 0;}

	footer .md\:w-8-12 {margin-top: 50px;}

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

	footer .md\:w-3-12 {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		display: flex;
	}

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

	footer a.flex img {
		margin-right: 0;
		margin-bottom: 10px;
	}

	footer h5, footer p:not(label p) {text-align: center;}

	header {
		border-radius: 1rem 3.125rem;
	}

	.navbar {
		border-radius: 1rem 3.125rem 0 0;
	}

	header .bg-white {border-radius: 50px;}

	[class*="md:w"]:not([class*="sm:w"]) {
		padding-left: 0;
		padding-right: 0;
	}
}


@media screen and (max-width: 760px) {
	header {
		height: 950px;
	}

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

	header .bg-white {
		border-radius: 2rem;
		padding: 30px;
	}

	.kroki.flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 50px;
	}

	.krok img.mb-30 {margin-bottom: 10px;}

	.oferta-pracy .btn {
		width: 100%;
	}

	.oferta-szczegoly {
		flex-basis: 100%;
		justify-content: center;
		margin-top: 30px;
	}
}



@media screen and (max-width: 590px) {
	:root {
		--sectionPadding: 50px !important;
	}
	.header-top h1 {font-size: var(--h3);}
	.header-top h3 {font-size: var(--h4);}

	.header-top p {
		text-align: center;
	}

	#zaufaj-title {margin-bottom: 30px;}

	.bg-light.p-60 {
		padding: 30px;
	}

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

	.oferta-wynagrodzenie, .oferta-wyjazd, .oferta-dlugosc {
		padding-right: 0;
		padding-left: 0;
		flex-basis: 100%;
		width: 100%;
		border: 0;
		border-top: 1px solid var(--borderColor);
		flex-direction: row-reverse;
		justify-content: space-between;
		align-items: center;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.oferta-dlugosc {
		border-bottom: 1px solid var(--borderColor);
	}
}


@media screen and (max-width: 460px) {
	.header-top p.mb-60 {margin-bottom: 30px;}

	.btn-xl {
		padding: 2.2em 4em;
		width: 100%;
		text-align: center;
		justify-content: center;
	}
}

@media screen and (max-width: 410px) {
	header .bg-white {
		border-radius: 1rem;
		padding: 15px;
	}

	.header-top h3 {
		text-align: center;
	}

	header label[for="zgoda"] {
		font-size: .6rem;
		line-height: 1.2;
	}

	.header-top {
		padding: 120px 0;
	}

	header {
		height: 855px;
	}

	header {
		border-radius: 1rem;
	}

	.navbar {
		border-radius: 1rem 1rem 0 0;
	}

	.affix {border-radius: 0;}


	footer form .flex.justify-between {
		flex-direction: column;
		align-items: flex-end;
	}
	footer form .flex.col.pr-30 {padding-right: 0;}


}