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

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

[x-cloak] {
	display: none !important;
}

.floating-widgets img {width: 45px;}

a {text-decoration: none;}

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

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

.container-lg {
	width: 1720px;
	max-width: 98%;
	margin: 0 auto;
}

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

body {
	font-weight: 300;
	font-size: 18px;
	font-variant-ligatures: none;
}

.btn {
	padding: 1.4em 2em;
	background-color: black;
	color: white;
	font-weight: 300;
	font-size: 1rem;
}

.invert.shadow {
	box-shadow: 0 10px 30px hsl(0 0% 100% / .1);
}

.btn.invert:hover, .btn.invert:focus {
	box-shadow: 0 10px 30px hsl(0 0% 100% / .1);
	background-color: hsl(0 0% 10%);
}

.btn + .btn {margin-left: 1rem;}

h1 small,
h2 small,
h3 small {
	color: var(--textLight);
	font-size: 1rem;
	font-weight: 300;
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	gap: .5rem;
}


h1 small::before,
h2 small::before,
h3 small::before {
	content:'';
	display: block;
	width: 20px;
	height: 1px;
	background-color: var(--primary);
}


/*
			N A V B A R
*/

.navbar {
	background-color: #fff;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 999;
	margin-bottom: 30px;
	transition: all .3s;
	will-change: auto;
}

.affix {
	box-shadow: 0 0 30px hsl(0 0% 0% /.1);
}

.navbar .container-lg {
	border-bottom: 1px solid black;
	transition: all .3s;
	will-change: auto;
}

.affix .container-lg {border-bottom: 0;}

.navbar-logo {
	margin: 25px 0;
	transition: all .3s;
	will-change: auto;
}

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

.navbar-logo-image {
	height: 80.3px;
	display: block;
	transition: all .3s;
	will-change: auto;
}

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


/*
			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%, 11%);
	font-size: 0.875rem;
	text-transform: uppercase;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
	letter-spacing: .1em;
}
/*
.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: 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;
	line-height: 1.3;
	transition: all .3s var(--ease);
}

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

.navbar-nav ul a::before {
	content: '>';
	font-family: monospace;
	font-weight: var(--titleWeight);
	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%, .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
*/


.slide-title {
	background-color: var(--primary);
	color: white;
	font-size: var(--h2);
	padding: 0 1.5em;
	font-weight: var(--titleWeight);
	display: flex;
	align-items: center;
}

.slide-description {
	color: white;
	display: flex;
	height: 220px;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1/1;
	background-color: hsl(0 0% 0% /.8);
	backdrop-filter: blur(2px);
	padding-left: 30px;
	padding-right: 30px;
	line-height: 1.3;
}






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


#info h4 {
	margin-top: 30px;
	margin-bottom: 0;
}

cite {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-style: normal;
}

cite small {color: var(--textLight);}

footer form {
	margin-top: 30px;
	width: 100%;
}

footer input {
	border: 0;
	padding: .5em 1em;
	flex-grow: 1;
}

footer button {
	background-color: var(--primary) !important;
}

footer button:hover {
	background-color: var(--primaryLight) !important;
}

footer button:focus {
	background-color: var(--primaryDark) !important;
}




/*
			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: ;
	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: opacity .2s;
}

footer a:hover {
	opacity: .8;
}


.fadeIn--ready {opacity: 0;}
.fadeIn {
	animation: fadeIn 400ms linear 1 forwards;
}



/*
			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 fadeIn {
	from {opacity: 0;}
	to {opacity: 1;}
}




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

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


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

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

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

	.slide-title {font-size: var(--h3);}
	.slide-description {height: 200px;}

	.copy {font-size: .75rem;}
}


@media screen and (max-width: 1022px) {
	body {
		width: 100%;
		overflow-x: hidden;
	}

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

	.md\:row:not(.sm\:row) {
		margin-left: 0;
		margin-right: 0;
	}

	.container-lg {max-width: 96%;}

	section img.max-w-full {
		margin: 0 auto 30px;
	}

	#firma {
		text-align: center;
	}

	#firma h1 {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	h1 small, h2 small, h3 small {
		flex-direction: column-reverse;
		align-items: center;
		justify-content: center;
	}

	#firma h1 strong {
		line-height: 1;
	}

	#info div {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	footer {
		text-align: center;
	}

	footer .md\:w-2-12 {
		display: flex;
		justify-content: center;
	}

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



@media screen and (max-width: 970px) {
	header .swiper-slide {
		display: flex;
		flex-direction: column;
	}

	header .swiper-slide .absolute {
		inset: auto;
		position: relative;
		width: 100%;
		order: 2;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	}

	.slide-title {
		padding: 15px;
		text-align: center;
		justify-content: center;
		line-height: 1.1;
	}

	.slide-description {
		height: auto;
		padding: 30px;
		aspect-ratio: auto;
		text-align: center;
	}
}



@media screen and (max-width: 590px) {
	blockquote {
		padding: 0;
		margin: 0;
	}

	blockquote .lead {
		font-size: 1.1rem;
	}
}


@media screen and (max-width: 420px) {
	.container-lg {max-width: 94%;}

	.slide-title {font-size: var(--h4);}

	.btn + .btn {
		margin-left: 0;
		margin-top: 1rem;
	}

	footer form .btn {
		padding-left: 1em;
		padding-right: 1em;
	}

	footer form input {
		padding: 0.5em;
	}
}