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

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

b, strong {font-weight: var(--boldWeight)}

.ue-baner {
	bottom: 130px;
	right: -15px;
}

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


.btn {
	padding: 1.5em 2em;
	background-color: transparent;
	position: relative;
	z-index: 10;
	overflow: hidden;
}

.btn::after,
.btn::before {
	content:'';
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	transition: .4s var(--ease);
}

.btn::after {
	background-color: var(--primary);
	left: 0;
	right: 0;
	z-index: -2;
}

.btn::before {
	background-color: var(--primaryDark);
	left: -30px;
	right: 103%;
	transform: skewX(-5deg);
	z-index: -1;
}

.btn:hover::before {
	right: -30px;
}

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


.fast {animation-duration: .2s;}
.normal {animation-duration: .3s;}
.slow {animation-duration: 1s;}
.slower {animation-duration: 2s;}
.super-slow {animation-duration: 4s;}

.delay-1 {animation-delay: .1s;}
.delay-2 {animation-delay: .2s;}
.delay-3 {animation-delay: .3s;}
.delay-4 {animation-delay: .4s;}
.delay-5 {animation-delay: .5s;}


/*
			N A V B A R
*/

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

.affix {
	background-color: hsl(0, 0%, 0%, .85);
	backdrop-filter: blur(3px);
}

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

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

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

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




/*
			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%, 100%);
	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: -101%;
	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: white;
}

.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;
	line-height: 1.3;
	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: white;
	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
*/

.home header {
	height: 100vh;
	background: url(/assets/img/head.jpg) right 100px bottom 100px no-repeat;
	background-size: cover;
}

.slogan {
	color: white;
}

.slogan h1 {
	color: white;
	margin-top: 0;
}

.slogan .lead {
	letter-spacing: 5px;
}

.scroll-for-more {
	position: absolute;
	bottom: 35px;
	text-decoration: none;
	color: black;
	z-index: 20;
}

.scroll {
	animation: updown 3s linear infinite forwards;
}

@keyframes updown {
	0% {transform: translateY(0);}
	25% {transform: translateY(-3px);}
	50% {transform: translateY(0);}
	75% {transform: translateY(3px);}
	100% {transform: translateY(0);}
}





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

body {
	background-color: white;
}

body::after {
	content:'';
	display: block;
	width: 50vw;
	height: 1595px;
	background-color: var(--secondary);
	z-index:-1;
	position: absolute;
	right: 0;
	top: 0;
}


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

.card-image img {
	transition: all var(--normalSpeed) var(--ease);
}

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

.card-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

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

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

.card-more {margin-top: 1.3rem;}




/*
			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 .copy {
	font-family: var(--fontTitle);
}

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

footer a:hover {
	opacity: .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: 1500px) {
	.home header {
		background-position: right top;
	}

	.scroll-for-more {
		filter: invert(1);
	}

	#o-nas {
		padding-top: var(--sectionPadding);
	}

	body::after {
		height: 1420px;
	}
}


@media screen and (max-width: 1280px) {
	body::after {
		height: 1310px;
	}

	header {
		position: relative;
		z-index: 20;
	}

	header::after {
		content: '';
		display: block;
		position: absolute;
		z-index: -1;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		background-color: hsl(0, 0%, 0%, .5)
	}
}


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

	.navbar .btn {margin-left: 30px; padding: 1.2em 1.3em;}

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

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

	body::after {
		height: 1250px;
	}

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


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

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

	.slogan {
		width: 100%;
		margin-top: 100px;
	}

	.scroll-for-more {display: none;}

	body::after {display: none;}

	#o-nas img {margin-top: 100px;}

	#o-nas {
		padding-bottom: 0;
	}

	#oferta .card {margin-bottom: 50px;}

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

	.navbar .btn {display: none;}
}


@media screen and (max-width:720px) {
	.navbar .btn {
		padding: 1em 1.3em;
		margin-left: 0;
		font-size: 0.875rem;
	}

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

@media screen and (max-width: 620px) {
	[class*="sm:w-"] {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media screen and (max-width: 590px) {
	.slogan h1 {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

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

@media screen and (max-width: 425px) {
	.copy {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.copy span {
		margin-left: 0;
		margin-top: 15px;
	}

	#o-nas img {margin-top: 50px;}
}