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

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

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

.btn {
	padding: 1.5em 3em;
	color: black;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: bold;
	font-size: 0.75rem;
	line-height: 1;
	transform: skewX(-10deg);
	border-radius: .5rem;
	position: relative;
	overflow: hidden;
	transition: all .2s;
}

.btn:hover {
	background-color: var(--primaryLight);
}

/* .btn:hover {
	transform: skewX(-10deg) translateX(-3px) translateY(-3px);
	box-shadow: 3px 3px 0 var(--secondary);
} */

.btn > * {transform: skewX(10deg);}

.btn.no-skew {transform: none; border-radius: 0;}

.lead {
	font-weight: 300;
}

/*
			N A V B A R
*/

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

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

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

.navbar-logo a:last-of-type .navbar-logo-image {
	height: 72px;
}

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

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

.affix .navbar-logo-image {height: 35px !important;}




/*
			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: 1.1875rem;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 5px 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
}

.affix .navbar-nav > li > a {font-size: 1rem;}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: -105%;
	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(--secondary);
}

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

.navbar-nav > li:last-of-type > ul {
	left: auto;
	right: 0;
}

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

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

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

.mobile-nav a {
	display: block;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 700;
	color: var(--secondary);
	box-sizing: border-box;
	padding: 10px 15px;
	border-bottom: 1px solid hsla(0, 0%, 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: var(--secondary);
}







/*
			H E A D E R
*/

.home header {
	height: 100vh;
	min-height: 950px;
	overflow: hidden;
	position: relative;
	background: url(/assets/img/headbg.png) 0 0 no-repeat;
}

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

header .swiper-slide .container {
	display: flex;
	align-items: center;
	padding-top: 60px;
}

header img {
	position: absolute;
	right: 0;
	z-index: -1;
}

.slogan {
	width: calc(100% * 4/12);
}

.h1 {
	line-height: 1.1;
	font-weight: var(--titleWeight);
}

p .btn {margin-top: 0.5em;}

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




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

#boxes .box {
	flex: 1;
	color: white;
	cursor: pointer;
}

.box h5 {font-size: 0.875rem;}

.box img.relative {
	transition: transform 3s ease;
}

.box:hover img.relative {
	transform: scale(1.1);
}

#sped .sm\:w-6-12:nth-child(n + 3) {
	margin-top: 60px;
}

.title.flex a {
	display: block;
	color: black;
	font-weight: bold;
	border-bottom: 2px solid #000;
	transition: all .3s;
}

.title.flex a:hover {
	border-bottom-color: var(--primary);
}


#news .md\:w-4-12:nth-child(n+4)  {
	margin-top: 60px;
}

.card {cursor: pointer;}

.card-image {
	overflow: hidden;
	display: block;
	width: 100%;
}

.card-image img {
	transition: transform .6s var(--ease);
}

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

.card-body {margin-top: 1rem;}

.card-title {margin: 5px 0 0;}

.card-title--link {
	color: black;
	transition: color .3s;
}

.card:hover .card-title--link {color: var(--secondary);}


#zaufali .slider {
	overflow: hidden;
}

#zaufali .slider img {
	max-width: 100%;
	max-height: 80px;
	object-fit: contain;
}

#zaufali h6 {
	padding-top: 30px;
	padding-bottom: 30px;
	margin-right: 30px;
	border-right: 1px solid var(--borderColor);
}


/*
			F O O T E R
*/

footer p {line-height: 1.5;}

footer select {
	border: 0;
}

.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 .md\:w-3-12 p {
	font-weight: 200;
	font-size: 1.125rem;
}

footer hr {
	opacity: .2;
	background-color: #fff;
	margin: 80px 0;
}

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

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

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

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

footer span {line-height: 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;
}

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

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

label li {
	margin-bottom: 0.5em;
}

input,select,textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 2px solid var(--borderColor);
}

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

textarea {
	height: 15rem;
}

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

#zaufali .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100px;
}

#zaufali .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}



/*
			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 (min-width: 1200px) {
	.slogan-title {
		text-shadow: 0 0 2px white, 0 0 2px white, 0 0 2px white, 0 0 2px white;
	}
}

@media screen and (max-width: 1600px) {
	:root {
		--navMargin: 30px !important
	}
}


@media screen and (max-width: 1536px) {
	header .swiper-slide img {
		max-width: 80vw;
	}

	.home header {
		height: 100vh;
		min-height: 880px;
	}
}

@media screen and (max-width: 1440px) {
	.navbar-nav > li > a {
		font-size: 1.1rem;
	}

	.home header {
		min-height: 850px;
	}
}



@media screen and (max-width: 1360px) {
	:root {
		--navMargin: 20px !important
	}

	.navbar-logo-image.ml-30 {margin-left: 15px;}

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

	.navbar-logo a:last-of-type .navbar-logo-image {
		height: 60px;
	}

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

	.home header {
		min-height: 800px;
	}
}


@media screen and (max-width: 1280px) {
	.home header {
		min-height: 750px;
	}
}

@media screen and (max-width: 1199px) {
	:root {
		--navMargin: 17px !important
	}

	.navbar-logo-image.ml-30 {margin-left: 10px;}

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

	.navbar-logo a:last-of-type .navbar-logo-image {
		height: 50px;
	}

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

	.nav-dropdown > a::after {display: none;}

	.home header {
		min-height: 480px;
		max-height: 480px;
	}

	.slogan {
		width: calc(100% * 5.5/12);
	}

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

	.slogan .lead {font-size: 1rem;}

	.home header .swiper-slide img {max-width: 55vw;}

	.box .md\:p-60 {
		padding: 30px;
	}

	.box h5 {
		margin-top: 10px;
	}

	.box p {
		line-height: 1.3;
		font-size: .75rem;
	}

	footer .md\:w-3-12 p {
		font-weight: 200;
		font-size: 1rem;
	}

	footer span {
		font-size: .75rem;
	}
}



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

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

	.mobile-menu-toggler > div {background-color: var(--secondary);}

	.slogan {
		width: calc(100% * 5/12);
	}

	#sped img.max-w-full {
		margin: 60px auto 0;
	}

	#news .md\:w-4-12 + .md\:w-4-12 {margin-top: 60px;}

	.card-image img {
		width: 100%;
		height: 250px;
		object-fit: cover;
	}

	#zaufali h6 {
		padding-top: 0;
		padding-bottom: 30px;
		margin-right: 0;
		border-right: 0;
		text-align: center;
	}

	footer {
		text-align: center;
	}

	footer .md\:w-3-12 + .md\:w-3-12 {margin-top: 60px;}

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

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

	footer .md\:w-6-12 {
		margin: 30px 0;
	}

	footer .mr-50 {
		margin-right: 0;
		margin-bottom: 15px !important;
	}
}



@media screen and (max-width: 970px) {
	.home header .swiper-slide img {
		max-width: 55vw;
		height: 355px;
		object-fit: cover;
		object-position: left;
	}

	#boxes .items-stretch {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}


	.box img.relative {
		width: 100%;
		height: 330px;
		object-fit: cover;
	}

	#boxes .box {
		flex: auto;
		width: 100%;
	}

	#boxes .absolute {
		align-items: center;
	}
}


@media screen and (max-width: 760px) {
	.home header {
		min-height: 480px;
		max-height: 1000px;
	}

	header .swiper-slide .container {
		align-items: center;
		flex-direction: column;
		justify-content: center;
	}

	.slogan {
		width: 100%;
		text-align: center;
	}

	.home header .swiper-slide img {
		max-width: 100%;
		height: auto;
		object-fit: cover;
		object-position: center;
		position: relative;
		margin-top: 30px;
		border-radius: 50%;
		aspect-ratio: 1;
		width: 90%;
	}
}



@media screen and (max-width: 639px) {
	#sped .sm\:w-6-12 + .sm\:w-6-12 {
		margin-top: 60px;
	}
}


@media screen and (max-width: 400px) {
	#news h2 {margin-bottom: 15px;}

	.navbar-logo a:last-of-type .navbar-logo-image,
	.navbar-logo-image {
		height: 38px;
	}

	.langs .ml-15 {margin-left: 10px;}
}